; LLVM IR from fritzsedlazeck/SURVIVOR :: src/simulator/Error_scanner.ll (Z18summarizeAlignmentSt6vectorI7CigarOpSaIS0_EEPc)

; 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<differences_str, std::allocator<differences_str>>::_Vector_impl" }
%"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl" = type { %"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl_data" }
%"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.differences_str = type { i32, i16 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.CigarOp = type { i8, i32 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9add_eventiRmRSt6vectorI15differences_strSaIS1_EE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18summarizeAlignmentSt6vectorI7CigarOpSaIS0_EEPc(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca i32, align 4
  %9 = alloca %struct.differences_str, align 4
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorI15differences_strSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %19

19:                                               ; preds = %128, %3
  %20 = load i64, ptr %10, align 8, !tbaa !11
  %21 = call noundef i64 @_ZNKSt6vectorI7CigarOpSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %22 = icmp ult i64 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %132

24:                                               ; preds = %19
  %25 = load i64, ptr %10, align 8, !tbaa !11
  %26 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %25) #4
  %27 = getelementptr inbounds %struct.CigarOp, ptr %26, i32 0, i32 0
  %28 = load i8, ptr %27, align 4, !tbaa !13
  %29 = sext i8 %28 to i32
  %30 = icmp eq i32 %29, 68
  br i1 %30, label %31, label %51

31:                                               ; preds = %24
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 0
  store i32 %32, ptr %33, align 4, !tbaa !15
  %34 = load i64, ptr %10, align 8, !tbaa !11
  %35 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %34) #4
  %36 = getelementptr inbounds %struct.CigarOp, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 4, !tbaa !18
  %38 = trunc i32 %37 to i16
  %39 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 1
  store i16 %38, ptr %39, align 4, !tbaa !19
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %40 unwind label %47

40:                                               ; preds = %31
  %41 = load i64, ptr %10, align 8, !tbaa !11
  %42 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %41) #4
  %43 = getelementptr inbounds %struct.CigarOp, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !18
  %45 = load i32, ptr %8, align 4, !tbaa !9
  %46 = add nsw i32 %45, %44
  store i32 %46, ptr %8, align 4, !tbaa !9
  br label %127

47:                                               ; preds = %58, %31
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %11, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %12, align 4
  br label %131

51:                                               ; preds = %24
  %52 = load i64, ptr %10, align 8, !tbaa !11
  %53 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %52) #4
  %54 = getelementptr inbounds %struct.CigarOp, ptr %53, i32 0, i32 0
  %55 = load i8, ptr %54, align 4, !tbaa !13
  %56 = sext i8 %55 to i32
  %57 = icmp eq i32 %56, 73
  br i1 %57, label %58, label %69

58:                                               ; preds = %51
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 0
  store i32 %59, ptr %60, align 4, !tbaa !15
  %61 = load i64, ptr %10, align 8, !tbaa !11
  %62 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %61) #4
  %63 = getelementptr inbounds %struct.CigarOp, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !18
  %65 = mul nsw i32 %64, -1
  %66 = trunc i32 %65 to i16
  %67 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 1
  store i16 %66, ptr %67, align 4, !tbaa !19
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %68 unwind label %47

68:                                               ; preds = %58
  br label %126

69:                                               ; preds = %51
  %70 = load i64, ptr %10, align 8, !tbaa !11
  %71 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %70) #4
  %72 = getelementptr inbounds %struct.CigarOp, ptr %71, i32 0, i32 0
  %73 = load i8, ptr %72, align 4, !tbaa !13
  %74 = sext i8 %73 to i32
  %75 = icmp eq i32 %74, 77
  br i1 %75, label %76, label %83

76:                                               ; preds = %69
  %77 = load i64, ptr %10, align 8, !tbaa !11
  %78 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %77) #4
  %79 = getelementptr inbounds %struct.CigarOp, ptr %78, i32 0, i32 1
  %80 = load i32, ptr %79, align 4, !tbaa !18
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = add nsw i32 %81, %80
  store i32 %82, ptr %8, align 4, !tbaa !9
  br label %125

83:                                               ; preds = %69
  %84 = load i64, ptr %10, align 8, !tbaa !11
  %85 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %84) #4
  %86 = getelementptr inbounds %struct.CigarOp, ptr %85, i32 0, i32 0
  %87 = load i8, ptr %86, align 4, !tbaa !13
  %88 = sext i8 %87 to i32
  %89 = icmp eq i32 %88, 78
  br i1 %89, label %90, label %97

90:                                               ; preds = %83
  %91 = load i64, ptr %10, align 8, !tbaa !11
  %92 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %91) #4
  %93 = getelementptr inbounds %struct.CigarOp, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !18
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = add nsw i32 %95, %94
  store i32 %96, ptr %8, align 4, !tbaa !9
  br label %124

97:                                               ; preds = %83
  %98 = load i64, ptr %10, align 8, !tbaa !11
  %99 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %98) #4
  %100 = getelementptr inbounds %struct.CigarOp, ptr %99, i32 0, i32 0
  %101 = load i8, ptr %100, align 4, !tbaa !13
  %102 = sext i8 %101 to i32
  %103 = icmp eq i32 %102, 83
  br i1 %103, label %104, label %123

104:                                              ; preds = %97
  %105 = load i32, ptr %8, align 4, !tbaa !9
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %123

107:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  %108 = load i32, ptr %8, align 4, !tbaa !9
  %109 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 0
  store i32 %108, ptr %109, align 4, !tbaa !15
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = load i64, ptr %10, align 8, !tbaa !11
  %112 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %111) #4
  %113 = getelementptr inbounds %struct.CigarOp, ptr %112, i32 0, i32 1
  %114 = load i32, ptr %113, align 4, !tbaa !18
  %115 = add nsw i32 %110, %114
  %116 = trunc i32 %115 to i16
  %117 = getelementptr inbounds %struct.differences_str, ptr %9, i32 0, i32 1
  store i16 %116, ptr %117, align 4, !tbaa !19
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %118 unwind label %119

118:                                              ; preds = %107
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  br label %123

119:                                              ; preds = %107
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %11, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  br label %131

123:                                              ; preds = %118, %104, %97
  br label %124

124:                                              ; preds = %123, %90
  br label %125

125:                                              ; preds = %124, %76
  br label %126

126:                                              ; preds = %125, %68
  br label %127

127:                                              ; preds = %126, %40
  br label %128

128:                                              ; preds = %127
  %129 = load i64, ptr %10, align 8, !tbaa !11
  %130 = add i64 %129, 1
  store i64 %130, ptr %10, align 8, !tbaa !11
  br label %19, !llvm.loop !20

131:                                              ; preds = %119, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %242

132:                                              ; preds = %23
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 0, ptr %14, align 1, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 0, ptr %15, align 1, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store i64 0, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  store i64 0, ptr %18, align 8, !tbaa !11
  br label %133

133:                                              ; preds = %237, %132
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = load i64, ptr %18, align 8, !tbaa !11
  %136 = getelementptr inbounds i8, ptr %134, i64 %135
  %137 = load i8, ptr %136, align 1, !tbaa !24
  %138 = sext i8 %137 to i32
  %139 = icmp ne i32 %138, 9
  br i1 %139, label %140, label %154

140:                                              ; preds = %133
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = load i64, ptr %18, align 8, !tbaa !11
  %143 = getelementptr inbounds i8, ptr %141, i64 %142
  %144 = load i8, ptr %143, align 1, !tbaa !24
  %145 = sext i8 %144 to i32
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %154

147:                                              ; preds = %140
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = load i64, ptr %18, align 8, !tbaa !11
  %150 = getelementptr inbounds i8, ptr %148, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !24
  %152 = sext i8 %151 to i32
  %153 = icmp ne i32 %152, 10
  br label %154

154:                                              ; preds = %147, %140, %133
  %155 = phi i1 [ false, %140 ], [ false, %133 ], [ %153, %147 ]
  br i1 %155, label %156, label %240

156:                                              ; preds = %154
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = load i64, ptr %18, align 8, !tbaa !11
  %159 = getelementptr inbounds i8, ptr %157, i64 %158
  %160 = load i8, ptr %159, align 1, !tbaa !24
  %161 = sext i8 %160 to i32
  %162 = icmp eq i32 %161, 94
  br i1 %162, label %163, label %164

163:                                              ; preds = %156
  store i8 1, ptr %15, align 1, !tbaa !22
  br label %164

164:                                              ; preds = %163, %156
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = load i64, ptr %18, align 8, !tbaa !11
  %167 = getelementptr inbounds i8, ptr %165, i64 %166
  %168 = call i32 @atoi(ptr noundef %167) #5
  %169 = icmp eq i32 %168, 0
  br i1 %169, label %170, label %226

170:                                              ; preds = %164
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = load i64, ptr %18, align 8, !tbaa !11
  %173 = getelementptr inbounds i8, ptr %171, i64 %172
  %174 = load i8, ptr %173, align 1, !tbaa !24
  %175 = sext i8 %174 to i32
  %176 = icmp ne i32 %175, 48
  br i1 %176, label %177, label %226

177:                                              ; preds = %170
  %178 = load i8, ptr %15, align 1, !tbaa !22, !range !25, !noundef !26
  %179 = trunc i8 %178 to i1
  br i1 %179, label %225, label %180

180:                                              ; preds = %177
  br label %181

181:                                              ; preds = %213, %180
  %182 = load i32, ptr %16, align 4, !tbaa !9
  %183 = call noundef i64 @_ZNKSt6vectorI15differences_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %184 = trunc i64 %183 to i32
  %185 = icmp slt i32 %182, %184
  br i1 %185, label %186, label %194

186:                                              ; preds = %181
  %187 = load i32, ptr %8, align 4, !tbaa !9
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %189) #4
  %191 = getelementptr inbounds %struct.differences_str, ptr %190, i32 0, i32 0
  %192 = load i32, ptr %191, align 4, !tbaa !15
  %193 = icmp sgt i32 %187, %192
  br label %194

194:                                              ; preds = %186, %181
  %195 = phi i1 [ false, %181 ], [ %193, %186 ]
  br i1 %195, label %196, label %216

196:                                              ; preds = %194
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %198) #4
  %200 = getelementptr inbounds %struct.differences_str, ptr %199, i32 0, i32 1
  %201 = load i16, ptr %200, align 4, !tbaa !19
  %202 = sext i16 %201 to i32
  %203 = icmp sgt i32 %202, 0
  br i1 %203, label %204, label %213

204:                                              ; preds = %196
  %205 = load i32, ptr %16, align 4, !tbaa !9
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %206) #4
  %208 = getelementptr inbounds %struct.differences_str, ptr %207, i32 0, i32 1
  %209 = load i16, ptr %208, align 4, !tbaa !19
  %210 = sext i16 %209 to i32
  %211 = load i32, ptr %8, align 4, !tbaa !9
  %212 = add nsw i32 %211, %210
  store i32 %212, ptr %8, align 4, !tbaa !9
  br label %213

213:                                              ; preds = %204, %196
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %16, align 4, !tbaa !9
  br label %181, !llvm.loop !27

216:                                              ; preds = %194
  %217 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_Z9add_eventiRmRSt6vectorI15differences_strSaIS1_EE(i32 noundef %217, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(24) %0)
          to label %218 unwind label %221

218:                                              ; preds = %216
  %219 = load i32, ptr %8, align 4, !tbaa !9
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %8, align 4, !tbaa !9
  br label %225

221:                                              ; preds = %216
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %11, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  br label %242

225:                                              ; preds = %218, %177
  store i8 0, ptr %14, align 1, !tbaa !22
  br label %237

226:                                              ; preds = %170, %164
  %227 = load i8, ptr %14, align 1, !tbaa !22, !range !25, !noundef !26
  %228 = trunc i8 %227 to i1
  br i1 %228, label %236, label %229

229:                                              ; preds = %226
  store i8 1, ptr %14, align 1, !tbaa !22
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = load i64, ptr %18, align 8, !tbaa !11
  %232 = getelementptr inbounds i8, ptr %230, i64 %231
  %233 = call i32 @atoi(ptr noundef %232) #5
  %234 = load i32, ptr %8, align 4, !tbaa !9
  %235 = add nsw i32 %234, %233
  store i32 %235, ptr %8, align 4, !tbaa !9
  store i8 0, ptr %15, align 1, !tbaa !22
  br label %236

236:                                              ; preds = %229, %226
  br label %237

237:                                              ; preds = %236, %225
  %238 = load i64, ptr %18, align 8, !tbaa !11
  %239 = add i64 %238, 1
  store i64 %239, ptr %18, align 8, !tbaa !11
  br label %133, !llvm.loop !28

240:                                              ; preds = %154
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %241 = load i1, ptr %7, align 1
  br i1 %241, label %244, label %243

242:                                              ; preds = %221, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @_ZNSt6vectorI15differences_strSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %245

243:                                              ; preds = %240
  call void @_ZNSt6vectorI15differences_strSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %244

244:                                              ; preds = %243, %240
  ret void

245:                                              ; preds = %242
  %246 = load ptr, ptr %11, align 8
  %247 = load i32, ptr %12, align 4
  %248 = insertvalue { ptr, i32 } poison, ptr %246, 0
  %249 = insertvalue { ptr, i32 } %248, i32 %247, 1
  resume { ptr, i32 } %249
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

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

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

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

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTS7CigarOp", !7, i64 0, !10, i64 4}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTS15differences_str", !10, i64 0, !17, i64 4}
!17 = !{!"short", !7, i64 0}
!18 = !{!14, !10, i64 4}
!19 = !{!16, !17, i64 4}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !23, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!7, !7, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = distinct !{!27, !21}
!28 = distinct !{!28, !21}


; 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<differences_str, std::allocator<differences_str>>::_Vector_impl" }
%"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl" = type { %"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl_data" }
%"struct.std::_Vector_base<differences_str, std::allocator<differences_str>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.differences_str = type { i32, i16 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9add_eventiRmRSt6vectorI15differences_strSaIS1_EE(i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18summarizeAlignmentSt6vectorI7CigarOpSaIS0_EEPc(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.differences_str, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i64, align 8
  tail call void @_ZNSt6vectorI15differences_strSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %7 = tail call noundef i64 @_ZNKSt6vectorI7CigarOpSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %.not = icmp eq i64 %7, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %8 = getelementptr inbounds i8, ptr %4, i64 4
  br label %9

._crit_edge:                                      ; preds = %65, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  store i64 0, ptr %6, align 8, !tbaa !5
  br label %69

9:                                                ; preds = %.lr.ph, %65
  %.06384 = phi i64 [ 0, %.lr.ph ], [ %66, %65 ]
  %.06483 = phi i32 [ 0, %.lr.ph ], [ %.165, %65 ]
  %10 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %11 = load i8, ptr %10, align 4, !tbaa !9
  %12 = icmp eq i8 %11, 68
  br i1 %12, label %13, label %25

13:                                               ; preds = %9
  store i32 %.06483, ptr %4, align 4, !tbaa !12
  %14 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %15 = getelementptr inbounds i8, ptr %14, i64 4
  %16 = load i32, ptr %15, align 4, !tbaa !15
  %17 = trunc i32 %16 to i16
  store i16 %17, ptr %8, align 4, !tbaa !16
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %18 unwind label %23

18:                                               ; preds = %13
  %19 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %20 = getelementptr inbounds i8, ptr %19, i64 4
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %22 = add nsw i32 %21, %.06483
  br label %65

23:                                               ; preds = %29, %13
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %110

25:                                               ; preds = %9
  %26 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %27 = load i8, ptr %26, align 4, !tbaa !9
  %28 = icmp eq i8 %27, 73
  br i1 %28, label %29, label %35

29:                                               ; preds = %25
  store i32 %.06483, ptr %4, align 4, !tbaa !12
  %30 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %31 = getelementptr inbounds i8, ptr %30, i64 4
  %32 = load i32, ptr %31, align 4, !tbaa !15
  %33 = trunc i32 %32 to i16
  %34 = sub i16 0, %33
  store i16 %34, ptr %8, align 4, !tbaa !16
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %65 unwind label %23

35:                                               ; preds = %25
  %36 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %37 = load i8, ptr %36, align 4, !tbaa !9
  %38 = icmp eq i8 %37, 77
  %39 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  br i1 %38, label %40, label %44

40:                                               ; preds = %35
  %41 = getelementptr inbounds i8, ptr %39, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !15
  %43 = add nsw i32 %42, %.06483
  br label %65

44:                                               ; preds = %35
  %45 = load i8, ptr %39, align 4, !tbaa !9
  %46 = icmp eq i8 %45, 78
  %47 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  br i1 %46, label %48, label %52

48:                                               ; preds = %44
  %49 = getelementptr inbounds i8, ptr %47, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !15
  %51 = add nsw i32 %50, %.06483
  br label %65

52:                                               ; preds = %44
  %53 = load i8, ptr %47, align 4, !tbaa !9
  %54 = icmp eq i8 %53, 83
  %55 = icmp ne i32 %.06483, 0
  %or.cond = select i1 %54, i1 %55, i1 false
  br i1 %or.cond, label %56, label %65

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  store i32 %.06483, ptr %4, align 4, !tbaa !12
  %57 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI7CigarOpSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.06384) #4
  %58 = getelementptr inbounds i8, ptr %57, i64 4
  %59 = load i32, ptr %58, align 4, !tbaa !15
  %60 = add nsw i32 %59, %.06483
  %61 = trunc i32 %60 to i16
  store i16 %61, ptr %8, align 4, !tbaa !16
  invoke void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %62 unwind label %63

62:                                               ; preds = %56
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  br label %65

63:                                               ; preds = %56
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  br label %110

65:                                               ; preds = %18, %40, %52, %62, %48, %29
  %.165 = phi i32 [ %22, %18 ], [ %.06483, %29 ], [ %43, %40 ], [ %51, %48 ], [ %.06483, %62 ], [ %.06483, %52 ]
  %66 = add nuw i64 %.06384, 1
  %67 = call noundef i64 @_ZNKSt6vectorI7CigarOpSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %68 = icmp ult i64 %66, %67
  br i1 %68, label %9, label %._crit_edge, !llvm.loop !17

69:                                               ; preds = %.thread81, %._crit_edge
  %.266 = phi i32 [ 0, %._crit_edge ], [ %.6, %.thread81 ]
  %.057 = phi i1 [ false, %._crit_edge ], [ %.158, %.thread81 ]
  %.054 = phi i1 [ false, %._crit_edge ], [ %.256, %.thread81 ]
  %.053 = phi i32 [ 0, %._crit_edge ], [ %.3, %.thread81 ]
  %.0 = phi i64 [ 0, %._crit_edge ], [ %109, %.thread81 ]
  %70 = getelementptr inbounds i8, ptr %2, i64 %.0
  %71 = load i8, ptr %70, align 1, !tbaa !19
  switch i8 %71, label %72 [
    i8 9, label %.critedge
    i8 0, label %.critedge
    i8 10, label %.critedge
    i8 94, label %.thread
  ]

72:                                               ; preds = %69
  %73 = call i32 @atoi(ptr nocapture noundef %70) #5
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %77, label %105

.thread:                                          ; preds = %69
  %75 = call i32 @atoi(ptr nocapture noundef %70) #5
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %.thread81, label %105

77:                                               ; preds = %72
  %.not71 = icmp eq i8 %71, 48
  br i1 %.not71, label %105, label %78

78:                                               ; preds = %77
  br i1 %.054, label %.thread81, label %.preheader

.preheader:                                       ; preds = %78
  %79 = call noundef i64 @_ZNKSt6vectorI15differences_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %80 = trunc i64 %79 to i32
  %81 = icmp slt i32 %.053, %80
  br i1 %81, label %.lr.ph87.preheader, label %.critedge3

.lr.ph87.preheader:                               ; preds = %.preheader
  %82 = sext i32 %.053 to i64
  br label %.lr.ph87

.lr.ph87:                                         ; preds = %.lr.ph87.preheader, %97
  %indvars.iv = phi i64 [ %82, %.lr.ph87.preheader ], [ %indvars.iv.next, %97 ]
  %.36785 = phi i32 [ %.266, %.lr.ph87.preheader ], [ %.4, %97 ]
  %83 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #4
  %84 = load i32, ptr %83, align 4, !tbaa !12
  %85 = icmp sgt i32 %.36785, %84
  br i1 %85, label %86, label %.critedge3.loopexit

86:                                               ; preds = %.lr.ph87
  %87 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #4
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load i16, ptr %88, align 4, !tbaa !16
  %90 = icmp sgt i16 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %86
  %92 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI15differences_strSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #4
  %93 = getelementptr inbounds i8, ptr %92, i64 4
  %94 = load i16, ptr %93, align 4, !tbaa !16
  %95 = sext i16 %94 to i32
  %96 = add nsw i32 %.36785, %95
  br label %97

97:                                               ; preds = %91, %86
  %.4 = phi i32 [ %96, %91 ], [ %.36785, %86 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %98 = call noundef i64 @_ZNKSt6vectorI15differences_strSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %sext = shl i64 %98, 32
  %99 = ashr exact i64 %sext, 32
  %100 = icmp slt i64 %indvars.iv.next, %99
  br i1 %100, label %.lr.ph87, label %.critedge3.loopexit, !llvm.loop !20

.critedge3.loopexit:                              ; preds = %97, %.lr.ph87
  %.367.lcssa.ph = phi i32 [ %.36785, %.lr.ph87 ], [ %.4, %97 ]
  %.1.lcssa.ph.in = phi i64 [ %indvars.iv, %.lr.ph87 ], [ %indvars.iv.next, %97 ]
  %.1.lcssa.ph = trunc i64 %.1.lcssa.ph.in to i32
  br label %.critedge3

.critedge3:                                       ; preds = %.critedge3.loopexit, %.preheader
  %.367.lcssa = phi i32 [ %.266, %.preheader ], [ %.367.lcssa.ph, %.critedge3.loopexit ]
  %.1.lcssa = phi i32 [ %.053, %.preheader ], [ %.1.lcssa.ph, %.critedge3.loopexit ]
  invoke void @_Z9add_eventiRmRSt6vectorI15differences_strSaIS1_EE(i32 noundef %.367.lcssa, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(24) %0)
          to label %101 unwind label %103

101:                                              ; preds = %.critedge3
  %102 = add nsw i32 %.367.lcssa, 1
  br label %.thread81

103:                                              ; preds = %.critedge3
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %110

105:                                              ; preds = %.thread, %77, %72
  %106 = phi i32 [ %75, %.thread ], [ 0, %77 ], [ %73, %72 ]
  %.15576 = phi i1 [ true, %.thread ], [ %.054, %77 ], [ %.054, %72 ]
  br i1 %.057, label %.thread81, label %107

107:                                              ; preds = %105
  %108 = add nsw i32 %106, %.266
  br label %.thread81

.thread81:                                        ; preds = %.thread, %78, %101, %105, %107
  %.6 = phi i32 [ %.266, %105 ], [ %108, %107 ], [ %.266, %78 ], [ %102, %101 ], [ %.266, %.thread ]
  %.158 = phi i1 [ true, %105 ], [ true, %107 ], [ false, %78 ], [ false, %101 ], [ false, %.thread ]
  %.256 = phi i1 [ %.15576, %105 ], [ false, %107 ], [ true, %78 ], [ false, %101 ], [ true, %.thread ]
  %.3 = phi i32 [ %.053, %105 ], [ %.053, %107 ], [ %.053, %78 ], [ %.1.lcssa, %101 ], [ %.053, %.thread ]
  %109 = add i64 %.0, 1
  br label %69, !llvm.loop !21

.critedge:                                        ; preds = %69, %69, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret void

110:                                              ; preds = %23, %63, %103
  %.pn.pn = phi { ptr, i32 } [ %104, %103 ], [ %24, %23 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZNSt6vectorI15differences_strSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  resume { ptr, i32 } %.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI15differences_strSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

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

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

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


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