; LLVM IR from MinhasKamal/AlgorithmImplementations :: dataStructures/tree (BinaryHeap)

; 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" }
%struct.node = type { i32, [2 x ptr], ptr }

@__const.main.array = external hidden unnamed_addr constant [18 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [18 x i32], align 16
  %4 = alloca [100 x %struct.node], align 16
  %5 = alloca i32, align 4
  %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 i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 18, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.array, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 3200, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %54, %0
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = icmp slt i32 %32, 100
  br i1 %33, label %35, label %34

34:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %57

35:                                               ; preds = %31
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %37
  %39 = getelementptr inbounds %struct.node, ptr %38, i32 0, i32 0
  store i32 -4200, ptr %39, align 16, !tbaa !9
  %40 = load i32, ptr %5, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %41
  %43 = getelementptr inbounds %struct.node, ptr %42, i32 0, i32 1
  %44 = getelementptr inbounds [2 x ptr], ptr %43, i64 0, i64 0
  store ptr null, ptr %44, align 8, !tbaa !12
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %46
  %48 = getelementptr inbounds %struct.node, ptr %47, i32 0, i32 1
  %49 = getelementptr inbounds [2 x ptr], ptr %48, i64 0, i64 1
  store ptr null, ptr %49, align 8, !tbaa !12
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %51
  %53 = getelementptr inbounds %struct.node, ptr %52, i32 0, i32 2
  store ptr null, ptr %53, align 8, !tbaa !13
  br label %54

54:                                               ; preds = %35
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %5, align 4, !tbaa !5
  br label %31, !llvm.loop !14

57:                                               ; preds = %34
  %58 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 0
  %59 = load i32, ptr %58, align 16, !tbaa !5
  %60 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %61 = getelementptr inbounds %struct.node, ptr %60, i32 0, i32 0
  store i32 %59, ptr %61, align 16, !tbaa !9
  %62 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 1
  %63 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %64 = getelementptr inbounds %struct.node, ptr %63, i32 0, i32 1
  %65 = getelementptr inbounds [2 x ptr], ptr %64, i64 0, i64 0
  store ptr %62, ptr %65, align 8, !tbaa !12
  %66 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 2
  %67 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %68 = getelementptr inbounds %struct.node, ptr %67, i32 0, i32 1
  %69 = getelementptr inbounds [2 x ptr], ptr %68, i64 0, i64 1
  store ptr %66, ptr %69, align 8, !tbaa !12
  %70 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %71 = getelementptr inbounds %struct.node, ptr %70, i32 0, i32 2
  store ptr null, ptr %71, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %167, %57
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = load i32, ptr %2, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %170

77:                                               ; preds = %72
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = load i32, ptr %6, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %83
  %85 = getelementptr inbounds %struct.node, ptr %84, i32 0, i32 0
  store i32 %81, ptr %85, align 16, !tbaa !9
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = mul nsw i32 2, %86
  %88 = add nsw i32 %87, 1
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %89
  %91 = load i32, ptr %6, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %92
  %94 = getelementptr inbounds %struct.node, ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds [2 x ptr], ptr %94, i64 0, i64 0
  store ptr %90, ptr %95, align 8, !tbaa !12
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = mul nsw i32 2, %96
  %98 = add nsw i32 %97, 2
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %99
  %101 = load i32, ptr %6, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %102
  %104 = getelementptr inbounds %struct.node, ptr %103, i32 0, i32 1
  %105 = getelementptr inbounds [2 x ptr], ptr %104, i64 0, i64 1
  store ptr %100, ptr %105, align 8, !tbaa !12
  %106 = load i32, ptr %6, align 4, !tbaa !5
  %107 = sub nsw i32 %106, 1
  %108 = sdiv i32 %107, 2
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %109
  %111 = load i32, ptr %6, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %112
  %114 = getelementptr inbounds %struct.node, ptr %113, i32 0, i32 2
  store ptr %110, ptr %114, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %115 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %115, ptr %7, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %165, %77
  %117 = load i32, ptr %7, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %118
  %120 = getelementptr inbounds %struct.node, ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !13
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %166

123:                                              ; preds = %116
  %124 = load i32, ptr %7, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %125
  %127 = getelementptr inbounds %struct.node, ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 16, !tbaa !9
  %129 = load i32, ptr %7, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %130
  %132 = getelementptr inbounds %struct.node, ptr %131, i32 0, i32 2
  %133 = load ptr, ptr %132, align 8, !tbaa !13
  %134 = getelementptr inbounds %struct.node, ptr %133, i32 0, i32 0
  %135 = load i32, ptr %134, align 8, !tbaa !9
  %136 = icmp slt i32 %128, %135
  br i1 %136, label %137, label %164

137:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %138 = load i32, ptr %7, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.node, ptr %140, i32 0, i32 0
  %142 = load i32, ptr %141, align 16, !tbaa !9
  store i32 %142, ptr %8, align 4, !tbaa !5
  %143 = load i32, ptr %7, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %144
  %146 = getelementptr inbounds %struct.node, ptr %145, i32 0, i32 2
  %147 = load ptr, ptr %146, align 8, !tbaa !13
  %148 = getelementptr inbounds %struct.node, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 8, !tbaa !9
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %151
  %153 = getelementptr inbounds %struct.node, ptr %152, i32 0, i32 0
  store i32 %149, ptr %153, align 16, !tbaa !9
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %156
  %158 = getelementptr inbounds %struct.node, ptr %157, i32 0, i32 2
  %159 = load ptr, ptr %158, align 8, !tbaa !13
  %160 = getelementptr inbounds %struct.node, ptr %159, i32 0, i32 0
  store i32 %154, ptr %160, align 8, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !5
  %162 = sub nsw i32 %161, 1
  %163 = sdiv i32 %162, 2
  store i32 %163, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %165

164:                                              ; preds = %123
  br label %166

165:                                              ; preds = %137
  br label %116, !llvm.loop !16

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

167:                                              ; preds = %166
  %168 = load i32, ptr %6, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %6, align 4, !tbaa !5
  br label %72, !llvm.loop !17

170:                                              ; preds = %76
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %184, %170
  %173 = load i32, ptr %9, align 4, !tbaa !5
  %174 = load i32, ptr %2, align 4, !tbaa !5
  %175 = icmp slt i32 %173, %174
  br i1 %175, label %177, label %176

176:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %187

177:                                              ; preds = %172
  %178 = load i32, ptr %9, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %179
  %181 = getelementptr inbounds %struct.node, ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 16, !tbaa !9
  %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %182)
  br label %184

184:                                              ; preds = %177
  %185 = load i32, ptr %9, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %9, align 4, !tbaa !5
  br label %172, !llvm.loop !18

187:                                              ; preds = %176
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %189 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %189, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %729, %187
  %191 = load i32, ptr %11, align 4, !tbaa !5
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %730

193:                                              ; preds = %190
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %197 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %198 = load i32, ptr %11, align 4, !tbaa !5
  %199 = icmp eq i32 %198, 1
  br i1 %199, label %200, label %206

200:                                              ; preds = %193
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %202 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %203 = getelementptr inbounds %struct.node, ptr %202, i32 0, i32 0
  %204 = load i32, ptr %203, align 16, !tbaa !9
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %201, i32 noundef %204)
  br label %729

206:                                              ; preds = %193
  %207 = load i32, ptr %11, align 4, !tbaa !5
  %208 = icmp eq i32 %207, 2
  br i1 %208, label %209, label %345

209:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %210 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %211 = getelementptr inbounds %struct.node, ptr %210, i32 0, i32 0
  %212 = load i32, ptr %211, align 16, !tbaa !9
  store i32 %212, ptr %12, align 4, !tbaa !5
  %213 = load i32, ptr %10, align 4, !tbaa !5
  %214 = sub nsw i32 %213, 1
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %215
  %217 = getelementptr inbounds %struct.node, ptr %216, i32 0, i32 0
  %218 = load i32, ptr %217, align 16, !tbaa !9
  %219 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 0
  %220 = getelementptr inbounds %struct.node, ptr %219, i32 0, i32 0
  store i32 %218, ptr %220, align 16, !tbaa !9
  %221 = load i32, ptr %12, align 4, !tbaa !5
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = sub nsw i32 %222, 1
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %224
  %226 = getelementptr inbounds %struct.node, ptr %225, i32 0, i32 0
  store i32 %221, ptr %226, align 16, !tbaa !9
  %227 = load i32, ptr %10, align 4, !tbaa !5
  %228 = add nsw i32 %227, -1
  store i32 %228, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %229

229:                                              ; preds = %342, %209
  %230 = load i32, ptr %13, align 4, !tbaa !5
  %231 = mul nsw i32 2, %230
  %232 = load i32, ptr %10, align 4, !tbaa !5
  %233 = icmp slt i32 %231, %232
  br i1 %233, label %234, label %343

234:                                              ; preds = %229
  %235 = load i32, ptr %13, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %236
  %238 = getelementptr inbounds %struct.node, ptr %237, i32 0, i32 0
  %239 = load i32, ptr %238, align 16, !tbaa !9
  %240 = load i32, ptr %13, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %241
  %243 = getelementptr inbounds %struct.node, ptr %242, i32 0, i32 1
  %244 = getelementptr inbounds [2 x ptr], ptr %243, i64 0, i64 1
  %245 = load ptr, ptr %244, align 8, !tbaa !12
  %246 = getelementptr inbounds %struct.node, ptr %245, i32 0, i32 0
  %247 = load i32, ptr %246, align 8, !tbaa !9
  %248 = icmp sgt i32 %239, %247
  br i1 %248, label %249, label %296

249:                                              ; preds = %234
  %250 = load i32, ptr %13, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %251
  %253 = getelementptr inbounds %struct.node, ptr %252, i32 0, i32 1
  %254 = getelementptr inbounds [2 x ptr], ptr %253, i64 0, i64 1
  %255 = load ptr, ptr %254, align 8, !tbaa !12
  %256 = getelementptr inbounds %struct.node, ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 8, !tbaa !9
  %258 = load i32, ptr %13, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %259
  %261 = getelementptr inbounds %struct.node, ptr %260, i32 0, i32 1
  %262 = getelementptr inbounds [2 x ptr], ptr %261, i64 0, i64 0
  %263 = load ptr, ptr %262, align 8, !tbaa !12
  %264 = getelementptr inbounds %struct.node, ptr %263, i32 0, i32 0
  %265 = load i32, ptr %264, align 8, !tbaa !9
  %266 = icmp sle i32 %257, %265
  br i1 %266, label %267, label %296

267:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %268 = load i32, ptr %13, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %269
  %271 = getelementptr inbounds %struct.node, ptr %270, i32 0, i32 0
  %272 = load i32, ptr %271, align 16, !tbaa !9
  store i32 %272, ptr %14, align 4, !tbaa !5
  %273 = load i32, ptr %13, align 4, !tbaa !5
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %274
  %276 = getelementptr inbounds %struct.node, ptr %275, i32 0, i32 1
  %277 = getelementptr inbounds [2 x ptr], ptr %276, i64 0, i64 1
  %278 = load ptr, ptr %277, align 8, !tbaa !12
  %279 = getelementptr inbounds %struct.node, ptr %278, i32 0, i32 0
  %280 = load i32, ptr %279, align 8, !tbaa !9
  %281 = load i32, ptr %13, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %282
  %284 = getelementptr inbounds %struct.node, ptr %283, i32 0, i32 0
  store i32 %280, ptr %284, align 16, !tbaa !9
  %285 = load i32, ptr %14, align 4, !tbaa !5
  %286 = load i32, ptr %13, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %287
  %289 = getelementptr inbounds %struct.node, ptr %288, i32 0, i32 1
  %290 = getelementptr inbounds [2 x ptr], ptr %289, i64 0, i64 1
  %291 = load ptr, ptr %290, align 8, !tbaa !12
  %292 = getelementptr inbounds %struct.node, ptr %291, i32 0, i32 0
  store i32 %285, ptr %292, align 8, !tbaa !9
  %293 = load i32, ptr %13, align 4, !tbaa !5
  %294 = mul nsw i32 2, %293
  %295 = add nsw i32 %294, 2
  store i32 %295, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %342

296:                                              ; preds = %249, %234
  %297 = load i32, ptr %13, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %298
  %300 = getelementptr inbounds %struct.node, ptr %299, i32 0, i32 0
  %301 = load i32, ptr %300, align 16, !tbaa !9
  %302 = load i32, ptr %13, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %303
  %305 = getelementptr inbounds %struct.node, ptr %304, i32 0, i32 1
  %306 = getelementptr inbounds [2 x ptr], ptr %305, i64 0, i64 0
  %307 = load ptr, ptr %306, align 8, !tbaa !12
  %308 = getelementptr inbounds %struct.node, ptr %307, i32 0, i32 0
  %309 = load i32, ptr %308, align 8, !tbaa !9
  %310 = icmp sgt i32 %301, %309
  br i1 %310, label %311, label %340

311:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %312 = load i32, ptr %13, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %313
  %315 = getelementptr inbounds %struct.node, ptr %314, i32 0, i32 0
  %316 = load i32, ptr %315, align 16, !tbaa !9
  store i32 %316, ptr %15, align 4, !tbaa !5
  %317 = load i32, ptr %13, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %318
  %320 = getelementptr inbounds %struct.node, ptr %319, i32 0, i32 1
  %321 = getelementptr inbounds [2 x ptr], ptr %320, i64 0, i64 0
  %322 = load ptr, ptr %321, align 8, !tbaa !12
  %323 = getelementptr inbounds %struct.node, ptr %322, i32 0, i32 0
  %324 = load i32, ptr %323, align 8, !tbaa !9
  %325 = load i32, ptr %13, align 4, !tbaa !5
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %326
  %328 = getelementptr inbounds %struct.node, ptr %327, i32 0, i32 0
  store i32 %324, ptr %328, align 16, !tbaa !9
  %329 = load i32, ptr %15, align 4, !tbaa !5
  %330 = load i32, ptr %13, align 4, !tbaa !5
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %331
  %333 = getelementptr inbounds %struct.node, ptr %332, i32 0, i32 1
  %334 = getelementptr inbounds [2 x ptr], ptr %333, i64 0, i64 0
  %335 = load ptr, ptr %334, align 8, !tbaa !12
  %336 = getelementptr inbounds %struct.node, ptr %335, i32 0, i32 0
  store i32 %329, ptr %336, align 8, !tbaa !9
  %337 = load i32, ptr %13, align 4, !tbaa !5
  %338 = mul nsw i32 2, %337
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %341

340:                                              ; preds = %296
  br label %343

341:                                              ; preds = %311
  br label %342

342:                                              ; preds = %341, %267
  br label %229, !llvm.loop !19

343:                                              ; preds = %340, %229
  %344 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %728

345:                                              ; preds = %206
  %346 = load i32, ptr %11, align 4, !tbaa !5
  %347 = icmp eq i32 %346, 3
  br i1 %347, label %348, label %440

348:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  %350 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %351 = load i32, ptr %16, align 4, !tbaa !5
  %352 = load i32, ptr %10, align 4, !tbaa !5
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %353
  %355 = getelementptr inbounds %struct.node, ptr %354, i32 0, i32 0
  store i32 %351, ptr %355, align 16, !tbaa !9
  %356 = load i32, ptr %10, align 4, !tbaa !5
  %357 = mul nsw i32 2, %356
  %358 = add nsw i32 %357, 1
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %359
  %361 = load i32, ptr %10, align 4, !tbaa !5
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %362
  %364 = getelementptr inbounds %struct.node, ptr %363, i32 0, i32 1
  %365 = getelementptr inbounds [2 x ptr], ptr %364, i64 0, i64 0
  store ptr %360, ptr %365, align 8, !tbaa !12
  %366 = load i32, ptr %10, align 4, !tbaa !5
  %367 = mul nsw i32 2, %366
  %368 = add nsw i32 %367, 2
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %369
  %371 = load i32, ptr %10, align 4, !tbaa !5
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %372
  %374 = getelementptr inbounds %struct.node, ptr %373, i32 0, i32 1
  %375 = getelementptr inbounds [2 x ptr], ptr %374, i64 0, i64 1
  store ptr %370, ptr %375, align 8, !tbaa !12
  %376 = load i32, ptr %10, align 4, !tbaa !5
  %377 = sub nsw i32 %376, 1
  %378 = sdiv i32 %377, 2
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %379
  %381 = load i32, ptr %10, align 4, !tbaa !5
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %382
  %384 = getelementptr inbounds %struct.node, ptr %383, i32 0, i32 2
  store ptr %380, ptr %384, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %385 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %385, ptr %17, align 4, !tbaa !5
  br label %386

386:                                              ; preds = %435, %348
  %387 = load i32, ptr %17, align 4, !tbaa !5
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %388
  %390 = getelementptr inbounds %struct.node, ptr %389, i32 0, i32 2
  %391 = load ptr, ptr %390, align 8, !tbaa !13
  %392 = icmp ne ptr %391, null
  br i1 %392, label %393, label %436

393:                                              ; preds = %386
  %394 = load i32, ptr %17, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %395
  %397 = getelementptr inbounds %struct.node, ptr %396, i32 0, i32 0
  %398 = load i32, ptr %397, align 16, !tbaa !9
  %399 = load i32, ptr %17, align 4, !tbaa !5
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %400
  %402 = getelementptr inbounds %struct.node, ptr %401, i32 0, i32 2
  %403 = load ptr, ptr %402, align 8, !tbaa !13
  %404 = getelementptr inbounds %struct.node, ptr %403, i32 0, i32 0
  %405 = load i32, ptr %404, align 8, !tbaa !9
  %406 = icmp slt i32 %398, %405
  br i1 %406, label %407, label %434

407:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %408 = load i32, ptr %17, align 4, !tbaa !5
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %409
  %411 = getelementptr inbounds %struct.node, ptr %410, i32 0, i32 0
  %412 = load i32, ptr %411, align 16, !tbaa !9
  store i32 %412, ptr %18, align 4, !tbaa !5
  %413 = load i32, ptr %17, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %414
  %416 = getelementptr inbounds %struct.node, ptr %415, i32 0, i32 2
  %417 = load ptr, ptr %416, align 8, !tbaa !13
  %418 = getelementptr inbounds %struct.node, ptr %417, i32 0, i32 0
  %419 = load i32, ptr %418, align 8, !tbaa !9
  %420 = load i32, ptr %17, align 4, !tbaa !5
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %421
  %423 = getelementptr inbounds %struct.node, ptr %422, i32 0, i32 0
  store i32 %419, ptr %423, align 16, !tbaa !9
  %424 = load i32, ptr %18, align 4, !tbaa !5
  %425 = load i32, ptr %17, align 4, !tbaa !5
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %426
  %428 = getelementptr inbounds %struct.node, ptr %427, i32 0, i32 2
  %429 = load ptr, ptr %428, align 8, !tbaa !13
  %430 = getelementptr inbounds %struct.node, ptr %429, i32 0, i32 0
  store i32 %424, ptr %430, align 8, !tbaa !9
  %431 = load i32, ptr %17, align 4, !tbaa !5
  %432 = sub nsw i32 %431, 1
  %433 = sdiv i32 %432, 2
  store i32 %433, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %435

434:                                              ; preds = %393
  br label %436

435:                                              ; preds = %407
  br label %386, !llvm.loop !20

436:                                              ; preds = %434, %386
  %437 = load i32, ptr %10, align 4, !tbaa !5
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr %10, align 4, !tbaa !5
  %439 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %727

440:                                              ; preds = %345
  %441 = load i32, ptr %11, align 4, !tbaa !5
  %442 = icmp eq i32 %441, 4
  br i1 %442, label %443, label %612

443:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %444 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
  %445 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 -1, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %446

446:                                              ; preds = %462, %443
  %447 = load i32, ptr %21, align 4, !tbaa !5
  %448 = load i32, ptr %10, align 4, !tbaa !5
  %449 = icmp slt i32 %447, %448
  br i1 %449, label %451, label %450

450:                                              ; preds = %446
  store i32 19, ptr %22, align 4
  br label %465

451:                                              ; preds = %446
  %452 = load i32, ptr %21, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %453
  %455 = getelementptr inbounds %struct.node, ptr %454, i32 0, i32 0
  %456 = load i32, ptr %455, align 16, !tbaa !9
  %457 = load i32, ptr %19, align 4, !tbaa !5
  %458 = icmp eq i32 %456, %457
  br i1 %458, label %459, label %461

459:                                              ; preds = %451
  %460 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %460, ptr %20, align 4, !tbaa !5
  store i32 19, ptr %22, align 4
  br label %465

461:                                              ; preds = %451
  br label %462

462:                                              ; preds = %461
  %463 = load i32, ptr %21, align 4, !tbaa !5
  %464 = add nsw i32 %463, 1
  store i32 %464, ptr %21, align 4, !tbaa !5
  br label %446, !llvm.loop !21

465:                                              ; preds = %459, %450
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %466

466:                                              ; preds = %465
  %467 = load i32, ptr %20, align 4, !tbaa !5
  %468 = icmp eq i32 %467, -1
  br i1 %468, label %469, label %471

469:                                              ; preds = %466
  %470 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
  br label %611

471:                                              ; preds = %466
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %472 = load i32, ptr %20, align 4, !tbaa !5
  %473 = sext i32 %472 to i64
  %474 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %473
  %475 = getelementptr inbounds %struct.node, ptr %474, i32 0, i32 0
  %476 = load i32, ptr %475, align 16, !tbaa !9
  store i32 %476, ptr %23, align 4, !tbaa !5
  %477 = load i32, ptr %10, align 4, !tbaa !5
  %478 = sub nsw i32 %477, 1
  %479 = sext i32 %478 to i64
  %480 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %479
  %481 = getelementptr inbounds %struct.node, ptr %480, i32 0, i32 0
  %482 = load i32, ptr %481, align 16, !tbaa !9
  %483 = load i32, ptr %20, align 4, !tbaa !5
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %484
  %486 = getelementptr inbounds %struct.node, ptr %485, i32 0, i32 0
  store i32 %482, ptr %486, align 16, !tbaa !9
  %487 = load i32, ptr %23, align 4, !tbaa !5
  %488 = load i32, ptr %10, align 4, !tbaa !5
  %489 = sub nsw i32 %488, 1
  %490 = sext i32 %489 to i64
  %491 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %490
  %492 = getelementptr inbounds %struct.node, ptr %491, i32 0, i32 0
  store i32 %487, ptr %492, align 16, !tbaa !9
  %493 = load i32, ptr %10, align 4, !tbaa !5
  %494 = add nsw i32 %493, -1
  store i32 %494, ptr %10, align 4, !tbaa !5
  br label %495

495:                                              ; preds = %608, %471
  %496 = load i32, ptr %20, align 4, !tbaa !5
  %497 = mul nsw i32 2, %496
  %498 = load i32, ptr %10, align 4, !tbaa !5
  %499 = icmp slt i32 %497, %498
  br i1 %499, label %500, label %609

500:                                              ; preds = %495
  %501 = load i32, ptr %20, align 4, !tbaa !5
  %502 = sext i32 %501 to i64
  %503 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %502
  %504 = getelementptr inbounds %struct.node, ptr %503, i32 0, i32 0
  %505 = load i32, ptr %504, align 16, !tbaa !9
  %506 = load i32, ptr %20, align 4, !tbaa !5
  %507 = sext i32 %506 to i64
  %508 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %507
  %509 = getelementptr inbounds %struct.node, ptr %508, i32 0, i32 1
  %510 = getelementptr inbounds [2 x ptr], ptr %509, i64 0, i64 1
  %511 = load ptr, ptr %510, align 8, !tbaa !12
  %512 = getelementptr inbounds %struct.node, ptr %511, i32 0, i32 0
  %513 = load i32, ptr %512, align 8, !tbaa !9
  %514 = icmp sgt i32 %505, %513
  br i1 %514, label %515, label %562

515:                                              ; preds = %500
  %516 = load i32, ptr %20, align 4, !tbaa !5
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %517
  %519 = getelementptr inbounds %struct.node, ptr %518, i32 0, i32 1
  %520 = getelementptr inbounds [2 x ptr], ptr %519, i64 0, i64 1
  %521 = load ptr, ptr %520, align 8, !tbaa !12
  %522 = getelementptr inbounds %struct.node, ptr %521, i32 0, i32 0
  %523 = load i32, ptr %522, align 8, !tbaa !9
  %524 = load i32, ptr %20, align 4, !tbaa !5
  %525 = sext i32 %524 to i64
  %526 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %525
  %527 = getelementptr inbounds %struct.node, ptr %526, i32 0, i32 1
  %528 = getelementptr inbounds [2 x ptr], ptr %527, i64 0, i64 0
  %529 = load ptr, ptr %528, align 8, !tbaa !12
  %530 = getelementptr inbounds %struct.node, ptr %529, i32 0, i32 0
  %531 = load i32, ptr %530, align 8, !tbaa !9
  %532 = icmp sle i32 %523, %531
  br i1 %532, label %533, label %562

533:                                              ; preds = %515
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %534 = load i32, ptr %20, align 4, !tbaa !5
  %535 = sext i32 %534 to i64
  %536 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %535
  %537 = getelementptr inbounds %struct.node, ptr %536, i32 0, i32 0
  %538 = load i32, ptr %537, align 16, !tbaa !9
  store i32 %538, ptr %24, align 4, !tbaa !5
  %539 = load i32, ptr %20, align 4, !tbaa !5
  %540 = sext i32 %539 to i64
  %541 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %540
  %542 = getelementptr inbounds %struct.node, ptr %541, i32 0, i32 1
  %543 = getelementptr inbounds [2 x ptr], ptr %542, i64 0, i64 1
  %544 = load ptr, ptr %543, align 8, !tbaa !12
  %545 = getelementptr inbounds %struct.node, ptr %544, i32 0, i32 0
  %546 = load i32, ptr %545, align 8, !tbaa !9
  %547 = load i32, ptr %20, align 4, !tbaa !5
  %548 = sext i32 %547 to i64
  %549 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %548
  %550 = getelementptr inbounds %struct.node, ptr %549, i32 0, i32 0
  store i32 %546, ptr %550, align 16, !tbaa !9
  %551 = load i32, ptr %24, align 4, !tbaa !5
  %552 = load i32, ptr %20, align 4, !tbaa !5
  %553 = sext i32 %552 to i64
  %554 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %553
  %555 = getelementptr inbounds %struct.node, ptr %554, i32 0, i32 1
  %556 = getelementptr inbounds [2 x ptr], ptr %555, i64 0, i64 1
  %557 = load ptr, ptr %556, align 8, !tbaa !12
  %558 = getelementptr inbounds %struct.node, ptr %557, i32 0, i32 0
  store i32 %551, ptr %558, align 8, !tbaa !9
  %559 = load i32, ptr %20, align 4, !tbaa !5
  %560 = mul nsw i32 2, %559
  %561 = add nsw i32 %560, 2
  store i32 %561, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %608

562:                                              ; preds = %515, %500
  %563 = load i32, ptr %20, align 4, !tbaa !5
  %564 = sext i32 %563 to i64
  %565 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %564
  %566 = getelementptr inbounds %struct.node, ptr %565, i32 0, i32 0
  %567 = load i32, ptr %566, align 16, !tbaa !9
  %568 = load i32, ptr %20, align 4, !tbaa !5
  %569 = sext i32 %568 to i64
  %570 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %569
  %571 = getelementptr inbounds %struct.node, ptr %570, i32 0, i32 1
  %572 = getelementptr inbounds [2 x ptr], ptr %571, i64 0, i64 0
  %573 = load ptr, ptr %572, align 8, !tbaa !12
  %574 = getelementptr inbounds %struct.node, ptr %573, i32 0, i32 0
  %575 = load i32, ptr %574, align 8, !tbaa !9
  %576 = icmp sgt i32 %567, %575
  br i1 %576, label %577, label %606

577:                                              ; preds = %562
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %578 = load i32, ptr %20, align 4, !tbaa !5
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %579
  %581 = getelementptr inbounds %struct.node, ptr %580, i32 0, i32 0
  %582 = load i32, ptr %581, align 16, !tbaa !9
  store i32 %582, ptr %25, align 4, !tbaa !5
  %583 = load i32, ptr %20, align 4, !tbaa !5
  %584 = sext i32 %583 to i64
  %585 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %584
  %586 = getelementptr inbounds %struct.node, ptr %585, i32 0, i32 1
  %587 = getelementptr inbounds [2 x ptr], ptr %586, i64 0, i64 0
  %588 = load ptr, ptr %587, align 8, !tbaa !12
  %589 = getelementptr inbounds %struct.node, ptr %588, i32 0, i32 0
  %590 = load i32, ptr %589, align 8, !tbaa !9
  %591 = load i32, ptr %20, align 4, !tbaa !5
  %592 = sext i32 %591 to i64
  %593 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %592
  %594 = getelementptr inbounds %struct.node, ptr %593, i32 0, i32 0
  store i32 %590, ptr %594, align 16, !tbaa !9
  %595 = load i32, ptr %25, align 4, !tbaa !5
  %596 = load i32, ptr %20, align 4, !tbaa !5
  %597 = sext i32 %596 to i64
  %598 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %597
  %599 = getelementptr inbounds %struct.node, ptr %598, i32 0, i32 1
  %600 = getelementptr inbounds [2 x ptr], ptr %599, i64 0, i64 0
  %601 = load ptr, ptr %600, align 8, !tbaa !12
  %602 = getelementptr inbounds %struct.node, ptr %601, i32 0, i32 0
  store i32 %595, ptr %602, align 8, !tbaa !9
  %603 = load i32, ptr %20, align 4, !tbaa !5
  %604 = mul nsw i32 2, %603
  %605 = add nsw i32 %604, 1
  store i32 %605, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %607

606:                                              ; preds = %562
  br label %609

607:                                              ; preds = %577
  br label %608

608:                                              ; preds = %607, %533
  br label %495, !llvm.loop !22

609:                                              ; preds = %606, %495
  %610 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %611

611:                                              ; preds = %609, %469
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %726

612:                                              ; preds = %440
  %613 = load i32, ptr %11, align 4, !tbaa !5
  %614 = icmp eq i32 %613, 5
  br i1 %614, label %615, label %702

615:                                              ; preds = %612
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %616 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
  %617 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 -1, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %618

618:                                              ; preds = %634, %615
  %619 = load i32, ptr %28, align 4, !tbaa !5
  %620 = load i32, ptr %10, align 4, !tbaa !5
  %621 = icmp slt i32 %619, %620
  br i1 %621, label %623, label %622

622:                                              ; preds = %618
  store i32 24, ptr %22, align 4
  br label %637

623:                                              ; preds = %618
  %624 = load i32, ptr %28, align 4, !tbaa !5
  %625 = sext i32 %624 to i64
  %626 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %625
  %627 = getelementptr inbounds %struct.node, ptr %626, i32 0, i32 0
  %628 = load i32, ptr %627, align 16, !tbaa !9
  %629 = load i32, ptr %26, align 4, !tbaa !5
  %630 = icmp eq i32 %628, %629
  br i1 %630, label %631, label %633

631:                                              ; preds = %623
  %632 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %632, ptr %27, align 4, !tbaa !5
  store i32 24, ptr %22, align 4
  br label %637

633:                                              ; preds = %623
  br label %634

634:                                              ; preds = %633
  %635 = load i32, ptr %28, align 4, !tbaa !5
  %636 = add nsw i32 %635, 1
  store i32 %636, ptr %28, align 4, !tbaa !5
  br label %618, !llvm.loop !23

637:                                              ; preds = %631, %622
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %638

638:                                              ; preds = %637
  %639 = load i32, ptr %27, align 4, !tbaa !5
  %640 = icmp eq i32 %639, -1
  br i1 %640, label %641, label %643

641:                                              ; preds = %638
  %642 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
  br label %701

643:                                              ; preds = %638
  %644 = load i32, ptr %26, align 4, !tbaa !5
  %645 = load i32, ptr %27, align 4, !tbaa !5
  %646 = sext i32 %645 to i64
  %647 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %646
  %648 = getelementptr inbounds %struct.node, ptr %647, i32 0, i32 0
  store i32 %644, ptr %648, align 16, !tbaa !9
  br label %649

649:                                              ; preds = %698, %643
  %650 = load i32, ptr %27, align 4, !tbaa !5
  %651 = sext i32 %650 to i64
  %652 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %651
  %653 = getelementptr inbounds %struct.node, ptr %652, i32 0, i32 2
  %654 = load ptr, ptr %653, align 8, !tbaa !13
  %655 = icmp ne ptr %654, null
  br i1 %655, label %656, label %699

656:                                              ; preds = %649
  %657 = load i32, ptr %27, align 4, !tbaa !5
  %658 = sext i32 %657 to i64
  %659 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %658
  %660 = getelementptr inbounds %struct.node, ptr %659, i32 0, i32 0
  %661 = load i32, ptr %660, align 16, !tbaa !9
  %662 = load i32, ptr %27, align 4, !tbaa !5
  %663 = sext i32 %662 to i64
  %664 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %663
  %665 = getelementptr inbounds %struct.node, ptr %664, i32 0, i32 2
  %666 = load ptr, ptr %665, align 8, !tbaa !13
  %667 = getelementptr inbounds %struct.node, ptr %666, i32 0, i32 0
  %668 = load i32, ptr %667, align 8, !tbaa !9
  %669 = icmp slt i32 %661, %668
  br i1 %669, label %670, label %697

670:                                              ; preds = %656
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %671 = load i32, ptr %27, align 4, !tbaa !5
  %672 = sext i32 %671 to i64
  %673 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %672
  %674 = getelementptr inbounds %struct.node, ptr %673, i32 0, i32 0
  %675 = load i32, ptr %674, align 16, !tbaa !9
  store i32 %675, ptr %29, align 4, !tbaa !5
  %676 = load i32, ptr %27, align 4, !tbaa !5
  %677 = sext i32 %676 to i64
  %678 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %677
  %679 = getelementptr inbounds %struct.node, ptr %678, i32 0, i32 2
  %680 = load ptr, ptr %679, align 8, !tbaa !13
  %681 = getelementptr inbounds %struct.node, ptr %680, i32 0, i32 0
  %682 = load i32, ptr %681, align 8, !tbaa !9
  %683 = load i32, ptr %27, align 4, !tbaa !5
  %684 = sext i32 %683 to i64
  %685 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %684
  %686 = getelementptr inbounds %struct.node, ptr %685, i32 0, i32 0
  store i32 %682, ptr %686, align 16, !tbaa !9
  %687 = load i32, ptr %29, align 4, !tbaa !5
  %688 = load i32, ptr %27, align 4, !tbaa !5
  %689 = sext i32 %688 to i64
  %690 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %689
  %691 = getelementptr inbounds %struct.node, ptr %690, i32 0, i32 2
  %692 = load ptr, ptr %691, align 8, !tbaa !13
  %693 = getelementptr inbounds %struct.node, ptr %692, i32 0, i32 0
  store i32 %687, ptr %693, align 8, !tbaa !9
  %694 = load i32, ptr %27, align 4, !tbaa !5
  %695 = sub nsw i32 %694, 1
  %696 = sdiv i32 %695, 2
  store i32 %696, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %698

697:                                              ; preds = %656
  br label %699

698:                                              ; preds = %670
  br label %649, !llvm.loop !24

699:                                              ; preds = %697, %649
  %700 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
  br label %701

701:                                              ; preds = %699, %641
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %725

702:                                              ; preds = %612
  %703 = load i32, ptr %11, align 4, !tbaa !5
  %704 = icmp eq i32 %703, 6
  br i1 %704, label %705, label %723

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

706:                                              ; preds = %718, %705
  %707 = load i32, ptr %30, align 4, !tbaa !5
  %708 = load i32, ptr %10, align 4, !tbaa !5
  %709 = icmp slt i32 %707, %708
  br i1 %709, label %711, label %710

710:                                              ; preds = %706
  store i32 29, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %721

711:                                              ; preds = %706
  %712 = load i32, ptr %30, align 4, !tbaa !5
  %713 = sext i32 %712 to i64
  %714 = getelementptr inbounds [100 x %struct.node], ptr %4, i64 0, i64 %713
  %715 = getelementptr inbounds %struct.node, ptr %714, i32 0, i32 0
  %716 = load i32, ptr %715, align 16, !tbaa !9
  %717 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %716)
  br label %718

718:                                              ; preds = %711
  %719 = load i32, ptr %30, align 4, !tbaa !5
  %720 = add nsw i32 %719, 1
  store i32 %720, ptr %30, align 4, !tbaa !5
  br label %706, !llvm.loop !25

721:                                              ; preds = %710
  %722 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  br label %724

723:                                              ; preds = %702
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %724

724:                                              ; preds = %723, %721
  br label %725

725:                                              ; preds = %724, %701
  br label %726

726:                                              ; preds = %725, %611
  br label %727

727:                                              ; preds = %726, %436
  br label %728

728:                                              ; preds = %727, %343
  br label %729

729:                                              ; preds = %728, %200
  br label %190, !llvm.loop !26

730:                                              ; preds = %190
  store i32 0, ptr %1, align 4
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 3200, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %731 = load i32, ptr %1, align 4
  ret i32 %731
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

declare i32 @printf(ptr noundef, ...) #4

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!10, !6, i64 0}
!10 = !{!"_ZTS4node", !6, i64 0, !7, i64 8, !11, i64 24}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 24}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}


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

%"class.std::basic_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" }
%struct.node = type { i32, [2 x ptr], ptr }

@__const.main.array = external hidden unnamed_addr constant [18 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [28 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [100 x %struct.node], align 16
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 3200, ptr nonnull %1) #6
  br label %13

6:                                                ; preds = %13
  %7 = load i32, ptr @__const.main.array, align 16, !tbaa !5
  store i32 %7, ptr %1, align 16, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %1, i64 32
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  store ptr %8, ptr %9, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %1, i64 64
  %11 = getelementptr inbounds i8, ptr %1, i64 16
  store ptr %10, ptr %11, align 16, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  store ptr null, ptr %12, align 8, !tbaa !13
  br label %.lr.ph.preheader

13:                                               ; preds = %13, %0
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next.4, %13 ]
  %14 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv
  store i32 -4200, ptr %14, align 16, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %15, i8 0, i64 24, i1 false)
  %16 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv.next
  store i32 -4200, ptr %16, align 16, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %16, i64 8
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  %18 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv.next.1
  store i32 -4200, ptr %18, align 16, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %19, i8 0, i64 24, i1 false)
  %20 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv.next.2
  store i32 -4200, ptr %20, align 16, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %21, i8 0, i64 24, i1 false)
  %22 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv.next.3
  store i32 -4200, ptr %22, align 16, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv, 5
  %exitcond.not.4 = icmp eq i64 %indvars.iv.next.4, 100
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %23, i8 0, i64 24, i1 false)
  br i1 %exitcond.not.4, label %6, label %13, !llvm.loop !14

24:                                               ; preds = %._crit_edge
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %26 = load i32, ptr %1, align 16, !tbaa !9
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %26)
  %28 = load i32, ptr %8, align 16, !tbaa !9
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %28)
  %30 = load i32, ptr %10, align 16, !tbaa !9
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %30)
  %32 = getelementptr inbounds i8, ptr %1, i64 96
  %33 = load i32, ptr %32, align 16, !tbaa !9
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %33)
  %35 = getelementptr inbounds i8, ptr %1, i64 128
  %36 = load i32, ptr %35, align 16, !tbaa !9
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %36)
  %38 = getelementptr inbounds i8, ptr %1, i64 160
  %39 = load i32, ptr %38, align 16, !tbaa !9
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %39)
  %41 = getelementptr inbounds i8, ptr %1, i64 192
  %42 = load i32, ptr %41, align 16, !tbaa !9
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %42)
  %44 = getelementptr inbounds i8, ptr %1, i64 224
  %45 = load i32, ptr %44, align 16, !tbaa !9
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %45)
  %47 = getelementptr inbounds i8, ptr %1, i64 256
  %48 = load i32, ptr %47, align 16, !tbaa !9
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %48)
  %50 = getelementptr inbounds i8, ptr %1, i64 288
  %51 = load i32, ptr %50, align 16, !tbaa !9
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %51)
  %53 = getelementptr inbounds i8, ptr %1, i64 320
  %54 = load i32, ptr %53, align 16, !tbaa !9
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %54)
  %56 = getelementptr inbounds i8, ptr %1, i64 352
  %57 = load i32, ptr %56, align 16, !tbaa !9
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %57)
  %59 = getelementptr inbounds i8, ptr %1, i64 384
  %60 = load i32, ptr %59, align 16, !tbaa !9
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %60)
  %62 = getelementptr inbounds i8, ptr %1, i64 416
  %63 = load i32, ptr %62, align 16, !tbaa !9
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %63)
  %65 = getelementptr inbounds i8, ptr %1, i64 448
  %66 = load i32, ptr %65, align 16, !tbaa !9
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %66)
  %68 = getelementptr inbounds i8, ptr %1, i64 480
  %69 = load i32, ptr %68, align 16, !tbaa !9
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %69)
  %71 = getelementptr inbounds i8, ptr %1, i64 512
  %72 = load i32, ptr %71, align 16, !tbaa !9
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %72)
  %74 = getelementptr inbounds i8, ptr %1, i64 544
  %75 = load i32, ptr %74, align 16, !tbaa !9
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %75)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %105

.lr.ph.preheader:                                 ; preds = %._crit_edge, %6
  %indvars.iv215 = phi i64 [ 1, %6 ], [ %indvars.iv.next216, %._crit_edge ]
  %78 = getelementptr inbounds [18 x i32], ptr @__const.main.array, i64 0, i64 %indvars.iv215
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv215
  store i32 %79, ptr %80, align 16, !tbaa !9
  %81 = shl nuw nsw i64 %indvars.iv215, 1
  %82 = or disjoint i64 %81, 1
  %83 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %82
  %84 = getelementptr inbounds i8, ptr %80, i64 8
  store ptr %83, ptr %84, align 8, !tbaa !12
  %85 = add nuw nsw i64 %81, 2
  %86 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %85
  %87 = getelementptr inbounds i8, ptr %80, i64 16
  store ptr %86, ptr %87, align 16, !tbaa !12
  %88 = add nuw i64 %indvars.iv215, 255
  %89 = lshr i64 %88, 1
  %.zext = and i64 %89, 127
  %90 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %.zext
  %91 = getelementptr inbounds i8, ptr %80, i64 24
  store ptr %90, ptr %91, align 8, !tbaa !13
  %92 = trunc nuw nsw i64 %indvars.iv215 to i32
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %98
  %93 = phi ptr [ %104, %98 ], [ %90, %.lr.ph.preheader ]
  %94 = phi ptr [ %102, %98 ], [ %80, %.lr.ph.preheader ]
  %.0131174 = phi i32 [ %100, %98 ], [ %92, %.lr.ph.preheader ]
  %95 = load i32, ptr %94, align 16, !tbaa !9
  %96 = load i32, ptr %93, align 8, !tbaa !9
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %98, label %._crit_edge

98:                                               ; preds = %.lr.ph
  store i32 %96, ptr %94, align 16, !tbaa !9
  store i32 %95, ptr %93, align 8, !tbaa !9
  %99 = add nsw i32 %.0131174, -1
  %100 = sdiv i32 %99, 2
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %101
  %103 = getelementptr inbounds i8, ptr %102, i64 24
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %.not166 = icmp eq ptr %104, null
  br i1 %.not166, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %98, %.lr.ph
  %indvars.iv.next216 = add nuw nsw i64 %indvars.iv215, 1
  %exitcond219.not = icmp eq i64 %indvars.iv.next216, 18
  br i1 %exitcond219.not, label %24, label %.lr.ph.preheader, !llvm.loop !17

105:                                              ; preds = %24, %248
  %.0137211 = phi i32 [ 18, %24 ], [ %.2139.ph, %248 ]
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %110 = load i32, ptr %2, align 4, !tbaa !5
  switch i32 %110, label %.thread [
    i32 1, label %112
    i32 2, label %116
    i32 3, label %.lr.ph203.preheader
    i32 4, label %175
    i32 5, label %215
    i32 6, label %.preheader
  ]

.preheader:                                       ; preds = %105
  %111 = icmp sgt i32 %.0137211, 0
  br i1 %111, label %.lr.ph179.preheader, label %._crit_edge180

.lr.ph179.preheader:                              ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %.0137211 to i64
  br label %.lr.ph179

112:                                              ; preds = %105
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %114 = load i32, ptr %1, align 16, !tbaa !9
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %113, i32 noundef %114)
  br label %248

116:                                              ; preds = %105
  %117 = load i32, ptr %1, align 16, !tbaa !9
  %118 = add nsw i32 %.0137211, -1
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %119
  %121 = load i32, ptr %120, align 16, !tbaa !9
  store i32 %121, ptr %1, align 16, !tbaa !9
  store i32 %117, ptr %120, align 16, !tbaa !9
  %122 = icmp sgt i32 %.0137211, 1
  br i1 %122, label %.lr.ph208, label %._crit_edge209

.lr.ph208:                                        ; preds = %116, %138
  %123 = phi i32 [ %139, %138 ], [ 0, %116 ]
  %.0140206 = phi i32 [ %.1141, %138 ], [ 0, %116 ]
  %124 = sext i32 %.0140206 to i64
  %125 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %124
  %126 = load i32, ptr %125, align 16, !tbaa !9
  %127 = getelementptr inbounds i8, ptr %125, i64 8
  %128 = getelementptr inbounds i8, ptr %125, i64 16
  %129 = load ptr, ptr %128, align 16, !tbaa !12
  %130 = load i32, ptr %129, align 8, !tbaa !9
  %131 = icmp sle i32 %126, %130
  %.pre239 = load ptr, ptr %127, align 8, !tbaa !12
  %.pre240 = load i32, ptr %.pre239, align 8, !tbaa !9
  %.not165 = icmp sgt i32 %130, %.pre240
  %or.cond = select i1 %131, i1 true, i1 %.not165
  br i1 %or.cond, label %134, label %132

132:                                              ; preds = %.lr.ph208
  store i32 %130, ptr %125, align 16, !tbaa !9
  store i32 %126, ptr %129, align 8, !tbaa !9
  %133 = add nsw i32 %123, 2
  br label %138

134:                                              ; preds = %.lr.ph208
  %135 = icmp sgt i32 %126, %.pre240
  br i1 %135, label %136, label %._crit_edge209

136:                                              ; preds = %134
  store i32 %.pre240, ptr %125, align 16, !tbaa !9
  store i32 %126, ptr %.pre239, align 8, !tbaa !9
  %137 = or disjoint i32 %123, 1
  br label %138

138:                                              ; preds = %136, %132
  %.1141 = phi i32 [ %133, %132 ], [ %137, %136 ]
  %139 = shl nsw i32 %.1141, 1
  %140 = icmp slt i32 %139, %118
  br i1 %140, label %.lr.ph208, label %._crit_edge209, !llvm.loop !18

._crit_edge209:                                   ; preds = %138, %134, %116
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  br label %248

.lr.ph203.preheader:                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  %143 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %144 = load i32, ptr %3, align 4, !tbaa !5
  %145 = sext i32 %.0137211 to i64
  %146 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %145
  store i32 %144, ptr %146, align 16, !tbaa !9
  %147 = shl nsw i32 %.0137211, 1
  %148 = or disjoint i32 %147, 1
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %149
  %151 = getelementptr inbounds i8, ptr %146, i64 8
  store ptr %150, ptr %151, align 8, !tbaa !12
  %152 = add nsw i32 %147, 2
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %153
  %155 = getelementptr inbounds i8, ptr %146, i64 16
  store ptr %154, ptr %155, align 16, !tbaa !12
  %156 = add nsw i32 %.0137211, -1
  %157 = sdiv i32 %156, 2
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %158
  %160 = getelementptr inbounds i8, ptr %146, i64 24
  store ptr %159, ptr %160, align 8, !tbaa !13
  br label %.lr.ph203

.lr.ph203:                                        ; preds = %.lr.ph203.preheader, %166
  %161 = phi ptr [ %172, %166 ], [ %159, %.lr.ph203.preheader ]
  %162 = phi ptr [ %170, %166 ], [ %146, %.lr.ph203.preheader ]
  %.0136201 = phi i32 [ %168, %166 ], [ %.0137211, %.lr.ph203.preheader ]
  %163 = load i32, ptr %162, align 16, !tbaa !9
  %164 = load i32, ptr %161, align 8, !tbaa !9
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %166, label %._crit_edge204

166:                                              ; preds = %.lr.ph203
  store i32 %164, ptr %162, align 16, !tbaa !9
  store i32 %163, ptr %161, align 8, !tbaa !9
  %167 = add nsw i32 %.0136201, -1
  %168 = sdiv i32 %167, 2
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %169
  %171 = getelementptr inbounds i8, ptr %170, i64 24
  %172 = load ptr, ptr %171, align 8, !tbaa !13
  %.not164 = icmp eq ptr %172, null
  br i1 %.not164, label %._crit_edge204, label %.lr.ph203, !llvm.loop !19

._crit_edge204:                                   ; preds = %166, %.lr.ph203
  %173 = add nsw i32 %.0137211, 1
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  br label %248

175:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
  %177 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %178 = icmp sgt i32 %.0137211, 0
  br i1 %178, label %.lr.ph193, label %._crit_edge194

.lr.ph193:                                        ; preds = %175
  %179 = load i32, ptr %4, align 4, !tbaa !5
  %wide.trip.count236 = zext nneg i32 %.0137211 to i64
  br label %180

180:                                              ; preds = %.lr.ph193, %184
  %indvars.iv233 = phi i64 [ 0, %.lr.ph193 ], [ %indvars.iv.next234, %184 ]
  %181 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv233
  %182 = load i32, ptr %181, align 16, !tbaa !9
  %183 = icmp eq i32 %182, %179
  br i1 %183, label %185, label %184

184:                                              ; preds = %180
  %indvars.iv.next234 = add nuw nsw i64 %indvars.iv233, 1
  %exitcond237.not = icmp eq i64 %indvars.iv.next234, %wide.trip.count236
  br i1 %exitcond237.not, label %._crit_edge194, label %180, !llvm.loop !20

185:                                              ; preds = %180
  %186 = trunc nuw nsw i64 %indvars.iv233 to i32
  %187 = and i64 %indvars.iv233, 4294967295
  %188 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %187
  %189 = load i32, ptr %188, align 16, !tbaa !9
  %190 = add nsw i32 %.0137211, -1
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %191
  %193 = load i32, ptr %192, align 16, !tbaa !9
  store i32 %193, ptr %188, align 16, !tbaa !9
  store i32 %189, ptr %192, align 16, !tbaa !9
  %194 = shl nuw nsw i32 %186, 1
  %195 = icmp slt i32 %194, %190
  br i1 %195, label %.lr.ph197, label %._crit_edge194

.lr.ph197:                                        ; preds = %185, %211
  %196 = phi i32 [ %212, %211 ], [ %194, %185 ]
  %.1134195 = phi i32 [ %.2, %211 ], [ %186, %185 ]
  %197 = sext i32 %.1134195 to i64
  %198 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %197
  %199 = load i32, ptr %198, align 16, !tbaa !9
  %200 = getelementptr inbounds i8, ptr %198, i64 8
  %201 = getelementptr inbounds i8, ptr %198, i64 16
  %202 = load ptr, ptr %201, align 16, !tbaa !12
  %203 = load i32, ptr %202, align 8, !tbaa !9
  %204 = icmp sle i32 %199, %203
  %.pre = load ptr, ptr %200, align 8, !tbaa !12
  %.pre238 = load i32, ptr %.pre, align 8, !tbaa !9
  %.not163 = icmp sgt i32 %203, %.pre238
  %or.cond246 = select i1 %204, i1 true, i1 %.not163
  br i1 %or.cond246, label %207, label %205

205:                                              ; preds = %.lr.ph197
  store i32 %203, ptr %198, align 16, !tbaa !9
  store i32 %199, ptr %202, align 8, !tbaa !9
  %206 = add nsw i32 %196, 2
  br label %211

207:                                              ; preds = %.lr.ph197
  %208 = icmp sgt i32 %199, %.pre238
  br i1 %208, label %209, label %._crit_edge194

209:                                              ; preds = %207
  store i32 %.pre238, ptr %198, align 16, !tbaa !9
  store i32 %199, ptr %.pre, align 8, !tbaa !9
  %210 = or disjoint i32 %196, 1
  br label %211

211:                                              ; preds = %209, %205
  %.2 = phi i32 [ %206, %205 ], [ %210, %209 ]
  %212 = shl nsw i32 %.2, 1
  %213 = icmp slt i32 %212, %190
  br i1 %213, label %.lr.ph197, label %._crit_edge194, !llvm.loop !21

._crit_edge194:                                   ; preds = %184, %207, %211, %185, %175
  %.str.12.sink = phi ptr [ @.str.11, %175 ], [ @.str.12, %185 ], [ @.str.12, %211 ], [ @.str.12, %207 ], [ @.str.11, %184 ]
  %.1138 = phi i32 [ %.0137211, %175 ], [ %190, %185 ], [ %190, %211 ], [ %190, %207 ], [ %.0137211, %184 ]
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.12.sink)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %248

215:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
  %217 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %218 = icmp sgt i32 %.0137211, 0
  br i1 %218, label %.lr.ph183, label %._crit_edge184

.lr.ph183:                                        ; preds = %215
  %219 = load i32, ptr %5, align 4, !tbaa !5
  %wide.trip.count231 = zext nneg i32 %.0137211 to i64
  br label %220

220:                                              ; preds = %.lr.ph183, %224
  %indvars.iv228 = phi i64 [ 0, %.lr.ph183 ], [ %indvars.iv.next229, %224 ]
  %221 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv228
  %222 = load i32, ptr %221, align 16, !tbaa !9
  %223 = icmp eq i32 %222, %219
  br i1 %223, label %225, label %224

224:                                              ; preds = %220
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %exitcond232.not = icmp eq i64 %indvars.iv.next229, %wide.trip.count231
  br i1 %exitcond232.not, label %._crit_edge184, label %220, !llvm.loop !22

225:                                              ; preds = %220
  %226 = and i64 %indvars.iv228, 4294967295
  %227 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %226
  store i32 %219, ptr %227, align 16, !tbaa !9
  %228 = getelementptr inbounds i8, ptr %227, i64 24
  %229 = load ptr, ptr %228, align 8, !tbaa !13
  %.not162185 = icmp eq ptr %229, null
  br i1 %.not162185, label %._crit_edge184, label %.lr.ph188.preheader

.lr.ph188.preheader:                              ; preds = %225
  %230 = trunc nuw nsw i64 %indvars.iv228 to i32
  br label %.lr.ph188

.lr.ph188:                                        ; preds = %.lr.ph188.preheader, %236
  %231 = phi ptr [ %242, %236 ], [ %229, %.lr.ph188.preheader ]
  %232 = phi ptr [ %240, %236 ], [ %227, %.lr.ph188.preheader ]
  %.1186 = phi i32 [ %238, %236 ], [ %230, %.lr.ph188.preheader ]
  %233 = load i32, ptr %232, align 16, !tbaa !9
  %234 = load i32, ptr %231, align 8, !tbaa !9
  %235 = icmp slt i32 %233, %234
  br i1 %235, label %236, label %._crit_edge184

236:                                              ; preds = %.lr.ph188
  store i32 %234, ptr %232, align 16, !tbaa !9
  store i32 %233, ptr %231, align 8, !tbaa !9
  %237 = add nsw i32 %.1186, -1
  %238 = sdiv i32 %237, 2
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %239
  %241 = getelementptr inbounds i8, ptr %240, i64 24
  %242 = load ptr, ptr %241, align 8, !tbaa !13
  %.not162 = icmp eq ptr %242, null
  br i1 %.not162, label %._crit_edge184, label %.lr.ph188, !llvm.loop !23

._crit_edge184:                                   ; preds = %224, %.lr.ph188, %236, %225, %215
  %.str.13.sink = phi ptr [ @.str.11, %215 ], [ @.str.13, %225 ], [ @.str.13, %236 ], [ @.str.13, %.lr.ph188 ], [ @.str.11, %224 ]
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %.str.13.sink)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %248

._crit_edge180:                                   ; preds = %.lr.ph179, %.preheader
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  br label %248

.lr.ph179:                                        ; preds = %.lr.ph179.preheader, %.lr.ph179
  %indvars.iv224 = phi i64 [ 0, %.lr.ph179.preheader ], [ %indvars.iv.next225, %.lr.ph179 ]
  %245 = getelementptr inbounds [100 x %struct.node], ptr %1, i64 0, i64 %indvars.iv224
  %246 = load i32, ptr %245, align 16, !tbaa !9
  %247 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %246)
  %indvars.iv.next225 = add nuw nsw i64 %indvars.iv224, 1
  %exitcond227.not = icmp eq i64 %indvars.iv.next225, %wide.trip.count
  br i1 %exitcond227.not, label %._crit_edge180, label %.lr.ph179, !llvm.loop !24

248:                                              ; preds = %._crit_edge209, %._crit_edge194, %._crit_edge180, %._crit_edge184, %._crit_edge204, %112
  %.2139.ph = phi i32 [ %.0137211, %._crit_edge180 ], [ %.0137211, %._crit_edge184 ], [ %.1138, %._crit_edge194 ], [ %173, %._crit_edge204 ], [ %118, %._crit_edge209 ], [ %.0137211, %112 ]
  %.pr.pr = load i32, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %.pr.pr, 0
  br i1 %.not, label %.thread, label %105, !llvm.loop !25

.thread:                                          ; preds = %248, %105
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 3200, ptr nonnull %1) #6
  ret i32 0
}

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

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

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

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

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

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


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