; LLVM IR from UBIC-repo/core :: Tools/VectorTool.ll (ZN10VectorTool20prependToCorrectSizeESt6vectorIhSaIhEE)

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

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

; 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 void @_ZNSt6vectorIhSaIhEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i8 noundef zeroext, i32 noundef, ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10VectorTool20prependToCorrectSizeESt6vectorIhSaIhEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %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 %"class.std::vector", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::vector", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %16 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %17 = trunc i64 %16 to i32
  store i32 %17, ptr %5, align 4, !tbaa !9
  %18 = load i32, ptr %5, align 4, !tbaa !9
  %19 = icmp eq i32 %18, 20
  br i1 %19, label %38, label %20

20:                                               ; preds = %2
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = icmp eq i32 %21, 28
  br i1 %22, label %38, label %23

23:                                               ; preds = %20
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 32
  br i1 %25, label %38, label %26

26:                                               ; preds = %23
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = icmp eq i32 %27, 64
  br i1 %28, label %38, label %29

29:                                               ; preds = %26
  %30 = load i32, ptr %5, align 4, !tbaa !9
  %31 = icmp eq i32 %30, 128
  br i1 %31, label %38, label %32

32:                                               ; preds = %29
  %33 = load i32, ptr %5, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 256
  br i1 %34, label %38, label %35

35:                                               ; preds = %32
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = icmp eq i32 %36, 512
  br i1 %37, label %38, label %39

38:                                               ; preds = %35, %32, %29, %26, %23, %20, %2
  call void @_ZNSt6vectorIhSaIhEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store i32 1, ptr %6, align 4
  br label %127

39:                                               ; preds = %35
  %40 = load i32, ptr %5, align 4, !tbaa !9
  %41 = icmp slt i32 %40, 20
  br i1 %41, label %42, label %48

42:                                               ; preds = %39
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 20, ptr noundef %7)
          to label %43 unwind label %44

43:                                               ; preds = %42
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  store i32 1, ptr %6, align 4
  br label %127

44:                                               ; preds = %42
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %8, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #3
  br label %128

48:                                               ; preds = %39
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = icmp sgt i32 %49, 20
  br i1 %50, label %51, label %60

51:                                               ; preds = %48
  %52 = load i32, ptr %5, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 28
  br i1 %53, label %54, label %60

54:                                               ; preds = %51
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 28, ptr noundef %10)
          to label %55 unwind label %56

55:                                               ; preds = %54
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  store i32 1, ptr %6, align 4
  br label %127

56:                                               ; preds = %54
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %8, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  br label %128

60:                                               ; preds = %51, %48
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = icmp sgt i32 %61, 28
  br i1 %62, label %63, label %72

63:                                               ; preds = %60
  %64 = load i32, ptr %5, align 4, !tbaa !9
  %65 = icmp slt i32 %64, 32
  br i1 %65, label %66, label %72

66:                                               ; preds = %63
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 32, ptr noundef %11)
          to label %67 unwind label %68

67:                                               ; preds = %66
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #3
  store i32 1, ptr %6, align 4
  br label %127

68:                                               ; preds = %66
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %8, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #3
  br label %128

72:                                               ; preds = %63, %60
  %73 = load i32, ptr %5, align 4, !tbaa !9
  %74 = icmp sgt i32 %73, 32
  br i1 %74, label %75, label %84

75:                                               ; preds = %72
  %76 = load i32, ptr %5, align 4, !tbaa !9
  %77 = icmp slt i32 %76, 64
  br i1 %77, label %78, label %84

78:                                               ; preds = %75
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 64, ptr noundef %12)
          to label %79 unwind label %80

79:                                               ; preds = %78
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  store i32 1, ptr %6, align 4
  br label %127

80:                                               ; preds = %78
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  br label %128

84:                                               ; preds = %75, %72
  %85 = load i32, ptr %5, align 4, !tbaa !9
  %86 = icmp sgt i32 %85, 64
  br i1 %86, label %87, label %96

87:                                               ; preds = %84
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = icmp slt i32 %88, 128
  br i1 %89, label %90, label %96

90:                                               ; preds = %87
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 128, ptr noundef %13)
          to label %91 unwind label %92

91:                                               ; preds = %90
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #3
  store i32 1, ptr %6, align 4
  br label %127

92:                                               ; preds = %90
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %8, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #3
  br label %128

96:                                               ; preds = %87, %84
  %97 = load i32, ptr %5, align 4, !tbaa !9
  %98 = icmp sgt i32 %97, 128
  br i1 %98, label %99, label %108

99:                                               ; preds = %96
  %100 = load i32, ptr %5, align 4, !tbaa !9
  %101 = icmp slt i32 %100, 256
  br i1 %101, label %102, label %108

102:                                              ; preds = %99
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 256, ptr noundef %14)
          to label %103 unwind label %104

103:                                              ; preds = %102
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  store i32 1, ptr %6, align 4
  br label %127

104:                                              ; preds = %102
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %8, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  br label %128

108:                                              ; preds = %99, %96
  %109 = load i32, ptr %5, align 4, !tbaa !9
  %110 = icmp sgt i32 %109, 256
  br i1 %110, label %111, label %120

111:                                              ; preds = %108
  %112 = load i32, ptr %5, align 4, !tbaa !9
  %113 = icmp slt i32 %112, 512
  br i1 %113, label %114, label %120

114:                                              ; preds = %111
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 512, ptr noundef %15)
          to label %115 unwind label %116

115:                                              ; preds = %114
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  store i32 1, ptr %6, align 4
  br label %127

116:                                              ; preds = %114
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %8, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %9, align 4
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  br label %128

120:                                              ; preds = %111, %108
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  call void @_ZNSt6vectorIhSaIhEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store i32 1, ptr %6, align 4
  br label %127

127:                                              ; preds = %126, %115, %103, %91, %79, %67, %55, %43, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret void

128:                                              ; preds = %116, %104, %92, %80, %68, %56, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %129

129:                                              ; preds = %128
  %130 = load ptr, ptr %8, align 8
  %131 = load i32, ptr %9, align 4
  %132 = insertvalue { ptr, i32 } poison, ptr %130, 0
  %133 = insertvalue { ptr, i32 } %132, i32 %131, 1
  resume { ptr, i32 } %133
}

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 }

!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}


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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i8 noundef zeroext, i32 noundef, ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10VectorTool20prependToCorrectSizeESt6vectorIhSaIhEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #2
  %11 = trunc i64 %10 to i32
  switch i32 %11, label %13 [
    i32 512, label %12
    i32 256, label %12
    i32 128, label %12
    i32 64, label %12
    i32 32, label %12
    i32 28, label %12
    i32 20, label %12
  ]

12:                                               ; preds = %2, %2, %2, %2, %2, %2, %2
  tail call void @_ZNSt6vectorIhSaIhEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2
  br label %57

13:                                               ; preds = %2
  %14 = icmp slt i32 %11, 20
  br i1 %14, label %15, label %19

15:                                               ; preds = %13
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 20, ptr noundef nonnull %3)
          to label %16 unwind label %17

16:                                               ; preds = %15
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #2
  br label %57

17:                                               ; preds = %15
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %58

19:                                               ; preds = %13
  %20 = icmp ult i32 %11, 28
  br i1 %20, label %21, label %25

21:                                               ; preds = %19
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 28, ptr noundef nonnull %4)
          to label %22 unwind label %23

22:                                               ; preds = %21
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #2
  br label %57

23:                                               ; preds = %21
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %58

25:                                               ; preds = %19
  %26 = icmp ne i32 %11, 28
  %27 = icmp ult i32 %11, 32
  %or.cond15 = and i1 %26, %27
  br i1 %or.cond15, label %28, label %32

28:                                               ; preds = %25
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 32, ptr noundef nonnull %5)
          to label %29 unwind label %30

29:                                               ; preds = %28
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #2
  br label %57

30:                                               ; preds = %28
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %58

32:                                               ; preds = %25
  %33 = add nsw i32 %11, -33
  %or.cond17 = icmp ult i32 %33, 31
  br i1 %or.cond17, label %34, label %38

34:                                               ; preds = %32
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 64, ptr noundef nonnull %6)
          to label %35 unwind label %36

35:                                               ; preds = %34
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  br label %57

36:                                               ; preds = %34
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %58

38:                                               ; preds = %32
  %39 = add nsw i32 %11, -65
  %or.cond19 = icmp ult i32 %39, 63
  br i1 %or.cond19, label %40, label %44

40:                                               ; preds = %38
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 128, ptr noundef nonnull %7)
          to label %41 unwind label %42

41:                                               ; preds = %40
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #2
  br label %57

42:                                               ; preds = %40
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %58

44:                                               ; preds = %38
  %45 = add nsw i32 %11, -129
  %or.cond21 = icmp ult i32 %45, 127
  br i1 %or.cond21, label %46, label %50

46:                                               ; preds = %44
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 256, ptr noundef nonnull %8)
          to label %47 unwind label %48

47:                                               ; preds = %46
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #2
  br label %57

48:                                               ; preds = %46
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %58

50:                                               ; preds = %44
  %51 = add nsw i32 %11, -257
  %or.cond23 = icmp ult i32 %51, 255
  br i1 %or.cond23, label %52, label %56

52:                                               ; preds = %50
  call void @_ZNSt6vectorIhSaIhEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN10VectorTool7prependEhiSt6vectorIhSaIhEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, i8 noundef zeroext 0, i32 noundef 512, ptr noundef nonnull %9)
          to label %53 unwind label %54

53:                                               ; preds = %52
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #2
  br label %57

54:                                               ; preds = %52
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %50
  tail call void @_ZNSt6vectorIhSaIhEEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2
  br label %57

57:                                               ; preds = %56, %53, %47, %41, %35, %29, %22, %16, %12
  ret void

58:                                               ; preds = %54, %48, %42, %36, %30, %23, %17
  %.sink = phi ptr [ %9, %54 ], [ %8, %48 ], [ %7, %42 ], [ %6, %36 ], [ %5, %30 ], [ %4, %23 ], [ %3, %17 ]
  %.pn = phi { ptr, i32 } [ %55, %54 ], [ %49, %48 ], [ %43, %42 ], [ %37, %36 ], [ %31, %30 ], [ %24, %23 ], [ %18, %17 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #2
  resume { ptr, i32 } %.pn
}

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass