; LLVM IR from Izaron/ACM-ICPC :: Google Code Jam/2017/Round 1B/stable_neighbors.ll (Z3subv)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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::allocator" = type { i8 }

@fir = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@as = external dso_local global i32, align 4
@bs = external dso_local global i32, align 4
@cs = external dso_local global i32, align 4
@os = external dso_local global i32, align 4
@gs = external dso_local global i32, align 4
@vs = external dso_local global i32, align 4
@glob = external dso_local global i32, align 4
@_Z3lalB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z2dpiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5vosstiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3subv() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca i1, align 1
  %14 = alloca i1, align 1
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef @.str.4)
  %16 = load i32, ptr @glob, align 4, !tbaa !5
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr @glob, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) @as)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) @os)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) @bs)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @gs)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) @cs)
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(4) @vs)
  %25 = load i32, ptr @os, align 4, !tbaa !5
  %26 = load i32, ptr @cs, align 4, !tbaa !5
  %27 = sub nsw i32 %26, %25
  store i32 %27, ptr @cs, align 4, !tbaa !5
  %28 = load i32, ptr @gs, align 4, !tbaa !5
  %29 = load i32, ptr @as, align 4, !tbaa !5
  %30 = sub nsw i32 %29, %28
  store i32 %30, ptr @as, align 4, !tbaa !5
  %31 = load i32, ptr @vs, align 4, !tbaa !5
  %32 = load i32, ptr @bs, align 4, !tbaa !5
  %33 = sub nsw i32 %32, %31
  store i32 %33, ptr @bs, align 4, !tbaa !5
  store i32 -1, ptr @fir, align 4, !tbaa !5
  %34 = load i32, ptr @as, align 4, !tbaa !5
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %0
  %37 = load i32, ptr @as, align 4, !tbaa !5
  %38 = add nsw i32 %37, -1
  store i32 %38, ptr @as, align 4, !tbaa !5
  store i32 0, ptr @fir, align 4, !tbaa !5
  br label %53

39:                                               ; preds = %0
  %40 = load i32, ptr @bs, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %45

42:                                               ; preds = %39
  %43 = load i32, ptr @bs, align 4, !tbaa !5
  %44 = add nsw i32 %43, -1
  store i32 %44, ptr @bs, align 4, !tbaa !5
  store i32 1, ptr @fir, align 4, !tbaa !5
  br label %52

45:                                               ; preds = %39
  %46 = load i32, ptr @cs, align 4, !tbaa !5
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %48, label %51

48:                                               ; preds = %45
  %49 = load i32, ptr @cs, align 4, !tbaa !5
  %50 = add nsw i32 %49, -1
  store i32 %50, ptr @cs, align 4, !tbaa !5
  store i32 2, ptr @fir, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %48, %45
  br label %52

52:                                               ; preds = %51, %42
  br label %53

53:                                               ; preds = %52, %36
  %54 = load i32, ptr @fir, align 4, !tbaa !5
  %55 = icmp eq i32 %54, -1
  br i1 %55, label %56, label %131

56:                                               ; preds = %53
  %57 = load i32, ptr @n, align 4, !tbaa !5
  %58 = srem i32 %57, 2
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %128

60:                                               ; preds = %56
  %61 = load i32, ptr @as, align 4, !tbaa !5
  %62 = icmp eq i32 %61, 0
  br i1 %62, label %63, label %81

63:                                               ; preds = %60
  %64 = load i32, ptr @gs, align 4, !tbaa !5
  %65 = load i32, ptr @n, align 4, !tbaa !5
  %66 = sdiv i32 %65, 2
  %67 = icmp eq i32 %64, %66
  br i1 %67, label %68, label %81

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %77, %68
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = load i32, ptr @n, align 4, !tbaa !5
  %72 = sdiv i32 %71, 2
  %73 = icmp slt i32 %70, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %80

75:                                               ; preds = %69
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  br label %77

77:                                               ; preds = %75
  %78 = load i32, ptr %2, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %2, align 4, !tbaa !5
  br label %69, !llvm.loop !9

80:                                               ; preds = %74
  br label %127

81:                                               ; preds = %63, %60
  %82 = load i32, ptr @bs, align 4, !tbaa !5
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %102

84:                                               ; preds = %81
  %85 = load i32, ptr @vs, align 4, !tbaa !5
  %86 = load i32, ptr @n, align 4, !tbaa !5
  %87 = sdiv i32 %86, 2
  %88 = icmp eq i32 %85, %87
  br i1 %88, label %89, label %102

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %98, %89
  %91 = load i32, ptr %3, align 4, !tbaa !5
  %92 = load i32, ptr @n, align 4, !tbaa !5
  %93 = sdiv i32 %92, 2
  %94 = icmp slt i32 %91, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %101

96:                                               ; preds = %90
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  br label %98

98:                                               ; preds = %96
  %99 = load i32, ptr %3, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %3, align 4, !tbaa !5
  br label %90, !llvm.loop !11

101:                                              ; preds = %95
  br label %126

102:                                              ; preds = %84, %81
  %103 = load i32, ptr @cs, align 4, !tbaa !5
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %123

105:                                              ; preds = %102
  %106 = load i32, ptr @os, align 4, !tbaa !5
  %107 = load i32, ptr @n, align 4, !tbaa !5
  %108 = sdiv i32 %107, 2
  %109 = icmp eq i32 %106, %108
  br i1 %109, label %110, label %123

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %119, %110
  %112 = load i32, ptr %4, align 4, !tbaa !5
  %113 = load i32, ptr @n, align 4, !tbaa !5
  %114 = sdiv i32 %113, 2
  %115 = icmp slt i32 %112, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %122

117:                                              ; preds = %111
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  br label %119

119:                                              ; preds = %117
  %120 = load i32, ptr %4, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %4, align 4, !tbaa !5
  br label %111, !llvm.loop !12

122:                                              ; preds = %116
  br label %125

123:                                              ; preds = %105, %102
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  br label %125

125:                                              ; preds = %123, %122
  br label %126

126:                                              ; preds = %125, %101
  br label %127

127:                                              ; preds = %126, %80
  br label %130

128:                                              ; preds = %56
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  br label %130

130:                                              ; preds = %128, %127
  store i32 1, ptr %5, align 4
  br label %281

131:                                              ; preds = %53
  %132 = load i32, ptr @fir, align 4, !tbaa !5
  %133 = load i32, ptr @as, align 4, !tbaa !5
  %134 = load i32, ptr @bs, align 4, !tbaa !5
  %135 = load i32, ptr @cs, align 4, !tbaa !5
  %136 = call noundef zeroext i1 @_Z2dpiiii(i32 noundef %132, i32 noundef %133, i32 noundef %134, i32 noundef %135)
  br i1 %136, label %139, label %137

137:                                              ; preds = %131
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  br label %280

139:                                              ; preds = %131
  %140 = load i32, ptr @fir, align 4, !tbaa !5
  %141 = icmp eq i32 %140, 0
  br i1 %141, label %142, label %144

142:                                              ; preds = %139
  %143 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef @.str)
  br label %152

144:                                              ; preds = %139
  %145 = load i32, ptr @fir, align 4, !tbaa !5
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %149

147:                                              ; preds = %144
  %148 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef @.str.2)
  br label %151

149:                                              ; preds = %144
  %150 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef @.str.3)
  br label %151

151:                                              ; preds = %149, %147
  br label %152

152:                                              ; preds = %151, %142
  %153 = load i32, ptr @fir, align 4, !tbaa !5
  %154 = load i32, ptr @as, align 4, !tbaa !5
  %155 = load i32, ptr @bs, align 4, !tbaa !5
  %156 = load i32, ptr @cs, align 4, !tbaa !5
  call void @_Z5vosstiiii(i32 noundef %153, i32 noundef %154, i32 noundef %155, i32 noundef %156)
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %157 unwind label %164

157:                                              ; preds = %152
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %237, %157
  %159 = load i32, ptr %10, align 4, !tbaa !5
  %160 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11) #5
  %161 = trunc i64 %160 to i32
  %162 = icmp slt i32 %159, %161
  br i1 %162, label %168, label %163

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

164:                                              ; preds = %152
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  br label %279

168:                                              ; preds = %158
  %169 = load i32, ptr %10, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %170)
          to label %172 unwind label %194

172:                                              ; preds = %168
  %173 = load i8, ptr %171, align 1, !tbaa !13
  %174 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef signext %173)
          to label %175 unwind label %194

175:                                              ; preds = %172
  br label %176

176:                                              ; preds = %191, %175
  %177 = load i32, ptr %10, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %178)
          to label %180 unwind label %194

180:                                              ; preds = %176
  %181 = load i8, ptr %179, align 1, !tbaa !13
  %182 = sext i8 %181 to i32
  %183 = icmp eq i32 %182, 66
  br i1 %183, label %184, label %187

184:                                              ; preds = %180
  %185 = load i32, ptr @os, align 4, !tbaa !5
  %186 = icmp sgt i32 %185, 0
  br label %187

187:                                              ; preds = %184, %180
  %188 = phi i1 [ false, %180 ], [ %186, %184 ]
  br i1 %188, label %189, label %198

189:                                              ; preds = %187
  %190 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.9)
          to label %191 unwind label %194

191:                                              ; preds = %189
  %192 = load i32, ptr @os, align 4, !tbaa !5
  %193 = add nsw i32 %192, -1
  store i32 %193, ptr @os, align 4, !tbaa !5
  br label %176, !llvm.loop !14

194:                                              ; preds = %231, %218, %212, %199, %189, %176, %172, %168
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %8, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %278

198:                                              ; preds = %187
  br label %199

199:                                              ; preds = %214, %198
  %200 = load i32, ptr %10, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %201)
          to label %203 unwind label %194

203:                                              ; preds = %199
  %204 = load i8, ptr %202, align 1, !tbaa !13
  %205 = sext i8 %204 to i32
  %206 = icmp eq i32 %205, 82
  br i1 %206, label %207, label %210

207:                                              ; preds = %203
  %208 = load i32, ptr @gs, align 4, !tbaa !5
  %209 = icmp sgt i32 %208, 0
  br label %210

210:                                              ; preds = %207, %203
  %211 = phi i1 [ false, %203 ], [ %209, %207 ]
  br i1 %211, label %212, label %217

212:                                              ; preds = %210
  %213 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.10)
          to label %214 unwind label %194

214:                                              ; preds = %212
  %215 = load i32, ptr @gs, align 4, !tbaa !5
  %216 = add nsw i32 %215, -1
  store i32 %216, ptr @gs, align 4, !tbaa !5
  br label %199, !llvm.loop !15

217:                                              ; preds = %210
  br label %218

218:                                              ; preds = %233, %217
  %219 = load i32, ptr %10, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %220)
          to label %222 unwind label %194

222:                                              ; preds = %218
  %223 = load i8, ptr %221, align 1, !tbaa !13
  %224 = sext i8 %223 to i32
  %225 = icmp eq i32 %224, 89
  br i1 %225, label %226, label %229

226:                                              ; preds = %222
  %227 = load i32, ptr @vs, align 4, !tbaa !5
  %228 = icmp sgt i32 %227, 0
  br label %229

229:                                              ; preds = %226, %222
  %230 = phi i1 [ false, %222 ], [ %228, %226 ]
  br i1 %230, label %231, label %236

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.11)
          to label %233 unwind label %194

233:                                              ; preds = %231
  %234 = load i32, ptr @vs, align 4, !tbaa !5
  %235 = add nsw i32 %234, -1
  store i32 %235, ptr @vs, align 4, !tbaa !5
  br label %218, !llvm.loop !16

236:                                              ; preds = %229
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %10, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %10, align 4, !tbaa !5
  br label %158, !llvm.loop !17

240:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  %241 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  %242 = load i32, ptr @n, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = icmp eq i64 %241, %243
  store i1 false, ptr %13, align 1
  store i1 false, ptr %14, align 1
  br i1 %244, label %245, label %247

245:                                              ; preds = %240
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %246 unwind label %258

246:                                              ; preds = %245
  br label %249

247:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  store i1 true, ptr %13, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  store i1 true, ptr %14, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %248 unwind label %262

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248, %246
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %251 unwind label %266

251:                                              ; preds = %249
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  %252 = load i1, ptr %14, align 1
  br i1 %252, label %253, label %254

253:                                              ; preds = %251
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  br label %254

254:                                              ; preds = %253, %251
  %255 = load i1, ptr %13, align 1
  br i1 %255, label %256, label %257

256:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %257

257:                                              ; preds = %256, %254
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  br label %280

258:                                              ; preds = %245
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %8, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %9, align 4
  br label %277

262:                                              ; preds = %247
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %8, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %9, align 4
  br label %270

266:                                              ; preds = %249
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %8, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %9, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %270

270:                                              ; preds = %266, %262
  %271 = load i1, ptr %14, align 1
  br i1 %271, label %272, label %273

272:                                              ; preds = %270
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  br label %273

273:                                              ; preds = %272, %270
  %274 = load i1, ptr %13, align 1
  br i1 %274, label %275, label %276

275:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %276

276:                                              ; preds = %275, %273
  br label %277

277:                                              ; preds = %276, %258
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  br label %278

278:                                              ; preds = %277, %194
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %279

279:                                              ; preds = %278, %164
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  br label %284

280:                                              ; preds = %257, %137
  store i32 0, ptr %5, align 4
  br label %281

281:                                              ; preds = %280, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  %282 = load i32, ptr %5, align 4
  switch i32 %282, label %289 [
    i32 0, label %283
    i32 1, label %283
  ]

283:                                              ; preds = %281, %281
  ret void

284:                                              ; preds = %279
  %285 = load ptr, ptr %8, align 8
  %286 = load i32, ptr %9, align 4
  %287 = insertvalue { ptr, i32 } poison, ptr %285, 0
  %288 = insertvalue { ptr, i32 } %287, i32 %286, 1
  resume { ptr, i32 } %288

289:                                              ; preds = %281
  unreachable
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #1 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

; 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) #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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::allocator" = type { i8 }

@fir = external dso_local local_unnamed_addr global i32, align 4
@n = external dso_local global i32, align 4
@as = external dso_local global i32, align 4
@bs = external dso_local global i32, align 4
@cs = external dso_local global i32, align 4
@os = external dso_local global i32, align 4
@gs = external dso_local global i32, align 4
@vs = external dso_local global i32, align 4
@glob = external dso_local local_unnamed_addr global i32, align 4
@_Z3lalB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z2dpiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5vosstiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3subv() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::allocator", align 1
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef nonnull @.str.4)
  %6 = load i32, ptr @glob, align 4, !tbaa !5
  %7 = add nsw i32 %6, 1
  store i32 %7, ptr @glob, align 4, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %9 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) @as)
  %10 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) @os)
  %11 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) @bs)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(4) @gs)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) @cs)
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) @vs)
  %15 = load i32, ptr @os, align 4, !tbaa !5
  %16 = load i32, ptr @cs, align 4, !tbaa !5
  %17 = sub nsw i32 %16, %15
  store i32 %17, ptr @cs, align 4, !tbaa !5
  %18 = load i32, ptr @gs, align 4, !tbaa !5
  %19 = load i32, ptr @as, align 4, !tbaa !5
  %20 = sub nsw i32 %19, %18
  store i32 %20, ptr @as, align 4, !tbaa !5
  %21 = load i32, ptr @vs, align 4, !tbaa !5
  %22 = load i32, ptr @bs, align 4, !tbaa !5
  %23 = sub nsw i32 %22, %21
  store i32 %23, ptr @bs, align 4, !tbaa !5
  store i32 -1, ptr @fir, align 4, !tbaa !5
  %24 = icmp sgt i32 %20, 0
  br i1 %24, label %25, label %27

25:                                               ; preds = %0
  %26 = add nsw i32 %20, -1
  store i32 %26, ptr @as, align 4, !tbaa !5
  br label %.thread

27:                                               ; preds = %0
  %28 = icmp sgt i32 %23, 0
  br i1 %28, label %29, label %31

29:                                               ; preds = %27
  %30 = add nsw i32 %23, -1
  store i32 %30, ptr @bs, align 4, !tbaa !5
  br label %.thread

31:                                               ; preds = %27
  %32 = icmp sgt i32 %17, 0
  br i1 %32, label %33, label %35

33:                                               ; preds = %31
  %34 = add nsw i32 %17, -1
  store i32 %34, ptr @cs, align 4, !tbaa !5
  br label %.thread

35:                                               ; preds = %31
  %36 = load i32, ptr @n, align 4, !tbaa !5
  %37 = and i32 %36, 1
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %69

39:                                               ; preds = %35
  %40 = icmp eq i32 %20, 0
  %41 = ashr exact i32 %36, 1
  %42 = icmp eq i32 %18, %41
  %or.cond = select i1 %40, i1 %42, i1 false
  br i1 %or.cond, label %.preheader57, label %49

.preheader57:                                     ; preds = %39
  %43 = icmp sgt i32 %36, 1
  br i1 %43, label %.lr.ph67, label %.loopexit58

.lr.ph67:                                         ; preds = %.preheader57, %.lr.ph67
  %.02866 = phi i32 [ %45, %.lr.ph67 ], [ 0, %.preheader57 ]
  %44 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %45 = add nuw nsw i32 %.02866, 1
  %46 = load i32, ptr @n, align 4, !tbaa !5
  %47 = sdiv i32 %46, 2
  %48 = icmp slt i32 %45, %47
  br i1 %48, label %.lr.ph67, label %.loopexit58, !llvm.loop !9

49:                                               ; preds = %39
  %50 = icmp eq i32 %23, 0
  %51 = icmp eq i32 %21, %41
  %or.cond47 = select i1 %50, i1 %51, i1 false
  br i1 %or.cond47, label %.preheader59, label %58

.preheader59:                                     ; preds = %49
  %52 = icmp sgt i32 %36, 1
  br i1 %52, label %.lr.ph65, label %.loopexit58

.lr.ph65:                                         ; preds = %.preheader59, %.lr.ph65
  %.02764 = phi i32 [ %54, %.lr.ph65 ], [ 0, %.preheader59 ]
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %54 = add nuw nsw i32 %.02764, 1
  %55 = load i32, ptr @n, align 4, !tbaa !5
  %56 = sdiv i32 %55, 2
  %57 = icmp slt i32 %54, %56
  br i1 %57, label %.lr.ph65, label %.loopexit58, !llvm.loop !11

58:                                               ; preds = %49
  %59 = icmp eq i32 %17, 0
  %60 = icmp eq i32 %15, %41
  %or.cond49 = select i1 %59, i1 %60, i1 false
  br i1 %or.cond49, label %.preheader61, label %67

.preheader61:                                     ; preds = %58
  %61 = icmp sgt i32 %36, 1
  br i1 %61, label %.lr.ph, label %.loopexit58

.lr.ph:                                           ; preds = %.preheader61, %.lr.ph
  %.02663 = phi i32 [ %63, %.lr.ph ], [ 0, %.preheader61 ]
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  %63 = add nuw nsw i32 %.02663, 1
  %64 = load i32, ptr @n, align 4, !tbaa !5
  %65 = sdiv i32 %64, 2
  %66 = icmp slt i32 %63, %65
  br i1 %66, label %.lr.ph, label %.loopexit58, !llvm.loop !12

67:                                               ; preds = %58
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  br label %.loopexit58

69:                                               ; preds = %35
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  br label %.loopexit58

.thread:                                          ; preds = %25, %33, %29
  %.sink = phi i32 [ 0, %25 ], [ 2, %33 ], [ 1, %29 ]
  %71 = phi i32 [ %17, %25 ], [ %34, %33 ], [ %17, %29 ]
  %72 = phi i32 [ %23, %25 ], [ %23, %33 ], [ %30, %29 ]
  %73 = phi i32 [ %26, %25 ], [ %20, %33 ], [ %20, %29 ]
  store i32 %.sink, ptr @fir, align 4, !tbaa !5
  %74 = tail call noundef zeroext i1 @_Z2dpiiii(i32 noundef %.sink, i32 noundef %73, i32 noundef %72, i32 noundef %71)
  br i1 %74, label %77, label %75

75:                                               ; preds = %.thread
  %76 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  br label %.loopexit58

77:                                               ; preds = %.thread
  %78 = load i32, ptr @fir, align 4, !tbaa !5
  %switch.selectcmp = icmp eq i32 %78, 1
  %switch.select = select i1 %switch.selectcmp, ptr @.str.2, ptr @.str.3
  %switch.selectcmp80 = icmp eq i32 %78, 0
  %switch.select81 = select i1 %switch.selectcmp80, ptr @.str, ptr %switch.select
  %79 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, ptr noundef nonnull %switch.select81)
  %80 = load i32, ptr @fir, align 4, !tbaa !5
  %81 = load i32, ptr @as, align 4, !tbaa !5
  %82 = load i32, ptr @bs, align 4, !tbaa !5
  %83 = load i32, ptr @cs, align 4, !tbaa !5
  tail call void @_Z5vosstiiii(i32 noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %83)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %84 unwind label %91

84:                                               ; preds = %77
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  %85 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11) #5
  %86 = trunc i64 %85 to i32
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.lr.ph73, label %._crit_edge74

._crit_edge74:                                    ; preds = %._crit_edge, %84
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  %88 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  %89 = load i32, ptr @n, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %.not = icmp eq i64 %88, %90
  br i1 %.not, label %147, label %148

91:                                               ; preds = %77
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #5
  br label %159

.lr.ph73:                                         ; preds = %84, %._crit_edge
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge ], [ 0, %84 ]
  %93 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %94 = load i8, ptr %93, align 1, !tbaa !13
  %95 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %94)
          to label %.preheader54 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader54:                                     ; preds = %.lr.ph73
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %97 = load i8, ptr %96, align 1, !tbaa !13
  %98 = icmp eq i8 %97, 66
  %99 = load i32, ptr @os, align 4
  %100 = icmp sgt i32 %99, 0
  %101 = select i1 %98, i1 %100, i1 false
  br i1 %101, label %.lr.ph68, label %.preheader50

.preheader50:                                     ; preds = %109, %.preheader54
  %102 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %103 = load i8, ptr %102, align 1, !tbaa !13
  %104 = icmp eq i8 %103, 82
  %105 = load i32, ptr @gs, align 4
  %106 = icmp sgt i32 %105, 0
  %107 = select i1 %104, i1 %106, i1 false
  br i1 %107, label %.lr.ph69, label %.preheader

.lr.ph68:                                         ; preds = %.preheader54, %109
  %108 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.9)
          to label %109 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

109:                                              ; preds = %.lr.ph68
  %110 = load i32, ptr @os, align 4, !tbaa !5
  %111 = add nsw i32 %110, -1
  store i32 %111, ptr @os, align 4, !tbaa !5
  %112 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %113 = load i8, ptr %112, align 1, !tbaa !13
  %114 = icmp eq i8 %113, 66
  %115 = load i32, ptr @os, align 4
  %116 = icmp sgt i32 %115, 0
  %117 = select i1 %114, i1 %116, i1 false
  br i1 %117, label %.lr.ph68, label %.preheader50, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph70
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %.lr.ph69
  %lpad.loopexit51 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.lr.ph68
  %lpad.loopexit55 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %.lr.ph73
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.preheader:                                       ; preds = %125, %.preheader50
  %118 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %119 = load i8, ptr %118, align 1, !tbaa !13
  %120 = icmp eq i8 %119, 89
  %121 = load i32, ptr @vs, align 4
  %122 = icmp sgt i32 %121, 0
  %123 = select i1 %120, i1 %122, i1 false
  br i1 %123, label %.lr.ph70, label %._crit_edge

.lr.ph69:                                         ; preds = %.preheader50, %125
  %124 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.10)
          to label %125 unwind label %.loopexit.split-lp.loopexit

125:                                              ; preds = %.lr.ph69
  %126 = load i32, ptr @gs, align 4, !tbaa !5
  %127 = add nsw i32 %126, -1
  store i32 %127, ptr @gs, align 4, !tbaa !5
  %128 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %129 = load i8, ptr %128, align 1, !tbaa !13
  %130 = icmp eq i8 %129, 82
  %131 = load i32, ptr @gs, align 4
  %132 = icmp sgt i32 %131, 0
  %133 = select i1 %130, i1 %132, i1 false
  br i1 %133, label %.lr.ph69, label %.preheader, !llvm.loop !15

.lr.ph70:                                         ; preds = %.preheader, %135
  %134 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.11)
          to label %135 unwind label %.loopexit

135:                                              ; preds = %.lr.ph70
  %136 = load i32, ptr @vs, align 4, !tbaa !5
  %137 = add nsw i32 %136, -1
  store i32 %137, ptr @vs, align 4, !tbaa !5
  %138 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11, i64 noundef %indvars.iv)
  %139 = load i8, ptr %138, align 1, !tbaa !13
  %140 = icmp eq i8 %139, 89
  %141 = load i32, ptr @vs, align 4
  %142 = icmp sgt i32 %141, 0
  %143 = select i1 %140, i1 %142, i1 false
  br i1 %143, label %.lr.ph70, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %135, %.preheader
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %144 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) @_Z3lalB5cxx11) #5
  %sext = shl i64 %144, 32
  %145 = ashr exact i64 %sext, 32
  %146 = icmp slt i64 %indvars.iv.next, %145
  br i1 %146, label %.lr.ph73, label %._crit_edge74, !llvm.loop !17

147:                                              ; preds = %._crit_edge74
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %149 unwind label %153

148:                                              ; preds = %._crit_edge74
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %149 unwind label %.thread41

149:                                              ; preds = %148, %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %151 unwind label %156

151:                                              ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br i1 %.not, label %.critedge, label %152

152:                                              ; preds = %151
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %.critedge

.critedge:                                        ; preds = %151, %152
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  br label %.loopexit58

153:                                              ; preds = %147
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %.critedge40

.thread41:                                        ; preds = %148
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %158

156:                                              ; preds = %149
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br i1 %.not, label %.critedge40, label %158

158:                                              ; preds = %.thread41, %156
  %.pn44 = phi { ptr, i32 } [ %155, %.thread41 ], [ %157, %156 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  br label %.critedge40

.critedge40:                                      ; preds = %156, %158, %153
  %.pn.pn = phi { ptr, i32 } [ %.pn44, %158 ], [ %154, %153 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %.critedge40
  %.pn36 = phi { ptr, i32 } [ %.pn.pn, %.critedge40 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit51, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit55, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  br label %159

159:                                              ; preds = %.loopexit.split-lp, %91
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %.loopexit.split-lp ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn36.pn

.loopexit58:                                      ; preds = %.lr.ph, %.lr.ph65, %.lr.ph67, %.preheader61, %.preheader59, %.preheader57, %75, %.critedge, %69, %67
  ret void
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; 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 #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass