; LLVM IR from eyangch/competitive-programming :: Codeforces/1536 (b)

; 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::__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] }

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, ptr noundef nonnull align 8 dereferenceable(32)) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  store i32 0, ptr %1, align 4
  %13 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %14 = getelementptr i8, ptr %13, i64 -24
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %15
  %17 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %16, ptr noundef null)
  %18 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  br label %20

20:                                               ; preds = %182, %180, %0
  %21 = load i64, ptr @T, align 8, !tbaa !8
  %22 = add nsw i64 %21, -1
  store i64 %22, ptr @T, align 8, !tbaa !8
  %23 = icmp ne i64 %21, 0
  br i1 %23, label %24, label %185

24:                                               ; preds = %20
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %26 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %27 unwind label %33

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  store i8 0, ptr %5, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 97, ptr %6, align 1, !tbaa !13
  br label %28

28:                                               ; preds = %52, %27
  %29 = load i8, ptr %6, align 1, !tbaa !13
  %30 = sext i8 %29 to i32
  %31 = icmp sle i32 %30, 122
  br i1 %31, label %37, label %32

32:                                               ; preds = %28
  store i32 4, ptr %7, align 4
  br label %55

33:                                               ; preds = %24
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %3, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %4, align 4
  br label %184

37:                                               ; preds = %28
  %38 = load i8, ptr %6, align 1, !tbaa !13
  %39 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext %38, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %40 unwind label %47

40:                                               ; preds = %37
  br i1 %39, label %41, label %51

41:                                               ; preds = %40
  store i8 1, ptr %5, align 1, !tbaa !11
  %42 = load i8, ptr %6, align 1, !tbaa !13
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %42)
          to label %44 unwind label %47

44:                                               ; preds = %41
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %43, i8 noundef signext 10)
          to label %46 unwind label %47

46:                                               ; preds = %44
  store i32 4, ptr %7, align 4
  br label %55

47:                                               ; preds = %44, %41, %37
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %3, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %183

51:                                               ; preds = %40
  br label %52

52:                                               ; preds = %51
  %53 = load i8, ptr %6, align 1, !tbaa !13
  %54 = add i8 %53, 1
  store i8 %54, ptr %6, align 1, !tbaa !13
  br label %28, !llvm.loop !14

55:                                               ; preds = %46, %32
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %56

56:                                               ; preds = %55
  %57 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %60

59:                                               ; preds = %56
  store i32 2, ptr %7, align 4
  br label %180, !llvm.loop !18

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  store i8 97, ptr %8, align 1, !tbaa !13
  br label %61

61:                                               ; preds = %100, %60
  %62 = load i8, ptr %8, align 1, !tbaa !13
  %63 = sext i8 %62 to i32
  %64 = icmp sle i32 %63, 122
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  store i32 7, ptr %7, align 4
  br label %103

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  store i8 97, ptr %9, align 1, !tbaa !13
  br label %67

67:                                               ; preds = %91, %66
  %68 = load i8, ptr %9, align 1, !tbaa !13
  %69 = sext i8 %68 to i32
  %70 = icmp sle i32 %69, 122
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  store i32 10, ptr %7, align 4
  br label %94

72:                                               ; preds = %67
  %73 = load i8, ptr %8, align 1, !tbaa !13
  %74 = load i8, ptr %9, align 1, !tbaa !13
  %75 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %73, i8 noundef signext %74, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %76 unwind label %86

76:                                               ; preds = %72
  br i1 %75, label %77, label %90

77:                                               ; preds = %76
  store i8 1, ptr %5, align 1, !tbaa !11
  %78 = load i8, ptr %8, align 1, !tbaa !13
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %78)
          to label %80 unwind label %86

80:                                               ; preds = %77
  %81 = load i8, ptr %9, align 1, !tbaa !13
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %79, i8 noundef signext %81)
          to label %83 unwind label %86

83:                                               ; preds = %80
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %82, i8 noundef signext 10)
          to label %85 unwind label %86

85:                                               ; preds = %83
  store i32 10, ptr %7, align 4
  br label %94

86:                                               ; preds = %83, %80, %77, %72
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %3, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  br label %183

90:                                               ; preds = %76
  br label %91

91:                                               ; preds = %90
  %92 = load i8, ptr %9, align 1, !tbaa !13
  %93 = add i8 %92, 1
  store i8 %93, ptr %9, align 1, !tbaa !13
  br label %67, !llvm.loop !19

94:                                               ; preds = %85, %71
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  br label %95

95:                                               ; preds = %94
  %96 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %97 = trunc i8 %96 to i1
  br i1 %97, label %98, label %99

98:                                               ; preds = %95
  store i32 7, ptr %7, align 4
  br label %103

99:                                               ; preds = %95
  br label %100

100:                                              ; preds = %99
  %101 = load i8, ptr %8, align 1, !tbaa !13
  %102 = add i8 %101, 1
  store i8 %102, ptr %8, align 1, !tbaa !13
  br label %61, !llvm.loop !20

103:                                              ; preds = %98, %65
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  br label %104

104:                                              ; preds = %103
  %105 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %106 = trunc i8 %105 to i1
  br i1 %106, label %107, label %108

107:                                              ; preds = %104
  store i32 2, ptr %7, align 4
  br label %180, !llvm.loop !18

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  store i8 97, ptr %10, align 1, !tbaa !13
  br label %109

109:                                              ; preds = %167, %108
  %110 = load i8, ptr %10, align 1, !tbaa !13
  %111 = sext i8 %110 to i32
  %112 = icmp sle i32 %111, 122
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  store i32 13, ptr %7, align 4
  br label %170

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  store i8 97, ptr %11, align 1, !tbaa !13
  br label %115

115:                                              ; preds = %158, %114
  %116 = load i8, ptr %11, align 1, !tbaa !13
  %117 = sext i8 %116 to i32
  %118 = icmp sle i32 %117, 122
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  store i32 16, ptr %7, align 4
  br label %161

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 97, ptr %12, align 1, !tbaa !13
  br label %121

121:                                              ; preds = %149, %120
  %122 = load i8, ptr %12, align 1, !tbaa !13
  %123 = sext i8 %122 to i32
  %124 = icmp sle i32 %123, 122
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  store i32 19, ptr %7, align 4
  br label %152

126:                                              ; preds = %121
  %127 = load i8, ptr %10, align 1, !tbaa !13
  %128 = load i8, ptr %11, align 1, !tbaa !13
  %129 = load i8, ptr %12, align 1, !tbaa !13
  %130 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %127, i8 noundef signext %128, i8 noundef signext %129, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %131 unwind label %144

131:                                              ; preds = %126
  br i1 %130, label %132, label %148

132:                                              ; preds = %131
  store i8 1, ptr %5, align 1, !tbaa !11
  %133 = load i8, ptr %10, align 1, !tbaa !13
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %133)
          to label %135 unwind label %144

135:                                              ; preds = %132
  %136 = load i8, ptr %11, align 1, !tbaa !13
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %134, i8 noundef signext %136)
          to label %138 unwind label %144

138:                                              ; preds = %135
  %139 = load i8, ptr %12, align 1, !tbaa !13
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %137, i8 noundef signext %139)
          to label %141 unwind label %144

141:                                              ; preds = %138
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %140, i8 noundef signext 10)
          to label %143 unwind label %144

143:                                              ; preds = %141
  store i32 19, ptr %7, align 4
  br label %152

144:                                              ; preds = %141, %138, %135, %132, %126
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %3, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %183

148:                                              ; preds = %131
  br label %149

149:                                              ; preds = %148
  %150 = load i8, ptr %12, align 1, !tbaa !13
  %151 = add i8 %150, 1
  store i8 %151, ptr %12, align 1, !tbaa !13
  br label %121, !llvm.loop !21

152:                                              ; preds = %143, %125
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %153

153:                                              ; preds = %152
  %154 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %155 = trunc i8 %154 to i1
  br i1 %155, label %156, label %157

156:                                              ; preds = %153
  store i32 16, ptr %7, align 4
  br label %161

157:                                              ; preds = %153
  br label %158

158:                                              ; preds = %157
  %159 = load i8, ptr %11, align 1, !tbaa !13
  %160 = add i8 %159, 1
  store i8 %160, ptr %11, align 1, !tbaa !13
  br label %115, !llvm.loop !22

161:                                              ; preds = %156, %119
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  br label %162

162:                                              ; preds = %161
  %163 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %166

165:                                              ; preds = %162
  store i32 13, ptr %7, align 4
  br label %170

166:                                              ; preds = %162
  br label %167

167:                                              ; preds = %166
  %168 = load i8, ptr %10, align 1, !tbaa !13
  %169 = add i8 %168, 1
  store i8 %169, ptr %10, align 1, !tbaa !13
  br label %109, !llvm.loop !23

170:                                              ; preds = %165, %113
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  br label %171

171:                                              ; preds = %170
  %172 = load i8, ptr %5, align 1, !tbaa !11, !range !16, !noundef !17
  %173 = trunc i8 %172 to i1
  %174 = zext i1 %173 to i32
  %175 = icmp eq i32 %174, 1
  br i1 %175, label %176, label %177

176:                                              ; preds = %171
  br label %179

177:                                              ; preds = %171
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 62, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

178:                                              ; No predecessors!
  br label %179

179:                                              ; preds = %178, %176
  store i32 0, ptr %7, align 4
  br label %180

180:                                              ; preds = %179, %107, %59
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  %181 = load i32, ptr %7, align 4
  switch i32 %181, label %192 [
    i32 0, label %182
    i32 2, label %20
  ]

182:                                              ; preds = %180
  br label %20, !llvm.loop !18

183:                                              ; preds = %144, %86, %47
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  br label %184

184:                                              ; preds = %183, %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  br label %187

185:                                              ; preds = %20
  %186 = load i32, ptr %1, align 4
  ret i32 %186

187:                                              ; preds = %184
  %188 = load ptr, ptr %3, align 8
  %189 = load i32, ptr %4, align 4
  %190 = insertvalue { ptr, i32 } poison, ptr %188, 0
  %191 = insertvalue { ptr, i32 } %190, i32 %189, 1
  resume { ptr, i32 } %191

192:                                              ; preds = %180
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #3 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #4

; 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

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


; 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::__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] }

@T = external dso_local global i64, align 8
@N = external dso_local global i64, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %3 = getelementptr i8, ptr %2, i64 -24
  %4 = load i64, ptr %3, align 8
  %5 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %4
  %6 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %5, ptr noundef null)
  %7 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %8 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @T)
  %9 = load i64, ptr @T, align 8, !tbaa !8
  %10 = add nsw i64 %9, -1
  store i64 %10, ptr @T, align 8, !tbaa !8
  %.not88 = icmp eq i64 %9, 0
  br i1 %.not88, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %.thread
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  %12 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %.preheader64.preheader unwind label %14

.preheader64.preheader:                           ; preds = %.lr.ph
  %13 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 97, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %16 unwind label %.loopexit65

14:                                               ; preds = %.lr.ph
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %248

16:                                               ; preds = %.preheader64.preheader
  br i1 %13, label %17, label %.preheader64.1

17:                                               ; preds = %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %16
  %.03682.lcssa89 = phi i8 [ 97, %16 ], [ 98, %22 ], [ 99, %24 ], [ 100, %26 ], [ 101, %28 ], [ 102, %30 ], [ 103, %32 ], [ 104, %34 ], [ 105, %36 ], [ 106, %38 ], [ 107, %40 ], [ 108, %42 ], [ 109, %44 ], [ 110, %46 ], [ 111, %48 ], [ 112, %50 ], [ 113, %52 ], [ 114, %54 ], [ 115, %56 ], [ 116, %58 ], [ 117, %60 ], [ 118, %62 ], [ 119, %64 ], [ 120, %66 ], [ 121, %68 ], [ 122, %70 ]
  %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %.03682.lcssa89)
          to label %19 unwind label %.loopexit.split-lp66

19:                                               ; preds = %17
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %18, i8 noundef signext 10)
          to label %.thread unwind label %.loopexit.split-lp66

.loopexit65:                                      ; preds = %.preheader64.25, %.preheader64.24, %.preheader64.23, %.preheader64.22, %.preheader64.21, %.preheader64.20, %.preheader64.19, %.preheader64.18, %.preheader64.17, %.preheader64.16, %.preheader64.15, %.preheader64.14, %.preheader64.13, %.preheader64.12, %.preheader64.11, %.preheader64.10, %.preheader64.9, %.preheader64.8, %.preheader64.7, %.preheader64.6, %.preheader64.5, %.preheader64.4, %.preheader64.3, %.preheader64.2, %.preheader64.1, %.preheader64.preheader
  %lpad.loopexit67 = landingpad { ptr, i32 }
          cleanup
  br label %248

.loopexit.split-lp66:                             ; preds = %17, %19
  %lpad.loopexit.split-lp68 = landingpad { ptr, i32 }
          cleanup
  br label %248

.preheader64.1:                                   ; preds = %16
  %21 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 98, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %22 unwind label %.loopexit65

22:                                               ; preds = %.preheader64.1
  br i1 %21, label %17, label %.preheader64.2

.preheader64.2:                                   ; preds = %22
  %23 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 99, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %24 unwind label %.loopexit65

24:                                               ; preds = %.preheader64.2
  br i1 %23, label %17, label %.preheader64.3

.preheader64.3:                                   ; preds = %24
  %25 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 100, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %26 unwind label %.loopexit65

26:                                               ; preds = %.preheader64.3
  br i1 %25, label %17, label %.preheader64.4

.preheader64.4:                                   ; preds = %26
  %27 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 101, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %28 unwind label %.loopexit65

28:                                               ; preds = %.preheader64.4
  br i1 %27, label %17, label %.preheader64.5

.preheader64.5:                                   ; preds = %28
  %29 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 102, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %30 unwind label %.loopexit65

30:                                               ; preds = %.preheader64.5
  br i1 %29, label %17, label %.preheader64.6

.preheader64.6:                                   ; preds = %30
  %31 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 103, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %32 unwind label %.loopexit65

32:                                               ; preds = %.preheader64.6
  br i1 %31, label %17, label %.preheader64.7

.preheader64.7:                                   ; preds = %32
  %33 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 104, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %34 unwind label %.loopexit65

34:                                               ; preds = %.preheader64.7
  br i1 %33, label %17, label %.preheader64.8

.preheader64.8:                                   ; preds = %34
  %35 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 105, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %36 unwind label %.loopexit65

36:                                               ; preds = %.preheader64.8
  br i1 %35, label %17, label %.preheader64.9

.preheader64.9:                                   ; preds = %36
  %37 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 106, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %38 unwind label %.loopexit65

38:                                               ; preds = %.preheader64.9
  br i1 %37, label %17, label %.preheader64.10

.preheader64.10:                                  ; preds = %38
  %39 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 107, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %40 unwind label %.loopexit65

40:                                               ; preds = %.preheader64.10
  br i1 %39, label %17, label %.preheader64.11

.preheader64.11:                                  ; preds = %40
  %41 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 108, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %42 unwind label %.loopexit65

42:                                               ; preds = %.preheader64.11
  br i1 %41, label %17, label %.preheader64.12

.preheader64.12:                                  ; preds = %42
  %43 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 109, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %44 unwind label %.loopexit65

44:                                               ; preds = %.preheader64.12
  br i1 %43, label %17, label %.preheader64.13

.preheader64.13:                                  ; preds = %44
  %45 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 110, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %46 unwind label %.loopexit65

46:                                               ; preds = %.preheader64.13
  br i1 %45, label %17, label %.preheader64.14

.preheader64.14:                                  ; preds = %46
  %47 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 111, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %48 unwind label %.loopexit65

48:                                               ; preds = %.preheader64.14
  br i1 %47, label %17, label %.preheader64.15

.preheader64.15:                                  ; preds = %48
  %49 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 112, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %50 unwind label %.loopexit65

50:                                               ; preds = %.preheader64.15
  br i1 %49, label %17, label %.preheader64.16

.preheader64.16:                                  ; preds = %50
  %51 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 113, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %52 unwind label %.loopexit65

52:                                               ; preds = %.preheader64.16
  br i1 %51, label %17, label %.preheader64.17

.preheader64.17:                                  ; preds = %52
  %53 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 114, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %54 unwind label %.loopexit65

54:                                               ; preds = %.preheader64.17
  br i1 %53, label %17, label %.preheader64.18

.preheader64.18:                                  ; preds = %54
  %55 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 115, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %56 unwind label %.loopexit65

56:                                               ; preds = %.preheader64.18
  br i1 %55, label %17, label %.preheader64.19

.preheader64.19:                                  ; preds = %56
  %57 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 116, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %58 unwind label %.loopexit65

58:                                               ; preds = %.preheader64.19
  br i1 %57, label %17, label %.preheader64.20

.preheader64.20:                                  ; preds = %58
  %59 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 117, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %60 unwind label %.loopexit65

60:                                               ; preds = %.preheader64.20
  br i1 %59, label %17, label %.preheader64.21

.preheader64.21:                                  ; preds = %60
  %61 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 118, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %62 unwind label %.loopexit65

62:                                               ; preds = %.preheader64.21
  br i1 %61, label %17, label %.preheader64.22

.preheader64.22:                                  ; preds = %62
  %63 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 119, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %64 unwind label %.loopexit65

64:                                               ; preds = %.preheader64.22
  br i1 %63, label %17, label %.preheader64.23

.preheader64.23:                                  ; preds = %64
  %65 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 120, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %66 unwind label %.loopexit65

66:                                               ; preds = %.preheader64.23
  br i1 %65, label %17, label %.preheader64.24

.preheader64.24:                                  ; preds = %66
  %67 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 121, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %68 unwind label %.loopexit65

68:                                               ; preds = %.preheader64.24
  br i1 %67, label %17, label %.preheader64.25

.preheader64.25:                                  ; preds = %68
  %69 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 1, i8 noundef signext 122, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %70 unwind label %.loopexit65

70:                                               ; preds = %.preheader64.25
  br i1 %69, label %17, label %.preheader56

.preheader56:                                     ; preds = %70, %154
  %.03584 = phi i8 [ %155, %154 ], [ 97, %70 ]
  %71 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 97, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %72 unwind label %.loopexit57

72:                                               ; preds = %.preheader56
  br i1 %71, label %73, label %79

73:                                               ; preds = %153, %150, %147, %144, %141, %138, %135, %132, %129, %126, %123, %120, %117, %114, %111, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %72
  %.03483.lcssa91 = phi i8 [ 97, %72 ], [ 98, %81 ], [ 99, %84 ], [ 100, %87 ], [ 101, %90 ], [ 102, %93 ], [ 103, %96 ], [ 104, %99 ], [ 105, %102 ], [ 106, %105 ], [ 107, %108 ], [ 108, %111 ], [ 109, %114 ], [ 110, %117 ], [ 111, %120 ], [ 112, %123 ], [ 113, %126 ], [ 114, %129 ], [ 115, %132 ], [ 116, %135 ], [ 117, %138 ], [ 118, %141 ], [ 119, %144 ], [ 120, %147 ], [ 121, %150 ], [ 122, %153 ]
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %.03584)
          to label %75 unwind label %.loopexit.split-lp58

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %74, i8 noundef signext %.03483.lcssa91)
          to label %77 unwind label %.loopexit.split-lp58

77:                                               ; preds = %75
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %76, i8 noundef signext 10)
          to label %.thread unwind label %.loopexit.split-lp58

.loopexit57:                                      ; preds = %151, %148, %145, %142, %139, %136, %133, %130, %127, %124, %121, %118, %115, %112, %109, %106, %103, %100, %97, %94, %91, %88, %85, %82, %79, %.preheader56
  %lpad.loopexit59 = landingpad { ptr, i32 }
          cleanup
  br label %248

.loopexit.split-lp58:                             ; preds = %73, %75, %77
  %lpad.loopexit.split-lp60 = landingpad { ptr, i32 }
          cleanup
  br label %248

79:                                               ; preds = %72
  %80 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 98, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %81 unwind label %.loopexit57

81:                                               ; preds = %79
  br i1 %80, label %73, label %82

82:                                               ; preds = %81
  %83 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 99, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %84 unwind label %.loopexit57

84:                                               ; preds = %82
  br i1 %83, label %73, label %85

85:                                               ; preds = %84
  %86 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 100, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %87 unwind label %.loopexit57

87:                                               ; preds = %85
  br i1 %86, label %73, label %88

88:                                               ; preds = %87
  %89 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 101, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %90 unwind label %.loopexit57

90:                                               ; preds = %88
  br i1 %89, label %73, label %91

91:                                               ; preds = %90
  %92 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 102, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %93 unwind label %.loopexit57

93:                                               ; preds = %91
  br i1 %92, label %73, label %94

94:                                               ; preds = %93
  %95 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 103, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %96 unwind label %.loopexit57

96:                                               ; preds = %94
  br i1 %95, label %73, label %97

97:                                               ; preds = %96
  %98 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 104, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %99 unwind label %.loopexit57

99:                                               ; preds = %97
  br i1 %98, label %73, label %100

100:                                              ; preds = %99
  %101 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 105, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %102 unwind label %.loopexit57

102:                                              ; preds = %100
  br i1 %101, label %73, label %103

103:                                              ; preds = %102
  %104 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 106, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %105 unwind label %.loopexit57

105:                                              ; preds = %103
  br i1 %104, label %73, label %106

106:                                              ; preds = %105
  %107 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 107, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %108 unwind label %.loopexit57

108:                                              ; preds = %106
  br i1 %107, label %73, label %109

109:                                              ; preds = %108
  %110 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 108, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %111 unwind label %.loopexit57

111:                                              ; preds = %109
  br i1 %110, label %73, label %112

112:                                              ; preds = %111
  %113 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 109, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %114 unwind label %.loopexit57

114:                                              ; preds = %112
  br i1 %113, label %73, label %115

115:                                              ; preds = %114
  %116 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 110, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %117 unwind label %.loopexit57

117:                                              ; preds = %115
  br i1 %116, label %73, label %118

118:                                              ; preds = %117
  %119 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 111, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %120 unwind label %.loopexit57

120:                                              ; preds = %118
  br i1 %119, label %73, label %121

121:                                              ; preds = %120
  %122 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 112, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %123 unwind label %.loopexit57

123:                                              ; preds = %121
  br i1 %122, label %73, label %124

124:                                              ; preds = %123
  %125 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 113, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %126 unwind label %.loopexit57

126:                                              ; preds = %124
  br i1 %125, label %73, label %127

127:                                              ; preds = %126
  %128 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 114, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %129 unwind label %.loopexit57

129:                                              ; preds = %127
  br i1 %128, label %73, label %130

130:                                              ; preds = %129
  %131 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 115, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %132 unwind label %.loopexit57

132:                                              ; preds = %130
  br i1 %131, label %73, label %133

133:                                              ; preds = %132
  %134 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 116, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %135 unwind label %.loopexit57

135:                                              ; preds = %133
  br i1 %134, label %73, label %136

136:                                              ; preds = %135
  %137 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 117, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %138 unwind label %.loopexit57

138:                                              ; preds = %136
  br i1 %137, label %73, label %139

139:                                              ; preds = %138
  %140 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 118, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %141 unwind label %.loopexit57

141:                                              ; preds = %139
  br i1 %140, label %73, label %142

142:                                              ; preds = %141
  %143 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 119, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %144 unwind label %.loopexit57

144:                                              ; preds = %142
  br i1 %143, label %73, label %145

145:                                              ; preds = %144
  %146 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 120, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %147 unwind label %.loopexit57

147:                                              ; preds = %145
  br i1 %146, label %73, label %148

148:                                              ; preds = %147
  %149 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 121, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %150 unwind label %.loopexit57

150:                                              ; preds = %148
  br i1 %149, label %73, label %151

151:                                              ; preds = %150
  %152 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 2, i8 noundef signext %.03584, i8 noundef signext 122, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %153 unwind label %.loopexit57

153:                                              ; preds = %151
  br i1 %152, label %73, label %154

154:                                              ; preds = %153
  %155 = add nuw nsw i8 %.03584, 1
  %exitcond.not = icmp eq i8 %155, 123
  br i1 %exitcond.not, label %.preheader55, label %.preheader56, !llvm.loop !11

.preheader55:                                     ; preds = %154, %243
  %.03387 = phi i8 [ %244, %243 ], [ 97, %154 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader55, %241
  %.03286 = phi i8 [ 97, %.preheader55 ], [ %242, %241 ]
  %156 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 97, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %157 unwind label %.loopexit

157:                                              ; preds = %.preheader
  br i1 %156, label %158, label %166

158:                                              ; preds = %240, %237, %234, %231, %228, %225, %222, %219, %216, %213, %210, %207, %204, %201, %198, %195, %192, %189, %186, %183, %180, %177, %174, %171, %168, %157
  %.085.lcssa95 = phi i8 [ 97, %157 ], [ 98, %168 ], [ 99, %171 ], [ 100, %174 ], [ 101, %177 ], [ 102, %180 ], [ 103, %183 ], [ 104, %186 ], [ 105, %189 ], [ 106, %192 ], [ 107, %195 ], [ 108, %198 ], [ 109, %201 ], [ 110, %204 ], [ 111, %207 ], [ 112, %210 ], [ 113, %213 ], [ 114, %216 ], [ 115, %219 ], [ 116, %222 ], [ 117, %225 ], [ 118, %228 ], [ 119, %231 ], [ 120, %234 ], [ 121, %237 ], [ 122, %240 ]
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %.03387)
          to label %160 unwind label %.loopexit.split-lp

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %159, i8 noundef signext %.03286)
          to label %162 unwind label %.loopexit.split-lp

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %161, i8 noundef signext %.085.lcssa95)
          to label %164 unwind label %.loopexit.split-lp

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %163, i8 noundef signext 10)
          to label %.thread unwind label %.loopexit.split-lp

.loopexit:                                        ; preds = %238, %235, %232, %229, %226, %223, %220, %217, %214, %211, %208, %205, %202, %199, %196, %193, %190, %187, %184, %181, %178, %175, %172, %169, %166, %.preheader
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %248

.loopexit.split-lp:                               ; preds = %158, %160, %162, %164
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %248

166:                                              ; preds = %157
  %167 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 98, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %168 unwind label %.loopexit

168:                                              ; preds = %166
  br i1 %167, label %158, label %169

169:                                              ; preds = %168
  %170 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 99, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %171 unwind label %.loopexit

171:                                              ; preds = %169
  br i1 %170, label %158, label %172

172:                                              ; preds = %171
  %173 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 100, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %174 unwind label %.loopexit

174:                                              ; preds = %172
  br i1 %173, label %158, label %175

175:                                              ; preds = %174
  %176 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 101, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %177 unwind label %.loopexit

177:                                              ; preds = %175
  br i1 %176, label %158, label %178

178:                                              ; preds = %177
  %179 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 102, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %180 unwind label %.loopexit

180:                                              ; preds = %178
  br i1 %179, label %158, label %181

181:                                              ; preds = %180
  %182 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 103, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %183 unwind label %.loopexit

183:                                              ; preds = %181
  br i1 %182, label %158, label %184

184:                                              ; preds = %183
  %185 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 104, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %186 unwind label %.loopexit

186:                                              ; preds = %184
  br i1 %185, label %158, label %187

187:                                              ; preds = %186
  %188 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 105, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %189 unwind label %.loopexit

189:                                              ; preds = %187
  br i1 %188, label %158, label %190

190:                                              ; preds = %189
  %191 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 106, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %192 unwind label %.loopexit

192:                                              ; preds = %190
  br i1 %191, label %158, label %193

193:                                              ; preds = %192
  %194 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 107, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %195 unwind label %.loopexit

195:                                              ; preds = %193
  br i1 %194, label %158, label %196

196:                                              ; preds = %195
  %197 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 108, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %198 unwind label %.loopexit

198:                                              ; preds = %196
  br i1 %197, label %158, label %199

199:                                              ; preds = %198
  %200 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 109, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %201 unwind label %.loopexit

201:                                              ; preds = %199
  br i1 %200, label %158, label %202

202:                                              ; preds = %201
  %203 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 110, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %204 unwind label %.loopexit

204:                                              ; preds = %202
  br i1 %203, label %158, label %205

205:                                              ; preds = %204
  %206 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 111, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %207 unwind label %.loopexit

207:                                              ; preds = %205
  br i1 %206, label %158, label %208

208:                                              ; preds = %207
  %209 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 112, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %210 unwind label %.loopexit

210:                                              ; preds = %208
  br i1 %209, label %158, label %211

211:                                              ; preds = %210
  %212 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 113, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %213 unwind label %.loopexit

213:                                              ; preds = %211
  br i1 %212, label %158, label %214

214:                                              ; preds = %213
  %215 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 114, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %216 unwind label %.loopexit

216:                                              ; preds = %214
  br i1 %215, label %158, label %217

217:                                              ; preds = %216
  %218 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 115, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %219 unwind label %.loopexit

219:                                              ; preds = %217
  br i1 %218, label %158, label %220

220:                                              ; preds = %219
  %221 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 116, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %222 unwind label %.loopexit

222:                                              ; preds = %220
  br i1 %221, label %158, label %223

223:                                              ; preds = %222
  %224 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 117, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %225 unwind label %.loopexit

225:                                              ; preds = %223
  br i1 %224, label %158, label %226

226:                                              ; preds = %225
  %227 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 118, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %228 unwind label %.loopexit

228:                                              ; preds = %226
  br i1 %227, label %158, label %229

229:                                              ; preds = %228
  %230 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 119, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %231 unwind label %.loopexit

231:                                              ; preds = %229
  br i1 %230, label %158, label %232

232:                                              ; preds = %231
  %233 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 120, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %234 unwind label %.loopexit

234:                                              ; preds = %232
  br i1 %233, label %158, label %235

235:                                              ; preds = %234
  %236 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 121, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %237 unwind label %.loopexit

237:                                              ; preds = %235
  br i1 %236, label %158, label %238

238:                                              ; preds = %237
  %239 = invoke noundef zeroext i1 @_Z3subxcccRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(i64 noundef 3, i8 noundef signext %.03387, i8 noundef signext %.03286, i8 noundef signext 122, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %240 unwind label %.loopexit

240:                                              ; preds = %238
  br i1 %239, label %158, label %241

241:                                              ; preds = %240
  %242 = add nuw nsw i8 %.03286, 1
  %exitcond102.not = icmp eq i8 %242, 123
  br i1 %exitcond102.not, label %243, label %.preheader, !llvm.loop !13

243:                                              ; preds = %241
  %244 = add nuw nsw i8 %.03387, 1
  %exitcond103.not = icmp eq i8 %244, 123
  br i1 %exitcond103.not, label %245, label %.preheader55, !llvm.loop !14

245:                                              ; preds = %243
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 62, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

.thread:                                          ; preds = %164, %77, %19
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  %246 = load i64, ptr @T, align 8, !tbaa !8
  %247 = add nsw i64 %246, -1
  store i64 %247, ptr @T, align 8, !tbaa !8
  %.not = icmp eq i64 %246, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

248:                                              ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit57, %.loopexit.split-lp58, %.loopexit65, %.loopexit.split-lp66, %14
  %.pn.pn = phi { ptr, i32 } [ %15, %14 ], [ %lpad.loopexit67, %.loopexit65 ], [ %lpad.loopexit.split-lp68, %.loopexit.split-lp66 ], [ %lpad.loopexit59, %.loopexit57 ], [ %lpad.loopexit.split-lp60, %.loopexit.split-lp58 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn

._crit_edge:                                      ; preds = %.thread, %0
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #4

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #5

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

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


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