; LLVM IR from askforalfred/alfred :: gen/ff_planner (relax)

; 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._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }
%struct._FtConn = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, i32, float, i8, i32, i32, i8, i32, i8 }

@gcmd_line = external global %struct._command_line, align 4
@lnum_F = external dso_local global i32, align 4
@lF = external dso_local global ptr, align 8
@gcost_rplans = external global i8, align 1
@gft_conn = external global ptr, align 8
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local void @new_fact(i32 noundef %0, float noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %9 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !11
  %10 = icmp ne i32 %9, 0
  br i1 %10, label %11, label %16

11:                                               ; preds = %2
  %12 = load float, ptr %4, align 4, !tbaa !9
  %13 = fpext float %12 to double
  %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, double noundef %13)
  %15 = load i32, ptr %3, align 4, !tbaa !5
  call void @print_ft_name(i32 noundef %15)
  br label %16

16:                                               ; preds = %11, %2
  %17 = load i8, ptr @gcost_rplans, align 1, !tbaa !13
  %18 = icmp ne i8 %17, 0
  br i1 %18, label %40, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds %struct._FtConn, ptr %20, i64 %22
  %24 = getelementptr inbounds %struct._FtConn, ptr %23, i32 0, i32 10
  %25 = load i8, ptr %24, align 4, !tbaa !16
  %26 = icmp ne i8 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %19
  store i32 1, ptr %8, align 4
  br label %148

28:                                               ; preds = %19
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = load ptr, ptr @lF, align 8, !tbaa !14
  %31 = load i32, ptr @lnum_F, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr @lnum_F, align 4, !tbaa !5
  %33 = sext i32 %31 to i64
  %34 = getelementptr inbounds i32, ptr %30, i64 %33
  store i32 %29, ptr %34, align 4, !tbaa !5
  %35 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds %struct._FtConn, ptr %35, i64 %37
  %39 = getelementptr inbounds %struct._FtConn, ptr %38, i32 0, i32 10
  store i8 1, ptr %39, align 4, !tbaa !16
  store i32 1, ptr %8, align 4
  br label %148

40:                                               ; preds = %16
  %41 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds %struct._FtConn, ptr %41, i64 %43
  %45 = getelementptr inbounds %struct._FtConn, ptr %44, i32 0, i32 10
  %46 = load i8, ptr %45, align 4, !tbaa !16
  %47 = icmp ne i8 %46, 0
  br i1 %47, label %48, label %84

48:                                               ; preds = %40
  %49 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct._FtConn, ptr %49, i64 %51
  %53 = getelementptr inbounds %struct._FtConn, ptr %52, i32 0, i32 9
  %54 = load float, ptr %53, align 8, !tbaa !18
  %55 = load float, ptr %4, align 4, !tbaa !9
  %56 = fcmp ole float %54, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %48
  store i32 1, ptr %8, align 4
  br label %148

58:                                               ; preds = %48
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %73, %58
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = load i32, ptr @lnum_F, align 4, !tbaa !5
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %63, label %76

63:                                               ; preds = %59
  %64 = load ptr, ptr @lF, align 8, !tbaa !14
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds i32, ptr %64, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = load i32, ptr %3, align 4, !tbaa !5
  %70 = icmp eq i32 %68, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %63
  br label %76

72:                                               ; preds = %63
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %6, align 4, !tbaa !5
  br label %59, !llvm.loop !19

76:                                               ; preds = %71, %59
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = load i32, ptr @lnum_F, align 4, !tbaa !5
  %79 = icmp eq i32 %77, %78
  br i1 %79, label %80, label %82

80:                                               ; preds = %76
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  call void @exit(i32 noundef 1) #5
  unreachable

82:                                               ; preds = %76
  %83 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %83, ptr %7, align 4, !tbaa !5
  br label %93

84:                                               ; preds = %40
  %85 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds %struct._FtConn, ptr %85, i64 %87
  %89 = getelementptr inbounds %struct._FtConn, ptr %88, i32 0, i32 10
  store i8 1, ptr %89, align 4, !tbaa !16
  %90 = load i32, ptr @lnum_F, align 4, !tbaa !5
  store i32 %90, ptr %7, align 4, !tbaa !5
  %91 = load i32, ptr @lnum_F, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr @lnum_F, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %84, %82
  %94 = load float, ptr %4, align 4, !tbaa !9
  %95 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %96 = load i32, ptr %3, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %struct._FtConn, ptr %95, i64 %97
  %99 = getelementptr inbounds %struct._FtConn, ptr %98, i32 0, i32 9
  store float %94, ptr %99, align 8, !tbaa !18
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %119, %93
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = load i32, ptr %7, align 4, !tbaa !5
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %104, label %122

104:                                              ; preds = %100
  %105 = load float, ptr %4, align 4, !tbaa !9
  %106 = load ptr, ptr @gft_conn, align 8, !tbaa !14
  %107 = load ptr, ptr @lF, align 8, !tbaa !14
  %108 = load i32, ptr %5, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i32, ptr %107, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds %struct._FtConn, ptr %106, i64 %112
  %114 = getelementptr inbounds %struct._FtConn, ptr %113, i32 0, i32 9
  %115 = load float, ptr %114, align 8, !tbaa !18
  %116 = fcmp olt float %105, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %104
  br label %122

118:                                              ; preds = %104
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %5, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %5, align 4, !tbaa !5
  br label %100, !llvm.loop !21

122:                                              ; preds = %117, %100
  %123 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %123, ptr %6, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %139, %122
  %125 = load i32, ptr %6, align 4, !tbaa !5
  %126 = load i32, ptr %5, align 4, !tbaa !5
  %127 = icmp sgt i32 %125, %126
  br i1 %127, label %128, label %142

128:                                              ; preds = %124
  %129 = load ptr, ptr @lF, align 8, !tbaa !14
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = sub nsw i32 %130, 1
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %129, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = load ptr, ptr @lF, align 8, !tbaa !14
  %136 = load i32, ptr %6, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds i32, ptr %135, i64 %137
  store i32 %134, ptr %138, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %128
  %140 = load i32, ptr %6, align 4, !tbaa !5
  %141 = add nsw i32 %140, -1
  store i32 %141, ptr %6, align 4, !tbaa !5
  br label %124, !llvm.loop !22

142:                                              ; preds = %124
  %143 = load i32, ptr %3, align 4, !tbaa !5
  %144 = load ptr, ptr @lF, align 8, !tbaa !14
  %145 = load i32, ptr %5, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds i32, ptr %144, i64 %146
  store i32 %143, ptr %147, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  br label %148

148:                                              ; preds = %142, %57, %28, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %149 = load i32, ptr %8, align 4
  switch i32 %149, label %151 [
    i32 0, label %150
    i32 1, label %150
  ]

150:                                              ; preds = %148, %148
  ret void

151:                                              ; preds = %148
  unreachable
}

declare void @print_ft_name(i32 noundef) #1

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 772}
!12 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !6, i64 768, !6, i64 772, !6, i64 776, !7, i64 780, !6, i64 784, !10, i64 788}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!17, !7, i64 68}
!17 = !{!"_FtConn", !15, i64 0, !6, i64 8, !15, i64 16, !6, i64 24, !15, i64 32, !6, i64 40, !15, i64 48, !6, i64 56, !6, i64 60, !10, i64 64, !7, i64 68, !6, i64 72, !6, i64 76, !7, i64 80, !6, i64 84, !7, i64 88}
!18 = !{!17, !10, i64 64}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


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

%struct._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }
%struct._FtConn = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, i32, float, i8, i32, i32, i8, i32, i8 }

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@lnum_F = external dso_local local_unnamed_addr global i32, align 4
@lF = external dso_local local_unnamed_addr global ptr, align 8
@gcost_rplans = external local_unnamed_addr global i8, align 1
@gft_conn = external local_unnamed_addr global ptr, align 8
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @new_fact(i32 noundef %0, float noundef %1) local_unnamed_addr #1 {
  %3 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %7, label %4

4:                                                ; preds = %2
  %5 = fpext float %1 to double
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, double noundef %5)
  tail call void @print_ft_name(i32 noundef %0) #4
  br label %7

7:                                                ; preds = %4, %2
  %8 = load i8, ptr @gcost_rplans, align 1, !tbaa !11
  %.not31 = icmp eq i8 %8, 0
  %9 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %10 = sext i32 %0 to i64
  br i1 %.not31, label %11, label %20

11:                                               ; preds = %7
  %12 = getelementptr inbounds %struct._FtConn, ptr %9, i64 %10, i32 10
  %13 = load i8, ptr %12, align 4, !tbaa !14
  %.not32 = icmp eq i8 %13, 0
  br i1 %.not32, label %14, label %70

14:                                               ; preds = %11
  %15 = load ptr, ptr @lF, align 8, !tbaa !12
  %16 = load i32, ptr @lnum_F, align 4, !tbaa !16
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr @lnum_F, align 4, !tbaa !16
  %18 = sext i32 %16 to i64
  %19 = getelementptr inbounds i32, ptr %15, i64 %18
  store i32 %0, ptr %19, align 4, !tbaa !16
  store i8 1, ptr %12, align 4, !tbaa !14
  br label %70

20:                                               ; preds = %7
  %21 = getelementptr inbounds %struct._FtConn, ptr %9, i64 %10
  %22 = getelementptr inbounds i8, ptr %21, i64 68
  %23 = load i8, ptr %22, align 4, !tbaa !14
  %.not33 = icmp eq i8 %23, 0
  br i1 %.not33, label %39, label %24

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %21, i64 64
  %26 = load float, ptr %25, align 8, !tbaa !17
  %27 = fcmp ugt float %26, %1
  br i1 %27, label %.preheader, label %70

.preheader:                                       ; preds = %24
  %28 = load i32, ptr @lnum_F, align 4, !tbaa !16
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %30 = load ptr, ptr @lF, align 8, !tbaa !12
  %wide.trip.count = zext nneg i32 %28 to i64
  br label %31

31:                                               ; preds = %.lr.ph, %35
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %35 ]
  %32 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv
  %33 = load i32, ptr %32, align 4, !tbaa !16
  %34 = icmp eq i32 %33, %0
  br i1 %34, label %._crit_edge.loopexit, label %35

35:                                               ; preds = %31
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.thread, label %31, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %31
  %36 = trunc nuw nsw i64 %indvars.iv to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %.029.lcssa = phi i32 [ 0, %.preheader ], [ %36, %._crit_edge.loopexit ]
  %37 = icmp eq i32 %.029.lcssa, %28
  br i1 %37, label %._crit_edge.thread, label %42

._crit_edge.thread:                               ; preds = %35, %._crit_edge
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  tail call void @exit(i32 noundef 1) #5
  unreachable

39:                                               ; preds = %20
  store i8 1, ptr %22, align 4, !tbaa !14
  %40 = load i32, ptr @lnum_F, align 4, !tbaa !16
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr @lnum_F, align 4, !tbaa !16
  br label %42

42:                                               ; preds = %._crit_edge, %39
  %.0 = phi i32 [ %40, %39 ], [ %.029.lcssa, %._crit_edge ]
  %43 = getelementptr inbounds %struct._FtConn, ptr %9, i64 %10, i32 9
  store float %1, ptr %43, align 8, !tbaa !17
  %44 = icmp sgt i32 %.0, 0
  %.pre.pre = load ptr, ptr @lF, align 8, !tbaa !12
  br i1 %44, label %.lr.ph41, label %._crit_edge42

.lr.ph41:                                         ; preds = %42
  %wide.trip.count54 = zext nneg i32 %.0 to i64
  br label %45

45:                                               ; preds = %.lr.ph41, %52
  %indvars.iv51 = phi i64 [ 0, %.lr.ph41 ], [ %indvars.iv.next52, %52 ]
  %46 = getelementptr inbounds i32, ptr %.pre.pre, i64 %indvars.iv51
  %47 = load i32, ptr %46, align 4, !tbaa !16
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds %struct._FtConn, ptr %9, i64 %48, i32 9
  %50 = load float, ptr %49, align 8, !tbaa !17
  %51 = fcmp ogt float %50, %1
  br i1 %51, label %._crit_edge42.loopexit.split.loop.exit, label %52

52:                                               ; preds = %45
  %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51, 1
  %exitcond55.not = icmp eq i64 %indvars.iv.next52, %wide.trip.count54
  br i1 %exitcond55.not, label %._crit_edge42, label %45, !llvm.loop !20

._crit_edge42.loopexit.split.loop.exit:           ; preds = %45
  %53 = trunc nuw nsw i64 %indvars.iv51 to i32
  br label %._crit_edge42

._crit_edge42:                                    ; preds = %52, %._crit_edge42.loopexit.split.loop.exit, %42
  %.030.lcssa = phi i32 [ 0, %42 ], [ %53, %._crit_edge42.loopexit.split.loop.exit ], [ %.0, %52 ]
  %54 = icmp sgt i32 %.0, %.030.lcssa
  br i1 %54, label %.lr.ph48, label %._crit_edge49

.lr.ph48:                                         ; preds = %._crit_edge42
  %55 = sext i32 %.0 to i64
  %56 = sext i32 %.030.lcssa to i64
  %57 = sub nsw i64 %55, %56
  %min.iters.check = icmp ult i64 %57, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph48
  %n.vec = and i64 %57, -8
  %ind.end = sub nsw i64 %55, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %55, %index
  %58 = getelementptr i32, ptr %.pre.pre, i64 %offset.idx
  %59 = getelementptr i8, ptr %58, i64 -16
  %60 = getelementptr i8, ptr %58, i64 -32
  %wide.load = load <4 x i32>, ptr %59, align 4, !tbaa !16
  %wide.load66 = load <4 x i32>, ptr %60, align 4, !tbaa !16
  %61 = getelementptr i8, ptr %58, i64 -12
  %62 = getelementptr i8, ptr %58, i64 -28
  store <4 x i32> %wide.load, ptr %61, align 4, !tbaa !16
  store <4 x i32> %wide.load66, ptr %62, align 4, !tbaa !16
  %index.next = add nuw i64 %index, 8
  %63 = icmp eq i64 %index.next, %n.vec
  br i1 %63, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %57, %n.vec
  br i1 %cmp.n, label %._crit_edge49, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph48
  %indvars.iv57.ph = phi i64 [ %55, %.lr.ph48 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv57 = phi i64 [ %indvars.iv.next58, %scalar.ph ], [ %indvars.iv57.ph, %scalar.ph.preheader ]
  %64 = getelementptr i32, ptr %.pre.pre, i64 %indvars.iv57
  %65 = getelementptr i8, ptr %64, i64 -4
  %66 = load i32, ptr %65, align 4, !tbaa !16
  store i32 %66, ptr %64, align 4, !tbaa !16
  %indvars.iv.next58 = add nsw i64 %indvars.iv57, -1
  %67 = icmp sgt i64 %indvars.iv.next58, %56
  br i1 %67, label %scalar.ph, label %._crit_edge49, !llvm.loop !24

._crit_edge49:                                    ; preds = %scalar.ph, %middle.block, %._crit_edge42
  %68 = zext nneg i32 %.030.lcssa to i64
  %69 = getelementptr inbounds i32, ptr %.pre.pre, i64 %68
  store i32 %0, ptr %69, align 4, !tbaa !16
  br label %70

70:                                               ; preds = %24, %11, %._crit_edge49, %14
  ret void
}

declare void @print_ft_name(i32 noundef) local_unnamed_addr #2

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

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { "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 = { 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 #4 = { nounwind }
attributes #5 = { 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, !9, i64 772}
!6 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !9, i64 768, !9, i64 772, !9, i64 776, !7, i64 780, !9, i64 784, !10, i64 788}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !7, i64 68}
!15 = !{!"_FtConn", !13, i64 0, !9, i64 8, !13, i64 16, !9, i64 24, !13, i64 32, !9, i64 40, !13, i64 48, !9, i64 56, !9, i64 60, !10, i64 64, !7, i64 68, !9, i64 72, !9, i64 76, !7, i64 80, !9, i64 84, !7, i64 88}
!16 = !{!9, !9, i64 0}
!17 = !{!15, !10, i64 64}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19, !22, !23}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !19, !23, !22}


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