; LLVM IR from AdarshGaur/Competitive-Programming :: Atcoder/AtCoder Beginner Contest 250/E - Prefix Equality.ll (Z5solvev)

; 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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree.0" }
%"class.std::_Rb_tree.0" = type { %"struct.std::_Rb_tree<long, std::pair<const long, long>, std::_Select1st<std::pair<const long, long>>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, std::pair<const long, long>, std::_Select1st<std::pair<const long, long>>, std::less<long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.std::set", align 8
  %16 = alloca %"class.std::set", align 8
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::pair", align 8
  %21 = alloca %"struct.std::pair", align 8
  %22 = alloca i64, align 8
  %23 = alloca %"class.std::map", align 8
  %24 = alloca %"class.std::map", align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::pair", align 8
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %35 = load i64, ptr %1, align 8, !tbaa !5
  %36 = call ptr @llvm.stacksave.p0()
  store ptr %36, ptr %2, align 8
  %37 = alloca i64, i64 %35, align 16
  store i64 %35, ptr %3, align 8
  %38 = load i64, ptr %1, align 8, !tbaa !5
  %39 = alloca i64, i64 %38, align 16
  store i64 %38, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store ptr %37, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  store ptr %40, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = mul nuw i64 8, %35
  %43 = udiv i64 %42, 8
  %44 = getelementptr inbounds i64, ptr %41, i64 %43
  store ptr %44, ptr %7, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %54, %0
  %46 = load ptr, ptr %6, align 8, !tbaa !9
  %47 = load ptr, ptr %7, align 8, !tbaa !9
  %48 = icmp ne ptr %46, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %57

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %51 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %51, ptr %8, align 8, !tbaa !9
  %52 = load ptr, ptr %8, align 8, !tbaa !9
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %52)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %54

54:                                               ; preds = %50
  %55 = load ptr, ptr %6, align 8, !tbaa !9
  %56 = getelementptr inbounds i64, ptr %55, i32 1
  store ptr %56, ptr %6, align 8, !tbaa !9
  br label %45

57:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store ptr %39, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %58 = load ptr, ptr %9, align 8, !tbaa !9
  store ptr %58, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %59 = load ptr, ptr %9, align 8, !tbaa !9
  %60 = mul nuw i64 8, %38
  %61 = udiv i64 %60, 8
  %62 = getelementptr inbounds i64, ptr %59, i64 %61
  store ptr %62, ptr %11, align 8, !tbaa !9
  br label %63

63:                                               ; preds = %72, %57
  %64 = load ptr, ptr %10, align 8, !tbaa !9
  %65 = load ptr, ptr %11, align 8, !tbaa !9
  %66 = icmp ne ptr %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %75

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %69 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %69, ptr %12, align 8, !tbaa !9
  %70 = load ptr, ptr %12, align 8, !tbaa !9
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %70)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %72

72:                                               ; preds = %68
  %73 = load ptr, ptr %10, align 8, !tbaa !9
  %74 = getelementptr inbounds i64, ptr %73, i32 1
  store ptr %74, ptr %10, align 8, !tbaa !9
  br label %63

75:                                               ; preds = %67
  %76 = load i64, ptr %1, align 8, !tbaa !5
  %77 = alloca i64, i64 %76, align 16
  store i64 %76, ptr %13, align 8
  %78 = load i64, ptr %1, align 8, !tbaa !5
  %79 = alloca i64, i64 %78, align 16
  store i64 %78, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %16) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 0, ptr %17, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %108, %75
  %81 = load i64, ptr %17, align 8, !tbaa !5
  %82 = load i64, ptr %1, align 8, !tbaa !5
  %83 = icmp slt i64 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %115

85:                                               ; preds = %80
  %86 = load i64, ptr %17, align 8, !tbaa !5
  %87 = getelementptr inbounds i64, ptr %37, i64 %86
  %88 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %87)
          to label %89 unwind label %111

89:                                               ; preds = %85
  %90 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 0
  %91 = extractvalue { ptr, i8 } %88, 0
  store ptr %91, ptr %90, align 8
  %92 = getelementptr inbounds { ptr, i8 }, ptr %20, i32 0, i32 1
  %93 = extractvalue { ptr, i8 } %88, 1
  store i8 %93, ptr %92, align 8
  %94 = load i64, ptr %17, align 8, !tbaa !5
  %95 = getelementptr inbounds i64, ptr %39, i64 %94
  %96 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %97 unwind label %111

97:                                               ; preds = %89
  %98 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 0
  %99 = extractvalue { ptr, i8 } %96, 0
  store ptr %99, ptr %98, align 8
  %100 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 1
  %101 = extractvalue { ptr, i8 } %96, 1
  store i8 %101, ptr %100, align 8
  %102 = call noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  %103 = load i64, ptr %17, align 8, !tbaa !5
  %104 = getelementptr inbounds i64, ptr %77, i64 %103
  store i64 %102, ptr %104, align 8, !tbaa !5
  %105 = call noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  %106 = load i64, ptr %17, align 8, !tbaa !5
  %107 = getelementptr inbounds i64, ptr %79, i64 %106
  store i64 %105, ptr %107, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %97
  %109 = load i64, ptr %17, align 8, !tbaa !5
  %110 = add nsw i64 %109, 1
  store i64 %110, ptr %17, align 8, !tbaa !5
  br label %80, !llvm.loop !11

111:                                              ; preds = %89, %85
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %18, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %292

115:                                              ; preds = %84
  call void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store i64 0, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  %116 = load i64, ptr %1, align 8, !tbaa !5
  %117 = add nsw i64 %116, 7
  %118 = alloca i8, i64 %117, align 16
  store i64 %117, ptr %25, align 8
  call void @llvm.memset.p0.i64(ptr align 16 %118, i8 0, i64 %117, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %236, %115
  %120 = load i64, ptr %26, align 8, !tbaa !5
  %121 = load i64, ptr %1, align 8, !tbaa !5
  %122 = icmp slt i64 %120, %121
  br i1 %122, label %123, label %127

123:                                              ; preds = %119
  %124 = load i64, ptr %27, align 8, !tbaa !5
  %125 = load i64, ptr %1, align 8, !tbaa !5
  %126 = icmp slt i64 %124, %125
  br label %127

127:                                              ; preds = %123, %119
  %128 = phi i1 [ false, %119 ], [ %126, %123 ]
  br i1 %128, label %130, label %129

129:                                              ; preds = %127
  store i32 9, ptr %28, align 4
  br label %237

130:                                              ; preds = %127
  br label %131

131:                                              ; preds = %143, %130
  %132 = load i64, ptr %26, align 8, !tbaa !5
  %133 = load i64, ptr %1, align 8, !tbaa !5
  %134 = icmp slt i64 %132, %133
  br i1 %134, label %135, label %141

135:                                              ; preds = %131
  %136 = load i64, ptr %26, align 8, !tbaa !5
  %137 = getelementptr inbounds i64, ptr %37, i64 %136
  %138 = invoke noundef i64 @_ZNKSt3mapIllSt4lessIlESaISt4pairIKllEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull align 8 dereferenceable(8) %137)
          to label %139 unwind label %146

139:                                              ; preds = %135
  %140 = icmp ne i64 %138, 0
  br label %141

141:                                              ; preds = %139, %131
  %142 = phi i1 [ false, %131 ], [ %140, %139 ]
  br i1 %142, label %143, label %150

143:                                              ; preds = %141
  %144 = load i64, ptr %26, align 8, !tbaa !5
  %145 = add nsw i64 %144, 1
  store i64 %145, ptr %26, align 8, !tbaa !5
  br label %131, !llvm.loop !13

146:                                              ; preds = %220, %215, %209, %200, %195, %185, %179, %175, %155, %135
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %18, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %291

150:                                              ; preds = %141
  br label %151

151:                                              ; preds = %163, %150
  %152 = load i64, ptr %27, align 8, !tbaa !5
  %153 = load i64, ptr %1, align 8, !tbaa !5
  %154 = icmp slt i64 %152, %153
  br i1 %154, label %155, label %161

155:                                              ; preds = %151
  %156 = load i64, ptr %27, align 8, !tbaa !5
  %157 = getelementptr inbounds i64, ptr %39, i64 %156
  %158 = invoke noundef i64 @_ZNKSt3mapIllSt4lessIlESaISt4pairIKllEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(8) %157)
          to label %159 unwind label %146

159:                                              ; preds = %155
  %160 = icmp ne i64 %158, 0
  br label %161

161:                                              ; preds = %159, %151
  %162 = phi i1 [ false, %151 ], [ %160, %159 ]
  br i1 %162, label %163, label %166

163:                                              ; preds = %161
  %164 = load i64, ptr %27, align 8, !tbaa !5
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %27, align 8, !tbaa !5
  br label %151, !llvm.loop !14

166:                                              ; preds = %161
  %167 = load i64, ptr %26, align 8, !tbaa !5
  %168 = load i64, ptr %1, align 8, !tbaa !5
  %169 = icmp eq i64 %167, %168
  br i1 %169, label %174, label %170

170:                                              ; preds = %166
  %171 = load i64, ptr %27, align 8, !tbaa !5
  %172 = load i64, ptr %1, align 8, !tbaa !5
  %173 = icmp eq i64 %171, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %170, %166
  store i32 9, ptr %28, align 4
  br label %237

175:                                              ; preds = %170
  %176 = load i64, ptr %26, align 8, !tbaa !5
  %177 = getelementptr inbounds i64, ptr %37, i64 %176
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef nonnull align 8 dereferenceable(8) %177)
          to label %179 unwind label %146

179:                                              ; preds = %175
  %180 = load i64, ptr %178, align 8, !tbaa !5
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %178, align 8, !tbaa !5
  %182 = load i64, ptr %27, align 8, !tbaa !5
  %183 = getelementptr inbounds i64, ptr %39, i64 %182
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 8 dereferenceable(8) %183)
          to label %185 unwind label %146

185:                                              ; preds = %179
  %186 = load i64, ptr %184, align 8, !tbaa !5
  %187 = add nsw i64 %186, 1
  store i64 %187, ptr %184, align 8, !tbaa !5
  %188 = load i64, ptr %22, align 8, !tbaa !5
  %189 = add nsw i64 %188, 1
  store i64 %189, ptr %22, align 8, !tbaa !5
  %190 = load i64, ptr %27, align 8, !tbaa !5
  %191 = getelementptr inbounds i64, ptr %39, i64 %190
  %192 = invoke noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE5countERKl(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %191)
          to label %193 unwind label %146

193:                                              ; preds = %185
  %194 = icmp ne i64 %192, 0
  br i1 %194, label %195, label %200

195:                                              ; preds = %193
  %196 = load i64, ptr %27, align 8, !tbaa !5
  %197 = getelementptr inbounds i64, ptr %39, i64 %196
  %198 = invoke noundef i64 @_ZNSt3setIlSt4lessIlESaIlEE5eraseERKl(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %197)
          to label %199 unwind label %146

199:                                              ; preds = %195
  br label %209

200:                                              ; preds = %193
  %201 = load i64, ptr %27, align 8, !tbaa !5
  %202 = getelementptr inbounds i64, ptr %39, i64 %201
  %203 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(8) %202)
          to label %204 unwind label %146

204:                                              ; preds = %200
  %205 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 0
  %206 = extractvalue { ptr, i8 } %203, 0
  store ptr %206, ptr %205, align 8
  %207 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 1
  %208 = extractvalue { ptr, i8 } %203, 1
  store i8 %208, ptr %207, align 8
  br label %209

209:                                              ; preds = %204, %199
  %210 = load i64, ptr %26, align 8, !tbaa !5
  %211 = getelementptr inbounds i64, ptr %37, i64 %210
  %212 = invoke noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE5countERKl(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(8) %211)
          to label %213 unwind label %146

213:                                              ; preds = %209
  %214 = icmp ne i64 %212, 0
  br i1 %214, label %215, label %220

215:                                              ; preds = %213
  %216 = load i64, ptr %26, align 8, !tbaa !5
  %217 = getelementptr inbounds i64, ptr %37, i64 %216
  %218 = invoke noundef i64 @_ZNSt3setIlSt4lessIlESaIlEE5eraseERKl(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(8) %217)
          to label %219 unwind label %146

219:                                              ; preds = %215
  br label %229

220:                                              ; preds = %213
  %221 = load i64, ptr %26, align 8, !tbaa !5
  %222 = getelementptr inbounds i64, ptr %37, i64 %221
  %223 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 8 dereferenceable(8) %222)
          to label %224 unwind label %146

224:                                              ; preds = %220
  %225 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 0
  %226 = extractvalue { ptr, i8 } %223, 0
  store ptr %226, ptr %225, align 8
  %227 = getelementptr inbounds { ptr, i8 }, ptr %30, i32 0, i32 1
  %228 = extractvalue { ptr, i8 } %223, 1
  store i8 %228, ptr %227, align 8
  br label %229

229:                                              ; preds = %224, %219
  %230 = call noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br i1 %230, label %231, label %236

231:                                              ; preds = %229
  %232 = call noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  br i1 %232, label %233, label %236

233:                                              ; preds = %231
  %234 = load i64, ptr %22, align 8, !tbaa !5
  %235 = getelementptr inbounds i8, ptr %118, i64 %234
  store i8 1, ptr %235, align 1, !tbaa !15
  br label %236

236:                                              ; preds = %233, %231, %229
  br label %119, !llvm.loop !17

237:                                              ; preds = %174, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %238

238:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %239 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %240 unwind label %266

240:                                              ; preds = %238
  br label %241

241:                                              ; preds = %287, %240
  %242 = load i64, ptr %31, align 8, !tbaa !5
  %243 = add nsw i64 %242, -1
  store i64 %243, ptr %31, align 8, !tbaa !5
  %244 = icmp ne i64 %242, 0
  br i1 %244, label %245, label %288

245:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %246 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %247 unwind label %270

247:                                              ; preds = %245
  %248 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %246, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %249 unwind label %270

249:                                              ; preds = %247
  %250 = load i64, ptr %32, align 8, !tbaa !5
  %251 = add nsw i64 %250, -1
  store i64 %251, ptr %32, align 8, !tbaa !5
  %252 = load i64, ptr %33, align 8, !tbaa !5
  %253 = add nsw i64 %252, -1
  store i64 %253, ptr %33, align 8, !tbaa !5
  %254 = load i64, ptr %32, align 8, !tbaa !5
  %255 = getelementptr inbounds i64, ptr %77, i64 %254
  %256 = load i64, ptr %255, align 8, !tbaa !5
  %257 = load i64, ptr %33, align 8, !tbaa !5
  %258 = getelementptr inbounds i64, ptr %79, i64 %257
  %259 = load i64, ptr %258, align 8, !tbaa !5
  %260 = icmp ne i64 %256, %259
  br i1 %260, label %261, label %274

261:                                              ; preds = %249
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %263 unwind label %270

263:                                              ; preds = %261
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef @.str.1)
          to label %265 unwind label %270

265:                                              ; preds = %263
  br label %287

266:                                              ; preds = %238
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %18, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %19, align 4
  br label %290

270:                                              ; preds = %284, %274, %263, %261, %247, %245
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %18, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %290

274:                                              ; preds = %249
  %275 = load i64, ptr %32, align 8, !tbaa !5
  %276 = getelementptr inbounds i64, ptr %77, i64 %275
  %277 = load i64, ptr %276, align 8, !tbaa !5
  %278 = getelementptr inbounds i8, ptr %118, i64 %277
  %279 = load i8, ptr %278, align 1, !tbaa !15, !range !18, !noundef !19
  %280 = trunc i8 %279 to i1
  %281 = zext i1 %280 to i64
  %282 = select i1 %280, ptr @.str.2, ptr @.str
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef %282)
          to label %284 unwind label %270

284:                                              ; preds = %274
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef @.str.1)
          to label %286 unwind label %270

286:                                              ; preds = %284
  br label %287

287:                                              ; preds = %286, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %241, !llvm.loop !20

288:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  %289 = load ptr, ptr %2, align 8
  call void @llvm.stackrestore.p0(ptr %289)
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void

290:                                              ; preds = %270, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %291

291:                                              ; preds = %290, %146
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %292

292:                                              ; preds = %291, %111
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %16) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %293

293:                                              ; preds = %292
  %294 = load ptr, ptr %18, align 8
  %295 = load i32, ptr %19, align 4
  %296 = insertvalue { ptr, i32 } poison, ptr %294, 0
  %297 = insertvalue { ptr, i32 } %296, i32 %295, 1
  resume { ptr, i32 } %297
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { nocallback nofree nosync nounwind willreturn }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nounwind }

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

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


; 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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, long, std::_Identity<long>, std::less<long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree.0" }
%"class.std::_Rb_tree.0" = type { %"struct.std::_Rb_tree<long, std::pair<const long, long>, std::_Select1st<std::pair<const long, long>>, std::less<long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<long, std::pair<const long, long>, std::_Select1st<std::pair<const long, long>>, std::less<long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca %"class.std::set", align 8
  %3 = alloca %"class.std::set", align 8
  %4 = alloca %"class.std::map", align 8
  %5 = alloca %"class.std::map", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %10 = load i64, ptr %1, align 8, !tbaa !5
  %11 = call ptr @llvm.stacksave.p0()
  %12 = alloca i64, i64 %10, align 16
  %13 = load i64, ptr %1, align 8, !tbaa !5
  %14 = alloca i64, i64 %13, align 16
  %15 = getelementptr inbounds i64, ptr %12, i64 %10
  %.not80 = icmp eq i64 %10, 0
  br i1 %.not80, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %0
  %16 = getelementptr inbounds i64, ptr %14, i64 %13
  %.not6382 = icmp eq i64 %13, 0
  br i1 %.not6382, label %._crit_edge86, label %.lr.ph85

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.081 = phi ptr [ %18, %.lr.ph ], [ %12, %0 ]
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %.081)
  %18 = getelementptr inbounds i8, ptr %.081, i64 8
  %.not = icmp eq ptr %18, %15
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge86:                                    ; preds = %.lr.ph85, %._crit_edge
  %19 = load i64, ptr %1, align 8, !tbaa !5
  %20 = alloca i64, i64 %19, align 16
  %21 = alloca i64, i64 %19, align 16
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  %22 = load i64, ptr %1, align 8, !tbaa !5
  %23 = icmp sgt i64 %22, 0
  br i1 %23, label %.lr.ph89, label %._crit_edge90

.lr.ph85:                                         ; preds = %._crit_edge, %.lr.ph85
  %.05083 = phi ptr [ %25, %.lr.ph85 ], [ %14, %._crit_edge ]
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %.05083)
  %25 = getelementptr inbounds i8, ptr %.05083, i64 8
  %.not63 = icmp eq ptr %25, %16
  br i1 %.not63, label %._crit_edge86, label %.lr.ph85

._crit_edge90:                                    ; preds = %35, %._crit_edge86
  call void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  %26 = load i64, ptr %1, align 8
  %27 = add nsw i64 %26, 7
  %28 = alloca i8, i64 %27, align 16
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %28, i8 0, i64 %27, i1 false)
  %29 = icmp sgt i64 %26, 0
  br i1 %29, label %.preheader74, label %.critedge2._crit_edge

.lr.ph89:                                         ; preds = %._crit_edge86, %35
  %.05187 = phi i64 [ %40, %35 ], [ 0, %._crit_edge86 ]
  %30 = getelementptr inbounds i64, ptr %12, i64 %.05187
  %31 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %32 unwind label %43

32:                                               ; preds = %.lr.ph89
  %33 = getelementptr inbounds i64, ptr %14, i64 %.05187
  %34 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %35 unwind label %43

35:                                               ; preds = %32
  %36 = call noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  %37 = getelementptr inbounds i64, ptr %20, i64 %.05187
  store i64 %36, ptr %37, align 8, !tbaa !5
  %38 = call noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  %39 = getelementptr inbounds i64, ptr %21, i64 %.05187
  store i64 %38, ptr %39, align 8, !tbaa !5
  %40 = add nuw nsw i64 %.05187, 1
  %41 = load i64, ptr %1, align 8, !tbaa !5
  %42 = icmp slt i64 %40, %41
  br i1 %42, label %.lr.ph89, label %._crit_edge90, !llvm.loop !9

43:                                               ; preds = %32, %.lr.ph89
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %131

.preheader74:                                     ; preds = %._crit_edge90, %95
  %45 = phi i64 [ %96, %95 ], [ %26, %._crit_edge90 ]
  %.053102 = phi i64 [ %.154.lcssa, %95 ], [ 0, %._crit_edge90 ]
  %.055101 = phi i64 [ %.156.lcssa, %95 ], [ 0, %._crit_edge90 ]
  %.060100 = phi i64 [ %75, %95 ], [ 0, %._crit_edge90 ]
  %46 = icmp slt i64 %.055101, %45
  br i1 %46, label %.lr.ph92, label %.critedge

.lr.ph92:                                         ; preds = %.preheader74, %50
  %.15691 = phi i64 [ %51, %50 ], [ %.055101, %.preheader74 ]
  %47 = getelementptr inbounds i64, ptr %12, i64 %.15691
  %48 = invoke noundef i64 @_ZNKSt3mapIllSt4lessIlESaISt4pairIKllEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %49 unwind label %.loopexit.split-lp.loopexit

49:                                               ; preds = %.lr.ph92
  %.not64 = icmp eq i64 %48, 0
  %.pre.pre = load i64, ptr %1, align 8, !tbaa !5
  br i1 %.not64, label %.critedge, label %50

50:                                               ; preds = %49
  %51 = add nsw i64 %.15691, 1
  %52 = icmp slt i64 %51, %.pre.pre
  br i1 %52, label %.lr.ph92, label %.critedge, !llvm.loop !11

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

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

.loopexit.split-lp.loopexit.split-lp:             ; preds = %87, %85, %82, %80, %78, %72, %67, %64
  %lpad.loopexit.split-lp76 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.critedge:                                        ; preds = %49, %50, %.preheader74
  %53 = phi i64 [ %45, %.preheader74 ], [ %.pre.pre, %50 ], [ %.pre.pre, %49 ]
  %.156.lcssa = phi i64 [ %.055101, %.preheader74 ], [ %.15691, %49 ], [ %51, %50 ]
  %54 = icmp slt i64 %.053102, %53
  br i1 %54, label %.lr.ph96, label %.critedge2

.lr.ph96:                                         ; preds = %.critedge, %58
  %.15495 = phi i64 [ %59, %58 ], [ %.053102, %.critedge ]
  %55 = getelementptr inbounds i64, ptr %14, i64 %.15495
  %56 = invoke noundef i64 @_ZNKSt3mapIllSt4lessIlESaISt4pairIKllEEE5countERS3_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %57 unwind label %.loopexit

57:                                               ; preds = %.lr.ph96
  %.not65 = icmp eq i64 %56, 0
  %.pre107.pre = load i64, ptr %1, align 8, !tbaa !5
  br i1 %.not65, label %.critedge2, label %58

58:                                               ; preds = %57
  %59 = add nsw i64 %.15495, 1
  %60 = icmp slt i64 %59, %.pre107.pre
  br i1 %60, label %.lr.ph96, label %.critedge2, !llvm.loop !12

.critedge2:                                       ; preds = %57, %58, %.critedge
  %61 = phi i64 [ %53, %.critedge ], [ %.pre107.pre, %58 ], [ %.pre107.pre, %57 ]
  %.154.lcssa = phi i64 [ %.053102, %.critedge ], [ %.15495, %57 ], [ %59, %58 ]
  %62 = icmp eq i64 %.156.lcssa, %61
  %63 = icmp eq i64 %.154.lcssa, %61
  %or.cond = or i1 %62, %63
  br i1 %or.cond, label %.critedge2._crit_edge, label %64

64:                                               ; preds = %.critedge2
  %65 = getelementptr inbounds i64, ptr %12, i64 %.156.lcssa
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %67 unwind label %.loopexit.split-lp.loopexit.split-lp

67:                                               ; preds = %64
  %68 = load i64, ptr %66, align 8, !tbaa !5
  %69 = add nsw i64 %68, 1
  store i64 %69, ptr %66, align 8, !tbaa !5
  %70 = getelementptr inbounds i64, ptr %14, i64 %.154.lcssa
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %72 unwind label %.loopexit.split-lp.loopexit.split-lp

72:                                               ; preds = %67
  %73 = load i64, ptr %71, align 8, !tbaa !5
  %74 = add nsw i64 %73, 1
  store i64 %74, ptr %71, align 8, !tbaa !5
  %75 = add nuw nsw i64 %.060100, 1
  %76 = invoke noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE5countERKl(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %77 unwind label %.loopexit.split-lp.loopexit.split-lp

77:                                               ; preds = %72
  %.not66 = icmp eq i64 %76, 0
  br i1 %.not66, label %80, label %78

78:                                               ; preds = %77
  %79 = invoke noundef i64 @_ZNSt3setIlSt4lessIlESaIlEE5eraseERKl(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %82 unwind label %.loopexit.split-lp.loopexit.split-lp

80:                                               ; preds = %77
  %81 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %82 unwind label %.loopexit.split-lp.loopexit.split-lp

82:                                               ; preds = %80, %78
  %83 = invoke noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE5countERKl(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %84 unwind label %.loopexit.split-lp.loopexit.split-lp

84:                                               ; preds = %82
  %.not67 = icmp eq i64 %83, 0
  br i1 %.not67, label %87, label %85

85:                                               ; preds = %84
  %86 = invoke noundef i64 @_ZNSt3setIlSt4lessIlESaIlEE5eraseERKl(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %89 unwind label %.loopexit.split-lp.loopexit.split-lp

87:                                               ; preds = %84
  %88 = invoke { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %89 unwind label %.loopexit.split-lp.loopexit.split-lp

89:                                               ; preds = %87, %85
  %90 = call noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br i1 %90, label %91, label %95

91:                                               ; preds = %89
  %92 = call noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  br i1 %92, label %93, label %95

93:                                               ; preds = %91
  %94 = getelementptr inbounds i8, ptr %28, i64 %75
  store i8 1, ptr %94, align 1, !tbaa !13
  br label %95

95:                                               ; preds = %93, %91, %89
  %96 = load i64, ptr %1, align 8
  %97 = icmp slt i64 %.156.lcssa, %96
  %98 = icmp slt i64 %.154.lcssa, %96
  %99 = and i1 %97, %98
  br i1 %99, label %.preheader74, label %.critedge2._crit_edge, !llvm.loop !15

.critedge2._crit_edge:                            ; preds = %95, %.critedge2, %._crit_edge90
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %100 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %.preheader unwind label %115

.preheader:                                       ; preds = %.critedge2._crit_edge
  %101 = load i64, ptr %6, align 8, !tbaa !5
  %102 = add nsw i64 %101, -1
  store i64 %102, ptr %6, align 8, !tbaa !5
  %.not68104 = icmp eq i64 %101, 0
  br i1 %.not68104, label %._crit_edge106, label %.lr.ph105

.lr.ph105:                                        ; preds = %.preheader, %127
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %103 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %104 unwind label %117

104:                                              ; preds = %.lr.ph105
  %105 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) %103, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %106 unwind label %117

106:                                              ; preds = %104
  %107 = load i64, ptr %7, align 8, !tbaa !5
  %108 = add nsw i64 %107, -1
  store i64 %108, ptr %7, align 8, !tbaa !5
  %109 = load i64, ptr %8, align 8, !tbaa !5
  %110 = add nsw i64 %109, -1
  store i64 %110, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds i64, ptr %20, i64 %108
  %112 = load i64, ptr %111, align 8, !tbaa !5
  %113 = getelementptr inbounds i64, ptr %21, i64 %110
  %114 = load i64, ptr %113, align 8, !tbaa !5
  %.not69 = icmp eq i64 %112, %114
  br i1 %.not69, label %119, label %.invoke108

115:                                              ; preds = %.critedge2._crit_edge
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %130

117:                                              ; preds = %.invoke108, %.invoke, %104, %.lr.ph105
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %130

119:                                              ; preds = %106
  %120 = getelementptr inbounds i8, ptr %28, i64 %112
  %121 = load i8, ptr %120, align 1, !tbaa !13, !range !16, !noundef !17
  %122 = trunc nuw i8 %121 to i1
  %123 = select i1 %122, ptr @.str.2, ptr @.str
  br label %.invoke108

.invoke108:                                       ; preds = %106, %119
  %124 = phi ptr [ %123, %119 ], [ @.str, %106 ]
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %124)
          to label %.invoke unwind label %117

.invoke:                                          ; preds = %.invoke108
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull @.str.1)
          to label %127 unwind label %117

127:                                              ; preds = %.invoke
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %128 = load i64, ptr %6, align 8, !tbaa !5
  %129 = add nsw i64 %128, -1
  store i64 %129, ptr %6, align 8, !tbaa !5
  %.not68 = icmp eq i64 %128, 0
  br i1 %.not68, label %._crit_edge106, label %.lr.ph105, !llvm.loop !18

._crit_edge106:                                   ; preds = %127, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.stackrestore.p0(ptr %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret void

130:                                              ; preds = %117, %115
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %130
  %.pn.pn = phi { ptr, i32 } [ %.pn, %130 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit75, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp76, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  call void @_ZNSt3mapIllSt4lessIlESaISt4pairIKllEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  br label %131

131:                                              ; preds = %.loopexit.split-lp, %43
  %.pn72 = phi { ptr, i32 } [ %44, %43 ], [ %.pn.pn, %.loopexit.split-lp ]
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @_ZNSt3setIlSt4lessIlESaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn72
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIlSt4lessIlESaIlEE6insertERKl(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt3setIlSt4lessIlESaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3setIlSt4lessIlESaIlEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt3setIlSt4lessIlESaIlEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 nocallback nofree nosync nounwind willreturn }
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 nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nounwind }

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

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


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