; LLVM IR from fdabrandao/vpsolver :: src/instance.ll (ZNK8Instance5writeEP8_IO_FILE)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.Instance = type { i32, i32, i32, i32, i32, %"class.std::vector.0", %"class.std::vector", %"class.std::vector", %"class.std::vector.5", i32, i8, i8, i8, %"class.std::vector.10", %"class.std::vector", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl" = type { %"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Item, std::allocator<Item>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Item = type { %"class.std::vector", %"class.std::vector", i32, i32, i32, i32, i32, i32 }

@.str.70 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [16 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4ItemixEi(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK8Instance5writeEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.70) #4
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.71) #4
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 0
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef @.str.72, i32 noundef %25) #4
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 1
  %29 = load i32, ptr %28, align 4, !tbaa !29
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.72, i32 noundef %29) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !30
  br label %31

31:                                               ; preds = %73, %2
  %32 = load i32, ptr %5, align 4, !tbaa !30
  %33 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 1
  %34 = load i32, ptr %33, align 4, !tbaa !29
  %35 = icmp slt i32 %32, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %31
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %76

37:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !30
  br label %38

38:                                               ; preds = %55, %37
  %39 = load i32, ptr %7, align 4, !tbaa !30
  %40 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !9
  %42 = icmp slt i32 %39, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %58

44:                                               ; preds = %38
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 5
  %47 = load i32, ptr %5, align 4, !tbaa !30
  %48 = sext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %48) #4
  %50 = load i32, ptr %7, align 4, !tbaa !30
  %51 = sext i32 %50 to i64
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %51) #4
  %53 = load i32, ptr %52, align 4, !tbaa !30
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.73, i32 noundef %53) #4
  br label %55

55:                                               ; preds = %44
  %56 = load i32, ptr %7, align 4, !tbaa !30
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %7, align 4, !tbaa !30
  br label %38, !llvm.loop !31

58:                                               ; preds = %43
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 6
  %61 = load i32, ptr %5, align 4, !tbaa !30
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %62) #4
  %64 = load i32, ptr %63, align 4, !tbaa !30
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %59, ptr noundef @.str.73, i32 noundef %64) #4
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 7
  %68 = load i32, ptr %5, align 4, !tbaa !30
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #4
  %71 = load i32, ptr %70, align 4, !tbaa !30
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.74, i32 noundef %71) #4
  br label %73

73:                                               ; preds = %58
  %74 = load i32, ptr %5, align 4, !tbaa !30
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %5, align 4, !tbaa !30
  br label %31, !llvm.loop !33

76:                                               ; preds = %36
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 3
  %79 = load i32, ptr %78, align 4, !tbaa !34
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.72, i32 noundef %79) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %81 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 8
  %82 = call noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %82, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %83 unwind label %91

83:                                               ; preds = %76
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !30
  br label %84

84:                                               ; preds = %105, %83
  %85 = load i32, ptr %13, align 4, !tbaa !30
  %86 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 8
  %87 = call noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #4
  %88 = trunc i64 %87 to i32
  %89 = icmp slt i32 %85, %88
  br i1 %89, label %95, label %90

90:                                               ; preds = %84
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %108

91:                                               ; preds = %76
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %11, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %231

95:                                               ; preds = %84
  %96 = load i32, ptr %13, align 4, !tbaa !30
  %97 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 8
  %98 = load i32, ptr %13, align 4, !tbaa !30
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %99) #4
  %101 = getelementptr inbounds %class.Item, ptr %100, i32 0, i32 2
  %102 = load i32, ptr %101, align 8, !tbaa !35
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %103) #4
  store i32 %96, ptr %104, align 4, !tbaa !30
  br label %105

105:                                              ; preds = %95
  %106 = load i32, ptr %13, align 4, !tbaa !30
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %13, align 4, !tbaa !30
  br label %84, !llvm.loop !37

108:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !30
  br label %109

109:                                              ; preds = %173, %108
  %110 = load i32, ptr %14, align 4, !tbaa !30
  %111 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 3
  %112 = load i32, ptr %111, align 4, !tbaa !34
  %113 = icmp slt i32 %110, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %109
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %176

115:                                              ; preds = %109
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 14
  %118 = load i32, ptr %14, align 4, !tbaa !30
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #4
  %121 = load i32, ptr %120, align 4, !tbaa !30
  %122 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 15
  %123 = load i32, ptr %14, align 4, !tbaa !30
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #4
  %126 = load i32, ptr %125, align 4, !tbaa !30
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.75, i32 noundef %121, i32 noundef %126) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !30
  br label %128

128:                                              ; preds = %169, %115
  %129 = load i32, ptr %15, align 4, !tbaa !30
  %130 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 14
  %131 = load i32, ptr %14, align 4, !tbaa !30
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %132) #4
  %134 = load i32, ptr %133, align 4, !tbaa !30
  %135 = icmp slt i32 %129, %134
  br i1 %135, label %137, label %136

136:                                              ; preds = %128
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %172

137:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !30
  br label %138

138:                                              ; preds = %157, %137
  %139 = load i32, ptr %16, align 4, !tbaa !30
  %140 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 0
  %141 = load i32, ptr %140, align 8, !tbaa !9
  %142 = icmp slt i32 %139, %141
  br i1 %142, label %144, label %143

143:                                              ; preds = %138
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %164

144:                                              ; preds = %138
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 8
  %147 = load i32, ptr %8, align 4, !tbaa !30
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %148) #4
  %150 = load i32, ptr %149, align 4, !tbaa !30
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %146, i64 noundef %151) #4
  %153 = load i32, ptr %16, align 4, !tbaa !30
  %154 = invoke noundef i32 @_ZNK4ItemixEi(ptr noundef nonnull align 8 dereferenceable(72) %152, i32 noundef %153)
          to label %155 unwind label %160

155:                                              ; preds = %144
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.73, i32 noundef %154) #4
  br label %157

157:                                              ; preds = %155
  %158 = load i32, ptr %16, align 4, !tbaa !30
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %16, align 4, !tbaa !30
  br label %138, !llvm.loop !38

160:                                              ; preds = %144
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %11, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %231

164:                                              ; preds = %143
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.76) #4
  %167 = load i32, ptr %8, align 4, !tbaa !30
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %8, align 4, !tbaa !30
  br label %169

169:                                              ; preds = %164
  %170 = load i32, ptr %15, align 4, !tbaa !30
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %15, align 4, !tbaa !30
  br label %128, !llvm.loop !39

172:                                              ; preds = %136
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %14, align 4, !tbaa !30
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %14, align 4, !tbaa !30
  br label %109, !llvm.loop !40

176:                                              ; preds = %114
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.77) #4
  %179 = load ptr, ptr %4, align 8, !tbaa !5
  %180 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 12
  %181 = load i8, ptr %180, align 2, !tbaa !41
  %182 = sext i8 %181 to i32
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.78, i32 noundef %182) #4
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.79) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !30
  br label %186

186:                                              ; preds = %207, %176
  %187 = load i32, ptr %17, align 4, !tbaa !30
  %188 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 3
  %189 = load i32, ptr %188, align 4, !tbaa !34
  %190 = icmp slt i32 %187, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %186
  store i32 20, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %210

192:                                              ; preds = %186
  %193 = load i32, ptr %17, align 4, !tbaa !30
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %198

195:                                              ; preds = %192
  %196 = load ptr, ptr %4, align 8, !tbaa !5
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.80) #4
  br label %198

198:                                              ; preds = %195, %192
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 13
  %201 = load i32, ptr %17, align 4, !tbaa !30
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %202) #4
  %204 = load i8, ptr %203, align 1, !tbaa !42
  %205 = sext i8 %204 to i32
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.81, i32 noundef %205) #4
  br label %207

207:                                              ; preds = %198
  %208 = load i32, ptr %17, align 4, !tbaa !30
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %17, align 4, !tbaa !30
  br label %186, !llvm.loop !43

210:                                              ; preds = %191
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.77) #4
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 9
  %215 = load i32, ptr %214, align 8, !tbaa !44
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.82, i32 noundef %215) #4
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 11
  %219 = load i8, ptr %218, align 1, !tbaa !45, !range !46, !noundef !47
  %220 = trunc i8 %219 to i1
  %221 = zext i1 %220 to i32
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef @.str.83, i32 noundef %221) #4
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = getelementptr inbounds %class.Instance, ptr %18, i32 0, i32 10
  %225 = load i8, ptr %224, align 4, !tbaa !48, !range !46, !noundef !47
  %226 = trunc i8 %225 to i1
  %227 = zext i1 %226 to i32
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef @.str.84, i32 noundef %227) #4
  %229 = load ptr, ptr %4, align 8, !tbaa !5
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.85) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  ret void

231:                                              ; preds = %160, %91
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %232

232:                                              ; preds = %231
  %233 = load ptr, ptr %11, align 8
  %234 = load i32, ptr %12, align 4
  %235 = insertvalue { ptr, i32 } poison, ptr %233, 0
  %236 = insertvalue { ptr, i32 } %235, i32 %234, 1
  resume { ptr, i32 } %236
}

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8Instance", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !16, i64 48, !16, i64 72, !20, i64 96, !11, i64 120, !24, i64 124, !24, i64 125, !7, i64 126, !25, i64 128, !16, i64 152, !16, i64 176}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorI4ItemSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseI4ItemSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIcSaIcEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!10, !11, i64 4}
!30 = !{!11, !11, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = !{!10, !11, i64 12}
!35 = !{!36, !11, i64 48}
!36 = !{!"_ZTS4Item", !16, i64 0, !16, i64 24, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !32}
!39 = distinct !{!39, !32}
!40 = distinct !{!40, !32}
!41 = !{!10, !7, i64 126}
!42 = !{!7, !7, i64 0}
!43 = distinct !{!43, !32}
!44 = !{!10, !11, i64 120}
!45 = !{!10, !24, i64 125}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = !{!10, !24, i64 124}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@.str.70 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [16 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK8Instance5writeEP8_IO_FILE(ptr noundef nonnull align 8 dereferenceable(200) %0, ptr nocapture noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.70) #4
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.71) #4
  %7 = load i32, ptr %0, align 8, !tbaa !5
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.72, i32 noundef %7) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !28
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.72, i32 noundef %10) #4
  %12 = load i32, ptr %9, align 4, !tbaa !28
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.preheader62.lr.ph, label %._crit_edge66

.preheader62.lr.ph:                               ; preds = %2
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = getelementptr inbounds i8, ptr %0, i64 48
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  br label %.preheader62

.preheader62:                                     ; preds = %.preheader62.lr.ph, %._crit_edge
  %indvars.iv85 = phi i64 [ 0, %.preheader62.lr.ph ], [ %indvars.iv.next86, %._crit_edge ]
  %17 = load i32, ptr %0, align 8, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph, label %._crit_edge

._crit_edge66:                                    ; preds = %._crit_edge, %2
  %19 = getelementptr inbounds i8, ptr %0, i64 12
  %20 = load i32, ptr %19, align 4, !tbaa !29
  %21 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.72, i32 noundef %20) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  %22 = getelementptr inbounds i8, ptr %0, i64 96
  %23 = tail call noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %23, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %40 unwind label %48

._crit_edge:                                      ; preds = %.lr.ph, %.preheader62
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv85) #4
  %25 = load i32, ptr %24, align 4, !tbaa !30
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.73, i32 noundef %25) #4
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %indvars.iv85) #4
  %28 = load i32, ptr %27, align 4, !tbaa !30
  %29 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.74, i32 noundef %28) #4
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %30 = load i32, ptr %9, align 4, !tbaa !28
  %31 = sext i32 %30 to i64
  %32 = icmp slt i64 %indvars.iv.next86, %31
  br i1 %32, label %.preheader62, label %._crit_edge66, !llvm.loop !31

.lr.ph:                                           ; preds = %.preheader62, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader62 ]
  %33 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv85) #4
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv) #4
  %35 = load i32, ptr %34, align 4, !tbaa !30
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.73, i32 noundef %35) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %37 = load i32, ptr %0, align 8, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = icmp slt i64 %indvars.iv.next, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !33

40:                                               ; preds = %._crit_edge66
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  %41 = call noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  %42 = trunc i64 %41 to i32
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph69, label %.preheader61

.preheader61:                                     ; preds = %.lr.ph69, %40
  %44 = load i32, ptr %19, align 4, !tbaa !29
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph78, label %._crit_edge79

.lr.ph78:                                         ; preds = %.preheader61
  %46 = getelementptr inbounds i8, ptr %0, i64 152
  %47 = getelementptr inbounds i8, ptr %0, i64 176
  br label %75

48:                                               ; preds = %._crit_edge66
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  br label %129

.lr.ph69:                                         ; preds = %40, %.lr.ph69
  %indvars.iv88 = phi i64 [ %indvars.iv.next89, %.lr.ph69 ], [ 0, %40 ]
  %50 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %indvars.iv88) #4
  %51 = getelementptr inbounds i8, ptr %50, i64 48
  %52 = load i32, ptr %51, align 8, !tbaa !34
  %53 = sext i32 %52 to i64
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %53) #4
  %55 = trunc nuw nsw i64 %indvars.iv88 to i32
  store i32 %55, ptr %54, align 4, !tbaa !30
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %56 = call noundef i64 @_ZNKSt6vectorI4ItemSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  %sext = shl i64 %56, 32
  %57 = ashr exact i64 %sext, 32
  %58 = icmp slt i64 %indvars.iv.next89, %57
  br i1 %58, label %.lr.ph69, label %.preheader61, !llvm.loop !36

._crit_edge79:                                    ; preds = %._crit_edge75, %.preheader61
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.77) #4
  %60 = getelementptr inbounds i8, ptr %0, i64 126
  %61 = load i8, ptr %60, align 2, !tbaa !37
  %62 = sext i8 %61 to i32
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.78, i32 noundef %62) #4
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.79) #4
  %65 = load i32, ptr %19, align 4, !tbaa !29
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %67, label %._crit_edge83

67:                                               ; preds = %._crit_edge79
  %68 = getelementptr inbounds i8, ptr %0, i64 128
  %69 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef 0) #4
  %70 = load i8, ptr %69, align 1, !tbaa !38
  %71 = sext i8 %70 to i32
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.81, i32 noundef %71) #4
  %73 = load i32, ptr %19, align 4, !tbaa !29
  %74 = icmp sgt i32 %73, 1
  br i1 %74, label %.peel.next, label %._crit_edge83

75:                                               ; preds = %.lr.ph78, %._crit_edge75
  %indvars.iv94 = phi i64 [ 0, %.lr.ph78 ], [ %indvars.iv.next95, %._crit_edge75 ]
  %.05776 = phi i32 [ 0, %.lr.ph78 ], [ %.1.lcssa, %._crit_edge75 ]
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv94) #4
  %77 = load i32, ptr %76, align 4, !tbaa !30
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %indvars.iv94) #4
  %79 = load i32, ptr %78, align 4, !tbaa !30
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.75, i32 noundef %77, i32 noundef %79) #4
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv94) #4
  %82 = load i32, ptr %81, align 4, !tbaa !30
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %.preheader.preheader, label %._crit_edge75

.preheader.preheader:                             ; preds = %75
  %84 = sext i32 %.05776 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge72
  %indvars.iv91 = phi i64 [ %84, %.preheader.preheader ], [ %indvars.iv.next92, %._crit_edge72 ]
  %.05274 = phi i32 [ 0, %.preheader.preheader ], [ %92, %._crit_edge72 ]
  %85 = load i32, ptr %0, align 8, !tbaa !5
  %86 = icmp sgt i32 %85, 0
  br i1 %86, label %.lr.ph71, label %._crit_edge72

._crit_edge75.loopexit:                           ; preds = %._crit_edge72
  %87 = trunc nsw i64 %indvars.iv.next92 to i32
  br label %._crit_edge75

._crit_edge75:                                    ; preds = %._crit_edge75.loopexit, %75
  %.1.lcssa = phi i32 [ %.05776, %75 ], [ %87, %._crit_edge75.loopexit ]
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %88 = load i32, ptr %19, align 4, !tbaa !29
  %89 = sext i32 %88 to i64
  %90 = icmp slt i64 %indvars.iv.next95, %89
  br i1 %90, label %75, label %._crit_edge79, !llvm.loop !39

._crit_edge72:                                    ; preds = %101, %.preheader
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.76) #4
  %indvars.iv.next92 = add nsw i64 %indvars.iv91, 1
  %92 = add nuw nsw i32 %.05274, 1
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %indvars.iv94) #4
  %94 = load i32, ptr %93, align 4, !tbaa !30
  %95 = icmp slt i32 %92, %94
  br i1 %95, label %.preheader, label %._crit_edge75.loopexit, !llvm.loop !40

.lr.ph71:                                         ; preds = %.preheader, %101
  %.05170 = phi i32 [ %103, %101 ], [ 0, %.preheader ]
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv91) #4
  %97 = load i32, ptr %96, align 4, !tbaa !30
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorI4ItemSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %98) #4
  %100 = invoke noundef i32 @_ZNK4ItemixEi(ptr noundef nonnull align 8 dereferenceable(72) %99, i32 noundef %.05170)
          to label %101 unwind label %106

101:                                              ; preds = %.lr.ph71
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.73, i32 noundef %100) #4
  %103 = add nuw nsw i32 %.05170, 1
  %104 = load i32, ptr %0, align 8, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %.lr.ph71, label %._crit_edge72, !llvm.loop !41

106:                                              ; preds = %.lr.ph71
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  br label %129

._crit_edge83:                                    ; preds = %.peel.next, %67, %._crit_edge79
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.77) #4
  %109 = getelementptr inbounds i8, ptr %0, i64 120
  %110 = load i32, ptr %109, align 8, !tbaa !42
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.82, i32 noundef %110) #4
  %112 = getelementptr inbounds i8, ptr %0, i64 125
  %113 = load i8, ptr %112, align 1, !tbaa !43, !range !44, !noundef !45
  %114 = zext nneg i8 %113 to i32
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.83, i32 noundef %114) #4
  %116 = getelementptr inbounds i8, ptr %0, i64 124
  %117 = load i8, ptr %116, align 4, !tbaa !46, !range !44, !noundef !45
  %118 = zext nneg i8 %117 to i32
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.84, i32 noundef %118) #4
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.85) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  ret void

.peel.next:                                       ; preds = %67, %.peel.next
  %indvars.iv97 = phi i64 [ %indvars.iv.next98, %.peel.next ], [ 1, %67 ]
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.80) #4
  %122 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %indvars.iv97) #4
  %123 = load i8, ptr %122, align 1, !tbaa !38
  %124 = sext i8 %123 to i32
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.81, i32 noundef %124) #4
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %126 = load i32, ptr %19, align 4, !tbaa !29
  %127 = sext i32 %126 to i64
  %128 = icmp slt i64 %indvars.iv.next98, %127
  br i1 %128, label %.peel.next, label %._crit_edge83, !llvm.loop !47

129:                                              ; preds = %106, %48
  %.pn = phi { ptr, i32 } [ %107, %106 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIcSaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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, !7, i64 0}
!6 = !{!"_ZTS8Instance", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !15, i64 48, !15, i64 72, !19, i64 96, !7, i64 120, !23, i64 124, !23, i64 125, !8, i64 126, !24, i64 128, !15, i64 152, !15, i64 176}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIS_IiSaIiEESaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_ZTSSt6vectorI4ItemSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI4ItemSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI4ItemSaIS0_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!23 = !{!"bool", !8, i64 0}
!24 = !{!"_ZTSSt6vectorIcSaIcEE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!28 = !{!6, !7, i64 4}
!29 = !{!6, !7, i64 12}
!30 = !{!7, !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = !{!35, !7, i64 48}
!35 = !{!"_ZTS4Item", !15, i64 0, !15, i64 24, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68}
!36 = distinct !{!36, !32}
!37 = !{!6, !8, i64 126}
!38 = !{!8, !8, i64 0}
!39 = distinct !{!39, !32}
!40 = distinct !{!40, !32}
!41 = distinct !{!41, !32}
!42 = !{!6, !7, i64 120}
!43 = !{!6, !23, i64 125}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!6, !23, i64 124}
!47 = distinct !{!47, !32, !48}
!48 = !{!"llvm.loop.peeled.count", i32 1}


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