; LLVM IR from upupming/algorithm :: acwing/算法竞赛进阶指南/0x08-总结与练习/116. 飞行员兄弟 (main)

; 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_ostream" = type { ptr, %"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_istream" = type { ptr, i64, %"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] }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@a = external dso_local global [4 x [4 x i8]], align 16
@b = external dso_local global [4 x [4 x i8]], align 16
@change = external dso_local global [4 x [4 x i8]], align 16
@cb = external dso_local global [4 x [4 x i8]], align 16
@e = external dso_local global [4 x [4 x i8]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5relaxPA4_bii(ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %57, %0
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = icmp slt i32 %20, 4
  br i1 %21, label %23, label %22

22:                                               ; preds = %19
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %61

23:                                               ; preds = %19
  %24 = 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 %25 unwind label %30

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

26:                                               ; preds = %49, %25
  %27 = load i32, ptr %7, align 4, !tbaa !5
  %28 = icmp slt i32 %27, 4
  br i1 %28, label %34, label %29

29:                                               ; preds = %26
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %56

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %5, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %6, align 4
  br label %60

34:                                               ; preds = %26
  %35 = load i32, ptr %7, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %36)
          to label %38 unwind label %52

38:                                               ; preds = %34
  %39 = load i8, ptr %37, align 1, !tbaa !9
  %40 = sext i8 %39 to i32
  %41 = icmp eq i32 %40, 45
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [4 x [4 x i8]], ptr @a, i64 0, i64 %43
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [4 x i8], ptr %44, i64 0, i64 %46
  %48 = zext i1 %41 to i8
  store i8 %48, ptr %47, align 1, !tbaa !10
  br label %49

49:                                               ; preds = %38
  %50 = load i32, ptr %7, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %7, align 4, !tbaa !5
  br label %26, !llvm.loop !12

52:                                               ; preds = %34
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %5, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %60

56:                                               ; preds = %29
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %3, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %3, align 4, !tbaa !5
  br label %19, !llvm.loop !14

60:                                               ; preds = %52, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %209

61:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1061109567, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 65535, ptr %9, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %150, %61
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = icmp sge i32 %63, 0
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %153

66:                                               ; preds = %62
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @b, ptr align 16 @a, i64 16, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @change, ptr align 16 @e, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %102, %66
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = icmp slt i32 %68, 4
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %105

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %98, %71
  %73 = load i32, ptr %12, align 4, !tbaa !5
  %74 = icmp slt i32 %73, 4
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %101

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %77 = load i32, ptr %11, align 4, !tbaa !5
  %78 = mul nsw i32 %77, 4
  %79 = load i32, ptr %12, align 4, !tbaa !5
  %80 = add nsw i32 %78, %79
  store i32 %80, ptr %13, align 4, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = load i32, ptr %13, align 4, !tbaa !5
  %83 = ashr i32 %81, %82
  %84 = and i32 %83, 1
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %97

86:                                               ; preds = %76
  %87 = load i32, ptr %11, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [4 x [4 x i8]], ptr @change, i64 0, i64 %88
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [4 x i8], ptr %89, i64 0, i64 %91
  store i8 1, ptr %92, align 1, !tbaa !10
  %93 = load i32, ptr %11, align 4, !tbaa !5
  %94 = load i32, ptr %12, align 4, !tbaa !5
  call void @_Z5relaxPA4_bii(ptr noundef @b, i32 noundef %93, i32 noundef %94)
  %95 = load i32, ptr %10, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %10, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %86, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %12, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %12, align 4, !tbaa !5
  br label %72, !llvm.loop !15

101:                                              ; preds = %75
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %11, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %11, align 4, !tbaa !5
  br label %67, !llvm.loop !16

105:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  store i8 1, ptr %14, align 1, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %135, %105
  %107 = load i32, ptr %15, align 4, !tbaa !5
  %108 = icmp slt i32 %107, 4
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 17, ptr %4, align 4
  br label %138

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

111:                                              ; preds = %126, %110
  %112 = load i32, ptr %16, align 4, !tbaa !5
  %113 = icmp slt i32 %112, 4
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 20, ptr %4, align 4
  br label %129

115:                                              ; preds = %111
  %116 = load i32, ptr %15, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [4 x [4 x i8]], ptr @b, i64 0, i64 %117
  %119 = load i32, ptr %16, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [4 x i8], ptr %118, i64 0, i64 %120
  %122 = load i8, ptr %121, align 1, !tbaa !10, !range !17, !noundef !18
  %123 = trunc i8 %122 to i1
  br i1 %123, label %125, label %124

124:                                              ; preds = %115
  store i8 0, ptr %14, align 1, !tbaa !10
  store i32 20, ptr %4, align 4
  br label %129

125:                                              ; preds = %115
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %16, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %16, align 4, !tbaa !5
  br label %111, !llvm.loop !19

129:                                              ; preds = %124, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %130

130:                                              ; preds = %129
  %131 = load i8, ptr %14, align 1, !tbaa !10, !range !17, !noundef !18
  %132 = trunc i8 %131 to i1
  br i1 %132, label %134, label %133

133:                                              ; preds = %130
  store i32 17, ptr %4, align 4
  br label %138

134:                                              ; preds = %130
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %15, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %15, align 4, !tbaa !5
  br label %106, !llvm.loop !20

138:                                              ; preds = %133, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %139

139:                                              ; preds = %138
  %140 = load i8, ptr %14, align 1, !tbaa !10, !range !17, !noundef !18
  %141 = trunc i8 %140 to i1
  br i1 %141, label %142, label %149

142:                                              ; preds = %139
  %143 = load i32, ptr %10, align 4, !tbaa !5
  %144 = load i32, ptr %8, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %146, label %148

146:                                              ; preds = %142
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @cb, ptr align 16 @change, i64 16, i1 false)
  %147 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %147, ptr %8, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %146, %142
  br label %149

149:                                              ; preds = %148, %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %9, align 4, !tbaa !5
  %152 = add nsw i32 %151, -1
  store i32 %152, ptr %9, align 4, !tbaa !5
  br label %62, !llvm.loop !21

153:                                              ; preds = %65
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %154)
          to label %156 unwind label %163

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

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %159

159:                                              ; preds = %203, %158
  %160 = load i32, ptr %17, align 4, !tbaa !5
  %161 = icmp slt i32 %160, 4
  br i1 %161, label %167, label %162

162:                                              ; preds = %159
  store i32 23, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %206

163:                                              ; preds = %156, %153
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %5, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %6, align 4
  br label %208

167:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %168

168:                                              ; preds = %199, %167
  %169 = load i32, ptr %18, align 4, !tbaa !5
  %170 = icmp slt i32 %169, 4
  br i1 %170, label %172, label %171

171:                                              ; preds = %168
  store i32 26, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %202

172:                                              ; preds = %168
  %173 = load i32, ptr %17, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [4 x [4 x i8]], ptr @cb, i64 0, i64 %174
  %176 = load i32, ptr %18, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [4 x i8], ptr %175, i64 0, i64 %177
  %179 = load i8, ptr %178, align 1, !tbaa !10, !range !17, !noundef !18
  %180 = trunc i8 %179 to i1
  br i1 %180, label %181, label %198

181:                                              ; preds = %172
  %182 = load i32, ptr %17, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %183)
          to label %185 unwind label %194

185:                                              ; preds = %181
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef @.str)
          to label %187 unwind label %194

187:                                              ; preds = %185
  %188 = load i32, ptr %18, align 4, !tbaa !5
  %189 = add nsw i32 %188, 1
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %186, i32 noundef %189)
          to label %191 unwind label %194

191:                                              ; preds = %187
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %193 unwind label %194

193:                                              ; preds = %191
  br label %198

194:                                              ; preds = %191, %187, %185, %181
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %5, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %208

198:                                              ; preds = %193, %172
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %18, align 4, !tbaa !5
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %18, align 4, !tbaa !5
  br label %168, !llvm.loop !22

202:                                              ; preds = %171
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %17, align 4, !tbaa !5
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %17, align 4, !tbaa !5
  br label %159, !llvm.loop !23

206:                                              ; preds = %162
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #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
  %207 = load i32, ptr %1, align 4
  ret i32 %207

208:                                              ; preds = %194, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %209

209:                                              ; preds = %208, %60
  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 %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %5, align 8
  %212 = load i32, ptr %6, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

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

declare i32 @__gxx_personality_v0(...)

; 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) #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

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


; 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_ostream" = type { ptr, %"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_istream" = type { ptr, i64, %"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] }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@a = external dso_local local_unnamed_addr global [4 x [4 x i8]], align 16
@b = external dso_local global [4 x [4 x i8]], align 16
@change = external dso_local local_unnamed_addr global [4 x [4 x i8]], align 16
@cb = external dso_local local_unnamed_addr global [4 x [4 x i8]], align 16
@e = external dso_local local_unnamed_addr global [4 x [4 x i8]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5relaxPA4_bii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  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
  %2 = 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 %.preheader74 unwind label %20

.preheader74:                                     ; preds = %0
  %3 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %4 = load i8, ptr %3, align 1, !tbaa !5
  %5 = icmp eq i8 %4, 45
  %6 = zext i1 %5 to i8
  store i8 %6, ptr @a, align 16, !tbaa !8
  %7 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %8 = load i8, ptr %7, align 1, !tbaa !5
  %9 = icmp eq i8 %8, 45
  %10 = zext i1 %9 to i8
  store i8 %10, ptr getelementptr inbounds (i8, ptr @a, i64 1), align 1, !tbaa !8
  %11 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %12 = load i8, ptr %11, align 1, !tbaa !5
  %13 = icmp eq i8 %12, 45
  %14 = zext i1 %13 to i8
  store i8 %14, ptr getelementptr inbounds (i8, ptr @a, i64 2), align 2, !tbaa !8
  %15 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 3)
  %16 = load i8, ptr %15, align 1, !tbaa !5
  %17 = icmp eq i8 %16, 45
  %18 = zext i1 %17 to i8
  store i8 %18, ptr getelementptr inbounds (i8, ptr @a, i64 3), align 1, !tbaa !8
  %19 = 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 %.preheader74.1 unwind label %20

20:                                               ; preds = %.preheader74.2, %.preheader74.1, %.preheader74, %0
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %359

.preheader74.1:                                   ; preds = %.preheader74
  %22 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp eq i8 %23, 45
  %25 = zext i1 %24 to i8
  store i8 %25, ptr getelementptr inbounds (i8, ptr @a, i64 4), align 4, !tbaa !8
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %27 = load i8, ptr %26, align 1, !tbaa !5
  %28 = icmp eq i8 %27, 45
  %29 = zext i1 %28 to i8
  store i8 %29, ptr getelementptr inbounds (i8, ptr @a, i64 5), align 1, !tbaa !8
  %30 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %31 = load i8, ptr %30, align 1, !tbaa !5
  %32 = icmp eq i8 %31, 45
  %33 = zext i1 %32 to i8
  store i8 %33, ptr getelementptr inbounds (i8, ptr @a, i64 6), align 2, !tbaa !8
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 3)
  %35 = load i8, ptr %34, align 1, !tbaa !5
  %36 = icmp eq i8 %35, 45
  %37 = zext i1 %36 to i8
  store i8 %37, ptr getelementptr inbounds (i8, ptr @a, i64 7), align 1, !tbaa !8
  %38 = 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 %.preheader74.2 unwind label %20

.preheader74.2:                                   ; preds = %.preheader74.1
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = icmp eq i8 %40, 45
  %42 = zext i1 %41 to i8
  store i8 %42, ptr getelementptr inbounds (i8, ptr @a, i64 8), align 8, !tbaa !8
  %43 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = icmp eq i8 %44, 45
  %46 = zext i1 %45 to i8
  store i8 %46, ptr getelementptr inbounds (i8, ptr @a, i64 9), align 1, !tbaa !8
  %47 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = icmp eq i8 %48, 45
  %50 = zext i1 %49 to i8
  store i8 %50, ptr getelementptr inbounds (i8, ptr @a, i64 10), align 2, !tbaa !8
  %51 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 3)
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = icmp eq i8 %52, 45
  %54 = zext i1 %53 to i8
  store i8 %54, ptr getelementptr inbounds (i8, ptr @a, i64 11), align 1, !tbaa !8
  %55 = 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 %.preheader74.3 unwind label %20

.preheader74.3:                                   ; preds = %.preheader74.2
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %57 = load i8, ptr %56, align 1, !tbaa !5
  %58 = icmp eq i8 %57, 45
  %59 = zext i1 %58 to i8
  store i8 %59, ptr getelementptr inbounds (i8, ptr @a, i64 12), align 4, !tbaa !8
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %61 = load i8, ptr %60, align 1, !tbaa !5
  %62 = icmp eq i8 %61, 45
  %63 = zext i1 %62 to i8
  store i8 %63, ptr getelementptr inbounds (i8, ptr @a, i64 13), align 1, !tbaa !8
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %65 = load i8, ptr %64, align 1, !tbaa !5
  %66 = icmp eq i8 %65, 45
  %67 = zext i1 %66 to i8
  store i8 %67, ptr getelementptr inbounds (i8, ptr @a, i64 14), align 2, !tbaa !8
  %68 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 3)
  %69 = load i8, ptr %68, align 1, !tbaa !5
  %70 = icmp eq i8 %69, 45
  %71 = zext i1 %70 to i8
  store i8 %71, ptr getelementptr inbounds (i8, ptr @a, i64 15), align 1, !tbaa !8
  br label %.preheader73

72:                                               ; preds = %.thread66
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.155)
          to label %180 unwind label %184

.preheader73:                                     ; preds = %.preheader74.3, %.thread66
  %.05384 = phi i32 [ %179, %.thread66 ], [ 65535, %.preheader74.3 ]
  %.05483 = phi i32 [ %.155, %.thread66 ], [ 1061109567, %.preheader74.3 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) @b, ptr noundef nonnull align 16 dereferenceable(16) @a, i64 16, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) @change, ptr noundef nonnull align 16 dereferenceable(16) @e, i64 16, i1 false)
  %74 = and i32 %.05384, 1
  %.not = icmp eq i32 %74, 0
  br i1 %.not, label %76, label %75

75:                                               ; preds = %.preheader73
  store i8 1, ptr @change, align 16, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 0, i32 noundef 0)
  br label %76

76:                                               ; preds = %75, %.preheader73
  %.252 = phi i32 [ 1, %75 ], [ 0, %.preheader73 ]
  %77 = and i32 %.05384, 2
  %.not.1 = icmp eq i32 %77, 0
  br i1 %.not.1, label %80, label %78

78:                                               ; preds = %76
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 1), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 0, i32 noundef 1)
  %79 = add nuw nsw i32 %.252, 1
  br label %80

80:                                               ; preds = %78, %76
  %.252.1 = phi i32 [ %79, %78 ], [ %.252, %76 ]
  %81 = and i32 %.05384, 4
  %.not.2 = icmp eq i32 %81, 0
  br i1 %.not.2, label %84, label %82

82:                                               ; preds = %80
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 2), align 2, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 0, i32 noundef 2)
  %83 = add nuw nsw i32 %.252.1, 1
  br label %84

84:                                               ; preds = %82, %80
  %.252.2 = phi i32 [ %83, %82 ], [ %.252.1, %80 ]
  %85 = and i32 %.05384, 8
  %.not.3 = icmp eq i32 %85, 0
  br i1 %.not.3, label %.preheader71.1, label %86

86:                                               ; preds = %84
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 3), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 0, i32 noundef 3)
  %87 = add nuw nsw i32 %.252.2, 1
  br label %.preheader71.1

.preheader71.1:                                   ; preds = %86, %84
  %.252.3 = phi i32 [ %87, %86 ], [ %.252.2, %84 ]
  %88 = and i32 %.05384, 16
  %.not.191 = icmp eq i32 %88, 0
  br i1 %.not.191, label %91, label %89

89:                                               ; preds = %.preheader71.1
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 4), align 4, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 1, i32 noundef 0)
  %90 = add nuw nsw i32 %.252.3, 1
  br label %91

91:                                               ; preds = %89, %.preheader71.1
  %.252.192 = phi i32 [ %90, %89 ], [ %.252.3, %.preheader71.1 ]
  %92 = and i32 %.05384, 32
  %.not.1.1 = icmp eq i32 %92, 0
  br i1 %.not.1.1, label %95, label %93

93:                                               ; preds = %91
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 5), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 1, i32 noundef 1)
  %94 = add nuw nsw i32 %.252.192, 1
  br label %95

95:                                               ; preds = %93, %91
  %.252.1.1 = phi i32 [ %94, %93 ], [ %.252.192, %91 ]
  %96 = and i32 %.05384, 64
  %.not.2.1 = icmp eq i32 %96, 0
  br i1 %.not.2.1, label %99, label %97

97:                                               ; preds = %95
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 6), align 2, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 1, i32 noundef 2)
  %98 = add nuw nsw i32 %.252.1.1, 1
  br label %99

99:                                               ; preds = %97, %95
  %.252.2.1 = phi i32 [ %98, %97 ], [ %.252.1.1, %95 ]
  %100 = and i32 %.05384, 128
  %.not.3.1 = icmp eq i32 %100, 0
  br i1 %.not.3.1, label %.preheader71.2, label %101

101:                                              ; preds = %99
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 7), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 1, i32 noundef 3)
  %102 = add nuw nsw i32 %.252.2.1, 1
  br label %.preheader71.2

.preheader71.2:                                   ; preds = %101, %99
  %.252.3.1 = phi i32 [ %102, %101 ], [ %.252.2.1, %99 ]
  %103 = and i32 %.05384, 256
  %.not.293 = icmp eq i32 %103, 0
  br i1 %.not.293, label %106, label %104

104:                                              ; preds = %.preheader71.2
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 8), align 8, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 2, i32 noundef 0)
  %105 = add nuw nsw i32 %.252.3.1, 1
  br label %106

106:                                              ; preds = %104, %.preheader71.2
  %.252.294 = phi i32 [ %105, %104 ], [ %.252.3.1, %.preheader71.2 ]
  %107 = and i32 %.05384, 512
  %.not.1.2 = icmp eq i32 %107, 0
  br i1 %.not.1.2, label %110, label %108

108:                                              ; preds = %106
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 9), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 2, i32 noundef 1)
  %109 = add nuw nsw i32 %.252.294, 1
  br label %110

110:                                              ; preds = %108, %106
  %.252.1.2 = phi i32 [ %109, %108 ], [ %.252.294, %106 ]
  %111 = and i32 %.05384, 1024
  %.not.2.2 = icmp eq i32 %111, 0
  br i1 %.not.2.2, label %114, label %112

112:                                              ; preds = %110
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 10), align 2, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 2, i32 noundef 2)
  %113 = add nuw nsw i32 %.252.1.2, 1
  br label %114

114:                                              ; preds = %112, %110
  %.252.2.2 = phi i32 [ %113, %112 ], [ %.252.1.2, %110 ]
  %115 = and i32 %.05384, 2048
  %.not.3.2 = icmp eq i32 %115, 0
  br i1 %.not.3.2, label %.preheader71.3, label %116

116:                                              ; preds = %114
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 11), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 2, i32 noundef 3)
  %117 = add nuw nsw i32 %.252.2.2, 1
  br label %.preheader71.3

.preheader71.3:                                   ; preds = %116, %114
  %.252.3.2 = phi i32 [ %117, %116 ], [ %.252.2.2, %114 ]
  %118 = and i32 %.05384, 4096
  %.not.395 = icmp eq i32 %118, 0
  br i1 %.not.395, label %121, label %119

119:                                              ; preds = %.preheader71.3
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 12), align 4, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 3, i32 noundef 0)
  %120 = add nuw nsw i32 %.252.3.2, 1
  br label %121

121:                                              ; preds = %119, %.preheader71.3
  %.252.396 = phi i32 [ %120, %119 ], [ %.252.3.2, %.preheader71.3 ]
  %122 = and i32 %.05384, 8192
  %.not.1.3 = icmp eq i32 %122, 0
  br i1 %.not.1.3, label %125, label %123

123:                                              ; preds = %121
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 13), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 3, i32 noundef 1)
  %124 = add nuw nsw i32 %.252.396, 1
  br label %125

125:                                              ; preds = %123, %121
  %.252.1.3 = phi i32 [ %124, %123 ], [ %.252.396, %121 ]
  %126 = and i32 %.05384, 16384
  %.not.2.3 = icmp eq i32 %126, 0
  br i1 %.not.2.3, label %129, label %127

127:                                              ; preds = %125
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 14), align 2, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 3, i32 noundef 2)
  %128 = add nuw nsw i32 %.252.1.3, 1
  br label %129

129:                                              ; preds = %127, %125
  %.252.2.3 = phi i32 [ %128, %127 ], [ %.252.1.3, %125 ]
  %130 = and i32 %.05384, 32768
  %.not.3.3 = icmp eq i32 %130, 0
  br i1 %.not.3.3, label %.preheader72, label %131

131:                                              ; preds = %129
  store i8 1, ptr getelementptr inbounds (i8, ptr @change, i64 15), align 1, !tbaa !8
  call void @_Z5relaxPA4_bii(ptr noundef nonnull @b, i32 noundef 3, i32 noundef 3)
  %132 = add nuw nsw i32 %.252.2.3, 1
  br label %.preheader72

.preheader72:                                     ; preds = %131, %129
  %.252.3.3 = phi i32 [ %132, %131 ], [ %.252.2.3, %129 ]
  %133 = load i8, ptr @b, align 16, !tbaa !8, !range !10, !noundef !11
  %134 = trunc nuw i8 %133 to i1
  br i1 %134, label %135, label %.thread66

135:                                              ; preds = %.preheader72
  %136 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 1), align 1, !tbaa !8, !range !10, !noundef !11
  %137 = trunc nuw i8 %136 to i1
  br i1 %137, label %138, label %.thread66

138:                                              ; preds = %135
  %139 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 2), align 2, !tbaa !8, !range !10, !noundef !11
  %140 = trunc nuw i8 %139 to i1
  br i1 %140, label %141, label %.thread66

141:                                              ; preds = %138
  %142 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 3), align 1, !tbaa !8, !range !10, !noundef !11
  %143 = trunc nuw i8 %142 to i1
  br i1 %143, label %.preheader70.1, label %.thread66

.preheader70.1:                                   ; preds = %141
  %144 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 4), align 4, !tbaa !8, !range !10, !noundef !11
  %145 = trunc nuw i8 %144 to i1
  br i1 %145, label %146, label %.thread66

146:                                              ; preds = %.preheader70.1
  %147 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 5), align 1, !tbaa !8, !range !10, !noundef !11
  %148 = trunc nuw i8 %147 to i1
  br i1 %148, label %149, label %.thread66

149:                                              ; preds = %146
  %150 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 6), align 2, !tbaa !8, !range !10, !noundef !11
  %151 = trunc nuw i8 %150 to i1
  br i1 %151, label %152, label %.thread66

152:                                              ; preds = %149
  %153 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 7), align 1, !tbaa !8, !range !10, !noundef !11
  %154 = trunc nuw i8 %153 to i1
  br i1 %154, label %.preheader70.2, label %.thread66

.preheader70.2:                                   ; preds = %152
  %155 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 8), align 8, !tbaa !8, !range !10, !noundef !11
  %156 = trunc nuw i8 %155 to i1
  br i1 %156, label %157, label %.thread66

157:                                              ; preds = %.preheader70.2
  %158 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 9), align 1, !tbaa !8, !range !10, !noundef !11
  %159 = trunc nuw i8 %158 to i1
  br i1 %159, label %160, label %.thread66

160:                                              ; preds = %157
  %161 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 10), align 2, !tbaa !8, !range !10, !noundef !11
  %162 = trunc nuw i8 %161 to i1
  br i1 %162, label %163, label %.thread66

163:                                              ; preds = %160
  %164 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 11), align 1, !tbaa !8, !range !10, !noundef !11
  %165 = trunc nuw i8 %164 to i1
  br i1 %165, label %.preheader70.3, label %.thread66

.preheader70.3:                                   ; preds = %163
  %166 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 12), align 4, !tbaa !8, !range !10, !noundef !11
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %168, label %.thread66

168:                                              ; preds = %.preheader70.3
  %169 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 13), align 1, !tbaa !8, !range !10, !noundef !11
  %170 = trunc nuw i8 %169 to i1
  br i1 %170, label %171, label %.thread66

171:                                              ; preds = %168
  %172 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 14), align 2, !tbaa !8, !range !10, !noundef !11
  %173 = trunc nuw i8 %172 to i1
  br i1 %173, label %174, label %.thread66

174:                                              ; preds = %171
  %175 = load i8, ptr getelementptr inbounds (i8, ptr @b, i64 15), align 1, !tbaa !8, !range !10, !noundef !11
  %176 = trunc nuw i8 %175 to i1
  %177 = icmp slt i32 %.252.3.3, %.05483
  %or.cond = select i1 %176, i1 %177, i1 false
  br i1 %or.cond, label %178, label %.thread66

178:                                              ; preds = %174
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) @cb, ptr noundef nonnull align 16 dereferenceable(16) @change, i64 16, i1 false)
  br label %.thread66

.thread66:                                        ; preds = %.preheader72, %135, %138, %141, %.preheader70.1, %146, %149, %152, %.preheader70.2, %157, %160, %163, %.preheader70.3, %168, %171, %174, %178
  %.155 = phi i32 [ %.252.3.3, %178 ], [ %.05483, %174 ], [ %.05483, %171 ], [ %.05483, %168 ], [ %.05483, %.preheader70.3 ], [ %.05483, %163 ], [ %.05483, %160 ], [ %.05483, %157 ], [ %.05483, %.preheader70.2 ], [ %.05483, %152 ], [ %.05483, %149 ], [ %.05483, %146 ], [ %.05483, %.preheader70.1 ], [ %.05483, %141 ], [ %.05483, %138 ], [ %.05483, %135 ], [ %.05483, %.preheader72 ]
  %179 = add nsw i32 %.05384, -1
  %.not101 = icmp eq i32 %.05384, 0
  br i1 %.not101, label %72, label %.preheader73, !llvm.loop !12

180:                                              ; preds = %72
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.preheader unwind label %184

.preheader.preheader:                             ; preds = %180
  %182 = load i8, ptr @cb, align 16, !tbaa !8, !range !10, !noundef !11
  %183 = trunc nuw i8 %182 to i1
  br i1 %183, label %186, label %196

184:                                              ; preds = %180, %72
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %359

186:                                              ; preds = %.preheader.preheader
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
          to label %188 unwind label %194

188:                                              ; preds = %186
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef nonnull @.str)
          to label %190 unwind label %194

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %189, i32 noundef 1)
          to label %192 unwind label %194

192:                                              ; preds = %190
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %196 unwind label %194

194:                                              ; preds = %356, %354, %352, %350, %345, %343, %341, %339, %334, %332, %330, %328, %323, %321, %319, %317, %313, %311, %309, %307, %302, %300, %298, %296, %291, %289, %287, %285, %280, %278, %276, %274, %270, %268, %266, %264, %259, %257, %255, %253, %248, %246, %244, %242, %237, %235, %233, %231, %227, %225, %223, %221, %216, %214, %212, %210, %205, %203, %201, %199, %192, %190, %188, %186
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %359

196:                                              ; preds = %.preheader.preheader, %192
  %197 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 1), align 1, !tbaa !8, !range !10, !noundef !11
  %198 = trunc nuw i8 %197 to i1
  br i1 %198, label %199, label %207

199:                                              ; preds = %196
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
          to label %201 unwind label %194

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %200, ptr noundef nonnull @.str)
          to label %203 unwind label %194

203:                                              ; preds = %201
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %202, i32 noundef 2)
          to label %205 unwind label %194

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

207:                                              ; preds = %205, %196
  %208 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 2), align 2, !tbaa !8, !range !10, !noundef !11
  %209 = trunc nuw i8 %208 to i1
  br i1 %209, label %210, label %218

210:                                              ; preds = %207
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
          to label %212 unwind label %194

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

214:                                              ; preds = %212
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %213, i32 noundef 3)
          to label %216 unwind label %194

216:                                              ; preds = %214
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %218 unwind label %194

218:                                              ; preds = %216, %207
  %219 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 3), align 1, !tbaa !8, !range !10, !noundef !11
  %220 = trunc nuw i8 %219 to i1
  br i1 %220, label %221, label %.preheader.1

221:                                              ; preds = %218
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 1)
          to label %223 unwind label %194

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef nonnull @.str)
          to label %225 unwind label %194

225:                                              ; preds = %223
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %224, i32 noundef 4)
          to label %227 unwind label %194

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %226, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.1 unwind label %194

.preheader.1:                                     ; preds = %227, %218
  %229 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 4), align 4, !tbaa !8, !range !10, !noundef !11
  %230 = trunc nuw i8 %229 to i1
  br i1 %230, label %231, label %239

231:                                              ; preds = %.preheader.1
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 2)
          to label %233 unwind label %194

233:                                              ; preds = %231
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull @.str)
          to label %235 unwind label %194

235:                                              ; preds = %233
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %234, i32 noundef 1)
          to label %237 unwind label %194

237:                                              ; preds = %235
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %236, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %239 unwind label %194

239:                                              ; preds = %237, %.preheader.1
  %240 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 5), align 1, !tbaa !8, !range !10, !noundef !11
  %241 = trunc nuw i8 %240 to i1
  br i1 %241, label %242, label %250

242:                                              ; preds = %239
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 2)
          to label %244 unwind label %194

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef nonnull @.str)
          to label %246 unwind label %194

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %245, i32 noundef 2)
          to label %248 unwind label %194

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %250 unwind label %194

250:                                              ; preds = %248, %239
  %251 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 6), align 2, !tbaa !8, !range !10, !noundef !11
  %252 = trunc nuw i8 %251 to i1
  br i1 %252, label %253, label %261

253:                                              ; preds = %250
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 2)
          to label %255 unwind label %194

255:                                              ; preds = %253
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %254, ptr noundef nonnull @.str)
          to label %257 unwind label %194

257:                                              ; preds = %255
  %258 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %256, i32 noundef 3)
          to label %259 unwind label %194

259:                                              ; preds = %257
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %258, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %261 unwind label %194

261:                                              ; preds = %259, %250
  %262 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 7), align 1, !tbaa !8, !range !10, !noundef !11
  %263 = trunc nuw i8 %262 to i1
  br i1 %263, label %264, label %.preheader.2

264:                                              ; preds = %261
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 2)
          to label %266 unwind label %194

266:                                              ; preds = %264
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %265, ptr noundef nonnull @.str)
          to label %268 unwind label %194

268:                                              ; preds = %266
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %267, i32 noundef 4)
          to label %270 unwind label %194

270:                                              ; preds = %268
  %271 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %269, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.2 unwind label %194

.preheader.2:                                     ; preds = %270, %261
  %272 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 8), align 8, !tbaa !8, !range !10, !noundef !11
  %273 = trunc nuw i8 %272 to i1
  br i1 %273, label %274, label %282

274:                                              ; preds = %.preheader.2
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 3)
          to label %276 unwind label %194

276:                                              ; preds = %274
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %275, ptr noundef nonnull @.str)
          to label %278 unwind label %194

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %277, i32 noundef 1)
          to label %280 unwind label %194

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %279, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %282 unwind label %194

282:                                              ; preds = %280, %.preheader.2
  %283 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 9), align 1, !tbaa !8, !range !10, !noundef !11
  %284 = trunc nuw i8 %283 to i1
  br i1 %284, label %285, label %293

285:                                              ; preds = %282
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 3)
          to label %287 unwind label %194

287:                                              ; preds = %285
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %286, ptr noundef nonnull @.str)
          to label %289 unwind label %194

289:                                              ; preds = %287
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %288, i32 noundef 2)
          to label %291 unwind label %194

291:                                              ; preds = %289
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %293 unwind label %194

293:                                              ; preds = %291, %282
  %294 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 10), align 2, !tbaa !8, !range !10, !noundef !11
  %295 = trunc nuw i8 %294 to i1
  br i1 %295, label %296, label %304

296:                                              ; preds = %293
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 3)
          to label %298 unwind label %194

298:                                              ; preds = %296
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull @.str)
          to label %300 unwind label %194

300:                                              ; preds = %298
  %301 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %299, i32 noundef 3)
          to label %302 unwind label %194

302:                                              ; preds = %300
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %301, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %304 unwind label %194

304:                                              ; preds = %302, %293
  %305 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 11), align 1, !tbaa !8, !range !10, !noundef !11
  %306 = trunc nuw i8 %305 to i1
  br i1 %306, label %307, label %.preheader.3

307:                                              ; preds = %304
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 3)
          to label %309 unwind label %194

309:                                              ; preds = %307
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %308, ptr noundef nonnull @.str)
          to label %311 unwind label %194

311:                                              ; preds = %309
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %310, i32 noundef 4)
          to label %313 unwind label %194

313:                                              ; preds = %311
  %314 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %312, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader.3 unwind label %194

.preheader.3:                                     ; preds = %313, %304
  %315 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 12), align 4, !tbaa !8, !range !10, !noundef !11
  %316 = trunc nuw i8 %315 to i1
  br i1 %316, label %317, label %325

317:                                              ; preds = %.preheader.3
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 4)
          to label %319 unwind label %194

319:                                              ; preds = %317
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %318, ptr noundef nonnull @.str)
          to label %321 unwind label %194

321:                                              ; preds = %319
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %320, i32 noundef 1)
          to label %323 unwind label %194

323:                                              ; preds = %321
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %322, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %325 unwind label %194

325:                                              ; preds = %323, %.preheader.3
  %326 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 13), align 1, !tbaa !8, !range !10, !noundef !11
  %327 = trunc nuw i8 %326 to i1
  br i1 %327, label %328, label %336

328:                                              ; preds = %325
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 4)
          to label %330 unwind label %194

330:                                              ; preds = %328
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef nonnull @.str)
          to label %332 unwind label %194

332:                                              ; preds = %330
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %331, i32 noundef 2)
          to label %334 unwind label %194

334:                                              ; preds = %332
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %336 unwind label %194

336:                                              ; preds = %334, %325
  %337 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 14), align 2, !tbaa !8, !range !10, !noundef !11
  %338 = trunc nuw i8 %337 to i1
  br i1 %338, label %339, label %347

339:                                              ; preds = %336
  %340 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 4)
          to label %341 unwind label %194

341:                                              ; preds = %339
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %340, ptr noundef nonnull @.str)
          to label %343 unwind label %194

343:                                              ; preds = %341
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %342, i32 noundef 3)
          to label %345 unwind label %194

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %347 unwind label %194

347:                                              ; preds = %345, %336
  %348 = load i8, ptr getelementptr inbounds (i8, ptr @cb, i64 15), align 1, !tbaa !8, !range !10, !noundef !11
  %349 = trunc nuw i8 %348 to i1
  br i1 %349, label %350, label %358

350:                                              ; preds = %347
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 4)
          to label %352 unwind label %194

352:                                              ; preds = %350
  %353 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %351, ptr noundef nonnull @.str)
          to label %354 unwind label %194

354:                                              ; preds = %352
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %353, i32 noundef 4)
          to label %356 unwind label %194

356:                                              ; preds = %354
  %357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %355, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %358 unwind label %194

358:                                              ; preds = %356, %347
  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
  ret i32 0

359:                                              ; preds = %184, %194, %20
  %.pn63 = phi { ptr, i32 } [ %21, %20 ], [ %195, %194 ], [ %185, %184 ]
  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 } %.pn63
}

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

declare i32 @__gxx_personality_v0(...)

; 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 #3 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

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

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


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