; LLVM IR from atlantis13579/Riemann :: Src/CollisionPrimitive (Capsule3)

; 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"

; 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 uwtable
define dso_local void @_ZN7Riemann8Capsule37GetMeshERSt6vectorIN5Maths8TVector3IfEESaIS4_EERS1_ItSaItEES7_(ptr noundef nonnull align 4 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i16, align 2
  %21 = alloca i16, align 2
  %22 = alloca i16, align 2
  %23 = alloca i16, align 2
  %24 = alloca i16, align 2
  %25 = alloca i16, align 2
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i16, align 2
  %29 = alloca i16, align 2
  %30 = alloca i16, align 2
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 5, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 8, ptr %10, align 4, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN7Riemann8Capsule311GetVerticesEiiRSt6vectorIN5Maths8TVector3IfEESaIS4_EEPS6_(ptr noundef nonnull align 4 dereferenceable(32) %31, i32 noundef 5, i32 noundef 8, ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef %33)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %47, %4
  %35 = load i32, ptr %11, align 4, !tbaa !9
  %36 = icmp sle i32 %35, 8
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %50

38:                                               ; preds = %34
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #3
  store i16 0, ptr %12, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #3
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  %41 = load i32, ptr %11, align 4, !tbaa !9
  %42 = add nsw i32 %41, 1
  %43 = trunc i32 %42 to i16
  store i16 %43, ptr %13, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #3
  %45 = load i32, ptr %11, align 4, !tbaa !9
  %46 = trunc i32 %45 to i16
  store i16 %46, ptr %14, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #3
  br label %47

47:                                               ; preds = %38
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %11, align 4, !tbaa !9
  br label %34, !llvm.loop !13

50:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 1, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  store i32 9, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %125, %50
  %52 = load i32, ptr %17, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 3
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  br label %128

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %121, %55
  %57 = load i32, ptr %19, align 4, !tbaa !9
  %58 = icmp slt i32 %57, 8
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store i32 8, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %124

60:                                               ; preds = %56
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %20) #3
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = load i32, ptr %16, align 4, !tbaa !9
  %65 = mul nsw i32 %63, %64
  %66 = add nsw i32 %62, %65
  %67 = load i32, ptr %19, align 4, !tbaa !9
  %68 = add nsw i32 %66, %67
  %69 = trunc i32 %68 to i16
  store i16 %69, ptr %20, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 2 dereferenceable(2) %20)
  call void @llvm.lifetime.end.p0(i64 2, ptr %20) #3
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %21) #3
  %71 = load i32, ptr %15, align 4, !tbaa !9
  %72 = load i32, ptr %17, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = mul nsw i32 %72, %73
  %75 = add nsw i32 %71, %74
  %76 = load i32, ptr %19, align 4, !tbaa !9
  %77 = add nsw i32 %75, %76
  %78 = add nsw i32 %77, 1
  %79 = trunc i32 %78 to i16
  store i16 %79, ptr %21, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 2 dereferenceable(2) %21)
  call void @llvm.lifetime.end.p0(i64 2, ptr %21) #3
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %22) #3
  %81 = load i32, ptr %15, align 4, !tbaa !9
  %82 = load i32, ptr %17, align 4, !tbaa !9
  %83 = add nsw i32 %82, 1
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = mul nsw i32 %83, %84
  %86 = add nsw i32 %81, %85
  %87 = load i32, ptr %19, align 4, !tbaa !9
  %88 = add nsw i32 %86, %87
  %89 = trunc i32 %88 to i16
  store i16 %89, ptr %22, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 2 dereferenceable(2) %22)
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #3
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %23) #3
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = mul nsw i32 %93, %94
  %96 = add nsw i32 %91, %95
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = add nsw i32 %96, %97
  %99 = trunc i32 %98 to i16
  store i16 %99, ptr %23, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 2 dereferenceable(2) %23)
  call void @llvm.lifetime.end.p0(i64 2, ptr %23) #3
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %24) #3
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = mul nsw i32 %102, %103
  %105 = add nsw i32 %101, %104
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = add nsw i32 %105, %106
  %108 = add nsw i32 %107, 1
  %109 = trunc i32 %108 to i16
  store i16 %109, ptr %24, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 2 dereferenceable(2) %24)
  call void @llvm.lifetime.end.p0(i64 2, ptr %24) #3
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %25) #3
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = load i32, ptr %17, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  %114 = load i32, ptr %16, align 4, !tbaa !9
  %115 = mul nsw i32 %113, %114
  %116 = add nsw i32 %111, %115
  %117 = load i32, ptr %19, align 4, !tbaa !9
  %118 = add nsw i32 %116, %117
  %119 = add nsw i32 %118, 1
  %120 = trunc i32 %119 to i16
  store i16 %120, ptr %25, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %110, ptr noundef nonnull align 2 dereferenceable(2) %25)
  call void @llvm.lifetime.end.p0(i64 2, ptr %25) #3
  br label %121

121:                                              ; preds = %60
  %122 = load i32, ptr %19, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %19, align 4, !tbaa !9
  br label %56, !llvm.loop !15

124:                                              ; preds = %59
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %17, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %17, align 4, !tbaa !9
  br label %51, !llvm.loop !16

128:                                              ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = call noundef i64 @_ZNKSt6vectorIN5Maths8TVector3IfEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #3
  %131 = trunc i64 %130 to i32
  %132 = sub nsw i32 %131, 1
  store i32 %132, ptr %26, align 4, !tbaa !9
  %133 = load i32, ptr %26, align 4, !tbaa !9
  %134 = load i32, ptr %16, align 4, !tbaa !9
  %135 = sub nsw i32 %133, %134
  store i32 %135, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %155, %128
  %137 = load i32, ptr %27, align 4, !tbaa !9
  %138 = icmp slt i32 %137, 8
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  br label %158

140:                                              ; preds = %136
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %28) #3
  %142 = load i32, ptr %26, align 4, !tbaa !9
  %143 = trunc i32 %142 to i16
  store i16 %143, ptr %28, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %141, ptr noundef nonnull align 2 dereferenceable(2) %28)
  call void @llvm.lifetime.end.p0(i64 2, ptr %28) #3
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #3
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = load i32, ptr %27, align 4, !tbaa !9
  %147 = add nsw i32 %145, %146
  %148 = trunc i32 %147 to i16
  store i16 %148, ptr %29, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %144, ptr noundef nonnull align 2 dereferenceable(2) %29)
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #3
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %30) #3
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %27, align 4, !tbaa !9
  %152 = add nsw i32 %150, %151
  %153 = add nsw i32 %152, 1
  %154 = trunc i32 %153 to i16
  store i16 %154, ptr %30, align 2, !tbaa !11
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr noundef nonnull align 2 dereferenceable(2) %30)
  call void @llvm.lifetime.end.p0(i64 2, ptr %30) #3
  br label %155

155:                                              ; preds = %140
  %156 = load i32, ptr %27, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %27, align 4, !tbaa !9
  br label %136, !llvm.loop !17

158:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Riemann8Capsule311GetVerticesEiiRSt6vectorIN5Maths8TVector3IfEESaIS4_EEPS6_(ptr noundef nonnull align 4 dereferenceable(32), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #1 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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"

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

; 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 uwtable
define dso_local void @_ZN7Riemann8Capsule37GetMeshERSt6vectorIN5Maths8TVector3IfEESaIS4_EERS1_ItSaItEES7_(ptr noundef nonnull align 4 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #1 align 2 {
.preheader.preheader:
  %4 = alloca i16, align 2
  %5 = alloca i16, align 2
  %6 = alloca i16, align 2
  %7 = alloca i16, align 2
  %8 = alloca i16, align 2
  %9 = alloca i16, align 2
  %10 = alloca i16, align 2
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = alloca i16, align 2
  %15 = alloca i16, align 2
  tail call void @_ZN7Riemann8Capsule311GetVerticesEiiRSt6vectorIN5Maths8TVector3IfEESaIS4_EEPS6_(ptr noundef nonnull align 4 dereferenceable(32) %0, i32 noundef 5, i32 noundef 8, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 2, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 1, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 3, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 2, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 4, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 3, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 5, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 4, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 6, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 5, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 7, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 6, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 8, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 7, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %4) #3
  store i16 0, ptr %4, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %4)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %5) #3
  store i16 9, ptr %5, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %5)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #3
  store i16 8, ptr %6, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %6)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #3
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %.05862 = phi i32 [ %65, %.preheader ], [ 0, %.preheader.preheader ]
  %16 = mul nuw nsw i32 %.05862, 9
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %17 = trunc i32 %16 to i16
  %18 = add i16 %17, 1
  store i16 %18, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %19 = add i16 %17, 2
  store i16 %19, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %20 = trunc i32 %16 to i16
  %21 = add i16 %20, 10
  store i16 %21, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %21, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %19, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %22 = add i16 %20, 11
  store i16 %22, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %23 = trunc i32 %16 to i16
  %24 = add i16 %23, 2
  store i16 %24, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %25 = add i16 %23, 3
  store i16 %25, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %26 = trunc i32 %16 to i16
  %27 = add i16 %26, 11
  store i16 %27, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %27, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %25, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %28 = add i16 %26, 12
  store i16 %28, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %29 = trunc i32 %16 to i16
  %30 = add i16 %29, 3
  store i16 %30, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %31 = add i16 %29, 4
  store i16 %31, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %32 = trunc i32 %16 to i16
  %33 = add i16 %32, 12
  store i16 %33, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %33, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %31, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %34 = add i16 %32, 13
  store i16 %34, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %35 = trunc i32 %16 to i16
  %36 = add i16 %35, 4
  store i16 %36, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %37 = add i16 %35, 5
  store i16 %37, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %38 = trunc i32 %16 to i16
  %39 = add i16 %38, 13
  store i16 %39, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %39, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %37, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %40 = add i16 %38, 14
  store i16 %40, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %41 = trunc i32 %16 to i16
  %42 = add i16 %41, 5
  store i16 %42, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %43 = add i16 %41, 6
  store i16 %43, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %44 = trunc i32 %16 to i16
  %45 = add i16 %44, 14
  store i16 %45, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %45, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %43, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %46 = add i16 %44, 15
  store i16 %46, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %47 = trunc i32 %16 to i16
  %48 = add i16 %47, 6
  store i16 %48, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %49 = add i16 %47, 7
  store i16 %49, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %50 = trunc i32 %16 to i16
  %51 = add i16 %50, 15
  store i16 %51, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %51, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %49, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %52 = add i16 %50, 16
  store i16 %52, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %53 = trunc i32 %16 to i16
  %54 = add i16 %53, 7
  store i16 %54, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %55 = add i16 %53, 8
  store i16 %55, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %56 = trunc i32 %16 to i16
  %57 = add i16 %56, 16
  store i16 %57, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %57, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %55, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %58 = add i16 %56, 17
  store i16 %58, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #3
  %59 = trunc i32 %16 to i16
  %60 = add i16 %59, 8
  store i16 %60, ptr %7, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %7)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #3
  %61 = add i16 %59, 9
  store i16 %61, ptr %8, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %9) #3
  %62 = trunc i32 %16 to i16
  %63 = add i16 %62, 17
  store i16 %63, ptr %9, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %9)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %10) #3
  store i16 %63, ptr %10, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %10)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %11) #3
  store i16 %61, ptr %11, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %11)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %12) #3
  %64 = add i16 %62, 18
  store i16 %64, ptr %12, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %12)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %12) #3
  %65 = add nuw nsw i32 %.05862, 1
  %exitcond.not = icmp eq i32 %65, 3
  br i1 %exitcond.not, label %66, label %.preheader, !llvm.loop !9

66:                                               ; preds = %.preheader
  %67 = call noundef i64 @_ZNKSt6vectorIN5Maths8TVector3IfEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %68 = trunc i64 %67 to i16
  %69 = trunc i64 %67 to i16
  %70 = add i16 %69, -1
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %71 = trunc i64 %67 to i16
  %72 = add i16 %71, -10
  store i16 %72, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %73 = add i16 %71, -9
  store i16 %73, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %74 = trunc i64 %67 to i16
  %75 = add i16 %74, -9
  store i16 %75, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %76 = add i16 %74, -8
  store i16 %76, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %77 = trunc i64 %67 to i16
  %78 = add i16 %77, -8
  store i16 %78, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %79 = add i16 %77, -7
  store i16 %79, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %80 = trunc i64 %67 to i16
  %81 = add i16 %80, -7
  store i16 %81, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %82 = add i16 %80, -6
  store i16 %82, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %83 = trunc i64 %67 to i16
  %84 = add i16 %83, -6
  store i16 %84, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %85 = add i16 %83, -5
  store i16 %85, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %86 = trunc i64 %67 to i16
  %87 = add i16 %86, -5
  store i16 %87, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %88 = add i16 %86, -4
  store i16 %88, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %89 = trunc i64 %67 to i16
  %90 = add i16 %89, -4
  store i16 %90, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %91 = add i16 %89, -3
  store i16 %91, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #3
  store i16 %70, ptr %13, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %13)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #3
  %92 = add i16 %68, -3
  store i16 %92, ptr %14, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %14)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %15) #3
  %93 = add i16 %68, -2
  store i16 %93, ptr %15, align 2, !tbaa !5
  call void @_ZNSt6vectorItSaItEE9push_backEOt(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 2 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %15) #3
  ret void
}

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass