; LLVM IR from KamilSJaron/smudgeplot :: src_ploidyplot (libfastk)

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

%struct._Kmer_Stream = type { i32, i32, i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, i32 }

@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @Malloc(i64 noundef, ptr noundef) #0

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @Current_Entry(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %13, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._Kmer_Stream, ptr %14, i32 0, i32 5
  %16 = load i32, ptr %15, align 8, !tbaa !9
  store i32 %16, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct._Kmer_Stream, ptr %17, i32 0, i32 10
  %19 = load i32, ptr %18, align 4, !tbaa !14
  store i32 %19, ptr %8, align 4, !tbaa !13
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = icmp eq ptr %20, null
  br i1 %21, label %22, label %39

22:                                               ; preds = %2
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct._Kmer_Stream, ptr %23, i32 0, i32 10
  %25 = load i32, ptr %24, align 4, !tbaa !14
  %26 = sext i32 %25 to i64
  %27 = call ptr @Malloc(i64 noundef %26, ptr noundef @.str.33)
  store ptr %27, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = icmp eq ptr %28, null
  br i1 %29, label %30, label %31

30:                                               ; preds = %22
  call void @exit(i32 noundef 1) #4
  unreachable

31:                                               ; preds = %22
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct._Kmer_Stream, ptr %32, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !15
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %38

36:                                               ; preds = %31
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %37, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %98

38:                                               ; preds = %31
  br label %39

39:                                               ; preds = %38, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %40, ptr %12, align 8, !tbaa !5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._Kmer_Stream, ptr %41, i32 0, i32 6
  %43 = load i32, ptr %42, align 4, !tbaa !16
  switch i32 %43, label %77 [
    i32 3, label %44
    i32 2, label %61
    i32 1, label %72
  ]

44:                                               ; preds = %39
  %45 = load i32, ptr %7, align 4, !tbaa !13
  %46 = ashr i32 %45, 16
  %47 = trunc i32 %46 to i8
  %48 = load ptr, ptr %12, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i32 1
  store ptr %49, ptr %12, align 8, !tbaa !5
  store i8 %47, ptr %48, align 1, !tbaa !17
  %50 = load i32, ptr %7, align 4, !tbaa !13
  %51 = ashr i32 %50, 8
  %52 = and i32 %51, 255
  %53 = trunc i32 %52 to i8
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i32 1
  store ptr %55, ptr %12, align 8, !tbaa !5
  store i8 %53, ptr %54, align 1, !tbaa !17
  %56 = load i32, ptr %7, align 4, !tbaa !13
  %57 = and i32 %56, 255
  %58 = trunc i32 %57 to i8
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %59, i32 1
  store ptr %60, ptr %12, align 8, !tbaa !5
  store i8 %58, ptr %59, align 1, !tbaa !17
  br label %77

61:                                               ; preds = %39
  %62 = load i32, ptr %7, align 4, !tbaa !13
  %63 = ashr i32 %62, 8
  %64 = trunc i32 %63 to i8
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %65, i32 1
  store ptr %66, ptr %12, align 8, !tbaa !5
  store i8 %64, ptr %65, align 1, !tbaa !17
  %67 = load i32, ptr %7, align 4, !tbaa !13
  %68 = and i32 %67, 255
  %69 = trunc i32 %68 to i8
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i32 1
  store ptr %71, ptr %12, align 8, !tbaa !5
  store i8 %69, ptr %70, align 1, !tbaa !17
  br label %77

72:                                               ; preds = %39
  %73 = load i32, ptr %7, align 4, !tbaa !13
  %74 = trunc i32 %73 to i8
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i32 1
  store ptr %76, ptr %12, align 8, !tbaa !5
  store i8 %74, ptr %75, align 1, !tbaa !17
  br label %77

77:                                               ; preds = %72, %61, %44, %39
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._Kmer_Stream, ptr %78, i32 0, i32 4
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  store ptr %80, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !13
  br label %81

81:                                               ; preds = %93, %77
  %82 = load i32, ptr %10, align 4, !tbaa !13
  %83 = load i32, ptr %8, align 4, !tbaa !13
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %85, label %96

85:                                               ; preds = %81
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = load i32, ptr %10, align 4, !tbaa !13
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %86, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !17
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i32 1
  store ptr %92, ptr %12, align 8, !tbaa !5
  store i8 %90, ptr %91, align 1, !tbaa !17
  br label %93

93:                                               ; preds = %85
  %94 = load i32, ptr %10, align 4, !tbaa !13
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %10, align 4, !tbaa !13
  br label %81, !llvm.loop !18

96:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %97, ptr %3, align 8
  store i32 1, ptr %9, align 4
  br label %98

98:                                               ; preds = %96, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  %99 = load ptr, ptr %3, align 8
  ret ptr %99
}

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !11, i64 32}
!10 = !{!"", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !6, i64 104, !6, i64 112, !6, i64 120, !11, i64 128}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 52}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !11, i64 36}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


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

@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @Malloc(i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local ptr @Current_Entry(ptr nocapture noundef readonly %0, ptr noundef writeonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 32
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 52
  %6 = load i32, ptr %5, align 4, !tbaa !12
  %7 = icmp eq ptr %1, null
  br i1 %7, label %8, label %17

8:                                                ; preds = %2
  %9 = sext i32 %6 to i64
  %10 = tail call ptr @Malloc(i64 noundef %9, ptr noundef nonnull @.str.33)
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %13

12:                                               ; preds = %8
  tail call void @exit(i32 noundef 1) #2
  unreachable

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = load ptr, ptr %14, align 8, !tbaa !13
  %16 = icmp eq ptr %15, null
  br i1 %16, label %.loopexit, label %17

17:                                               ; preds = %13, %2
  %.032 = phi ptr [ %10, %13 ], [ %1, %2 ]
  %18 = getelementptr inbounds i8, ptr %0, i64 36
  %19 = load i32, ptr %18, align 4, !tbaa !14
  switch i32 %19, label %29 [
    i32 3, label %20
    i32 2, label %.sink.split.sink.split
    i32 1, label %.sink.split
  ]

20:                                               ; preds = %17
  %21 = lshr i32 %4, 16
  %22 = trunc i32 %21 to i8
  %23 = getelementptr inbounds i8, ptr %.032, i64 1
  store i8 %22, ptr %.032, align 1, !tbaa !15
  br label %.sink.split.sink.split

.sink.split.sink.split:                           ; preds = %17, %20
  %.sink40 = phi i64 [ 2, %20 ], [ 1, %17 ]
  %.sink39 = phi ptr [ %23, %20 ], [ %.032, %17 ]
  %.sink38.ph = phi i64 [ 3, %20 ], [ 2, %17 ]
  %24 = lshr i32 %4, 8
  %25 = trunc i32 %24 to i8
  %26 = getelementptr inbounds i8, ptr %.032, i64 %.sink40
  store i8 %25, ptr %.sink39, align 1, !tbaa !15
  br label %.sink.split

.sink.split:                                      ; preds = %.sink.split.sink.split, %17
  %.sink38 = phi i64 [ 1, %17 ], [ %.sink38.ph, %.sink.split.sink.split ]
  %.032.sink = phi ptr [ %.032, %17 ], [ %26, %.sink.split.sink.split ]
  %27 = trunc i32 %4 to i8
  %28 = getelementptr inbounds i8, ptr %.032, i64 %.sink38
  store i8 %27, ptr %.032.sink, align 1, !tbaa !15
  br label %29

29:                                               ; preds = %.sink.split, %17
  %.0 = phi ptr [ %.032, %17 ], [ %28, %.sink.split ]
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = icmp sgt i32 %6, 0
  br i1 %32, label %iter.check, label %.loopexit

iter.check:                                       ; preds = %29
  %33 = ptrtoint ptr %31 to i64
  %.042 = ptrtoint ptr %.0 to i64
  %wide.trip.count = zext nneg i32 %6 to i64
  %min.iters.check = icmp ult i32 %6, 8
  %34 = sub i64 %.042, %33
  %diff.check = icmp ult i64 %34, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %iter.check
  %min.iters.check43 = icmp ult i32 %6, 32
  br i1 %min.iters.check43, label %vec.epilog.ph, label %vector.ph

vector.ph:                                        ; preds = %vector.main.loop.iter.check
  %n.vec = and i64 %wide.trip.count, 2147483616
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %next.gep = getelementptr i8, ptr %.0, i64 %index
  %35 = getelementptr inbounds i8, ptr %31, i64 %index
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %wide.load = load <16 x i8>, ptr %35, align 1, !tbaa !15
  %wide.load45 = load <16 x i8>, ptr %36, align 1, !tbaa !15
  %37 = getelementptr i8, ptr %next.gep, i64 16
  store <16 x i8> %wide.load, ptr %next.gep, align 1, !tbaa !15
  store <16 x i8> %wide.load45, ptr %37, align 1, !tbaa !15
  %index.next = add nuw i64 %index, 32
  %38 = icmp eq i64 %index.next, %n.vec
  br i1 %38, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  %ind.end48 = getelementptr i8, ptr %.0, i64 %n.vec
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  br i1 %min.epilog.iters.check, label %.lr.ph.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  %n.vec47 = and i64 %wide.trip.count, 2147483640
  %ind.end = getelementptr i8, ptr %.0, i64 %n.vec47
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index50 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next53, %vec.epilog.vector.body ]
  %next.gep51 = getelementptr i8, ptr %.0, i64 %index50
  %39 = getelementptr inbounds i8, ptr %31, i64 %index50
  %wide.load52 = load <8 x i8>, ptr %39, align 1, !tbaa !15
  store <8 x i8> %wide.load52, ptr %next.gep51, align 1, !tbaa !15
  %index.next53 = add nuw i64 %index50, 8
  %40 = icmp eq i64 %index.next53, %n.vec47
  br i1 %40, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !20

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  %cmp.n54 = icmp eq i64 %n.vec47, %wide.trip.count
  br i1 %cmp.n54, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %vec.epilog.middle.block, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec47, %vec.epilog.middle.block ]
  %.136.ph = phi ptr [ %.0, %iter.check ], [ %ind.end48, %vec.epilog.iter.check ], [ %ind.end, %vec.epilog.middle.block ]
  %xtraiter = and i64 %wide.trip.count, 7
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader ]
  %.136.prol = phi ptr [ %43, %.lr.ph.prol ], [ %.136.ph, %.lr.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader ]
  %41 = getelementptr inbounds i8, ptr %31, i64 %indvars.iv.prol
  %42 = load i8, ptr %41, align 1, !tbaa !15
  %43 = getelementptr inbounds i8, ptr %.136.prol, i64 1
  store i8 %42, ptr %.136.prol, align 1, !tbaa !15
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !21

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %.136.unr = phi ptr [ %.136.ph, %.lr.ph.preheader ], [ %43, %.lr.ph.prol ]
  %44 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %45 = icmp ugt i64 %44, -8
  br i1 %45, label %.loopexit, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.prol.loopexit
  %invariant.gep = getelementptr i8, ptr %31, i64 1
  %invariant.gep55 = getelementptr i8, ptr %31, i64 2
  %invariant.gep57 = getelementptr i8, ptr %31, i64 3
  %invariant.gep59 = getelementptr i8, ptr %31, i64 4
  %invariant.gep61 = getelementptr i8, ptr %31, i64 5
  %invariant.gep63 = getelementptr i8, ptr %31, i64 6
  %invariant.gep65 = getelementptr i8, ptr %31, i64 7
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ %indvars.iv.unr, %.lr.ph.preheader.new ], [ %indvars.iv.next.7, %.lr.ph ]
  %.136 = phi ptr [ %.136.unr, %.lr.ph.preheader.new ], [ %62, %.lr.ph ]
  %46 = getelementptr inbounds i8, ptr %31, i64 %indvars.iv
  %47 = load i8, ptr %46, align 1, !tbaa !15
  %48 = getelementptr inbounds i8, ptr %.136, i64 1
  store i8 %47, ptr %.136, align 1, !tbaa !15
  %gep = getelementptr i8, ptr %invariant.gep, i64 %indvars.iv
  %49 = load i8, ptr %gep, align 1, !tbaa !15
  %50 = getelementptr inbounds i8, ptr %.136, i64 2
  store i8 %49, ptr %48, align 1, !tbaa !15
  %gep56 = getelementptr i8, ptr %invariant.gep55, i64 %indvars.iv
  %51 = load i8, ptr %gep56, align 1, !tbaa !15
  %52 = getelementptr inbounds i8, ptr %.136, i64 3
  store i8 %51, ptr %50, align 1, !tbaa !15
  %gep58 = getelementptr i8, ptr %invariant.gep57, i64 %indvars.iv
  %53 = load i8, ptr %gep58, align 1, !tbaa !15
  %54 = getelementptr inbounds i8, ptr %.136, i64 4
  store i8 %53, ptr %52, align 1, !tbaa !15
  %gep60 = getelementptr i8, ptr %invariant.gep59, i64 %indvars.iv
  %55 = load i8, ptr %gep60, align 1, !tbaa !15
  %56 = getelementptr inbounds i8, ptr %.136, i64 5
  store i8 %55, ptr %54, align 1, !tbaa !15
  %gep62 = getelementptr i8, ptr %invariant.gep61, i64 %indvars.iv
  %57 = load i8, ptr %gep62, align 1, !tbaa !15
  %58 = getelementptr inbounds i8, ptr %.136, i64 6
  store i8 %57, ptr %56, align 1, !tbaa !15
  %gep64 = getelementptr i8, ptr %invariant.gep63, i64 %indvars.iv
  %59 = load i8, ptr %gep64, align 1, !tbaa !15
  %60 = getelementptr inbounds i8, ptr %.136, i64 7
  store i8 %59, ptr %58, align 1, !tbaa !15
  %gep66 = getelementptr i8, ptr %invariant.gep65, i64 %indvars.iv
  %61 = load i8, ptr %gep66, align 1, !tbaa !15
  %62 = getelementptr inbounds i8, ptr %.136, i64 8
  store i8 %61, ptr %60, align 1, !tbaa !15
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv, 8
  %exitcond.not.7 = icmp eq i64 %indvars.iv.next.7, %wide.trip.count
  br i1 %exitcond.not.7, label %.loopexit, label %.lr.ph, !llvm.loop !23

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %vec.epilog.middle.block, %29, %13
  %.030 = phi ptr [ %10, %13 ], [ %.032, %29 ], [ %.032, %vec.epilog.middle.block ], [ %.032, %middle.block ], [ %.032, %.lr.ph ], [ %.032, %.lr.ph.prol.loopexit ]
  ret ptr %.030
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 32}
!6 = !{!"", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !11, i64 64, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !11, i64 104, !11, i64 112, !11, i64 120, !7, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 52}
!13 = !{!6, !11, i64 24}
!14 = !{!6, !7, i64 36}
!15 = !{!8, !8, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !18, !19}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !17, !18}


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