; 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._FtConn = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, i32, float, i8, i32, i32, i8, i32, i8 }
%struct._FlConn = type { ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i8, ptr, ptr, i32, i8, float, i8, ptr, ptr, i8, float, i32 }

@gfl_conn = external global ptr, align 8
@gcost_rplans = external global i8, align 1
@gft_conn = external global ptr, align 8
@ghmax = external global float, align 4
@gnum_flogic_goal = external global i32, align 4
@gflogic_goal = external global ptr, align 8
@gnum_fnumeric_goal = external global i32, align 4
@gfnumeric_goal_fl = external global ptr, align 8
@gfnumeric_goal_comp = external global ptr, align 8
@gfnumeric_goal_c = external global ptr, align 8

; 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: nounwind uwtable
define dso_local zeroext i8 @all_goals_activated(i32 noundef %0) #1 {
  %2 = alloca i8, align 1
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %6 = load i8, ptr @gcost_rplans, align 1, !tbaa !9
  %7 = icmp ne i8 %6, 0
  br i1 %7, label %8, label %9

8:                                                ; preds = %1
  store float -1.000000e+00, ptr @ghmax, align 4, !tbaa !10
  br label %9

9:                                                ; preds = %8, %1
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %59, %9
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %12 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !5
  %13 = icmp slt i32 %11, %12
  br i1 %13, label %14, label %62

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

26:                                               ; preds = %14
  store i8 0, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %149

27:                                               ; preds = %14
  %28 = load i8, ptr @gcost_rplans, align 1, !tbaa !9
  %29 = icmp ne i8 %28, 0
  br i1 %29, label %30, label %58

30:                                               ; preds = %27
  %31 = load float, ptr @ghmax, align 4, !tbaa !10
  %32 = fcmp oeq float %31, -1.000000e+00
  br i1 %32, label %46, label %33

33:                                               ; preds = %30
  %34 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %35 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %35, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds %struct._FtConn, ptr %34, i64 %40
  %42 = getelementptr inbounds %struct._FtConn, ptr %41, i32 0, i32 9
  %43 = load float, ptr %42, align 8, !tbaa !16
  %44 = load float, ptr @ghmax, align 4, !tbaa !10
  %45 = fcmp ogt float %43, %44
  br i1 %45, label %46, label %57

46:                                               ; preds = %33, %30
  %47 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %48 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds i32, ptr %48, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds %struct._FtConn, ptr %47, i64 %53
  %55 = getelementptr inbounds %struct._FtConn, ptr %54, i32 0, i32 9
  %56 = load float, ptr %55, align 8, !tbaa !16
  store float %56, ptr @ghmax, align 4, !tbaa !10
  br label %57

57:                                               ; preds = %46, %33
  br label %58

58:                                               ; preds = %57, %27
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %4, align 4, !tbaa !5
  br label %10, !llvm.loop !17

62:                                               ; preds = %10
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %113, %62
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = load i32, ptr @gnum_fnumeric_goal, align 4, !tbaa !5
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %67, label %116

67:                                               ; preds = %63
  %68 = load ptr, ptr @gfl_conn, align 8, !tbaa !12
  %69 = load ptr, ptr @gfnumeric_goal_fl, align 8, !tbaa !12
  %70 = load i32, ptr %4, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds %struct._FlConn, ptr %68, i64 %74
  %76 = getelementptr inbounds %struct._FlConn, ptr %75, i32 0, i32 17
  %77 = load ptr, ptr %76, align 8, !tbaa !19
  %78 = load i32, ptr %3, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %77, i64 %79
  %81 = load i8, ptr %80, align 1, !tbaa !9
  %82 = icmp ne i8 %81, 0
  br i1 %82, label %84, label %83

83:                                               ; preds = %67
  store i8 0, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %149

84:                                               ; preds = %67
  %85 = load ptr, ptr @gfnumeric_goal_comp, align 8, !tbaa !12
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds i32, ptr %85, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = load ptr, ptr @gfl_conn, align 8, !tbaa !12
  %91 = load ptr, ptr @gfnumeric_goal_fl, align 8, !tbaa !12
  %92 = load i32, ptr %4, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds i32, ptr %91, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds %struct._FlConn, ptr %90, i64 %96
  %98 = getelementptr inbounds %struct._FlConn, ptr %97, i32 0, i32 18
  %99 = load ptr, ptr %98, align 8, !tbaa !21
  %100 = load i32, ptr %3, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %99, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !10
  %104 = load ptr, ptr @gfnumeric_goal_c, align 8, !tbaa !12
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds float, ptr %104, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !10
  %109 = call zeroext i8 @number_comparison_holds(i32 noundef %89, float noundef %103, float noundef %108)
  %110 = icmp ne i8 %109, 0
  br i1 %110, label %112, label %111

111:                                              ; preds = %84
  store i8 0, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %149

112:                                              ; preds = %84
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %4, align 4, !tbaa !5
  br label %63, !llvm.loop !22

116:                                              ; preds = %63
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %145, %116
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !5
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %121, label %148

121:                                              ; preds = %117
  %122 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %123 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i32, ptr %123, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds %struct._FtConn, ptr %122, i64 %128
  %130 = getelementptr inbounds %struct._FtConn, ptr %129, i32 0, i32 8
  %131 = load i32, ptr %130, align 4, !tbaa !23
  %132 = icmp eq i32 %131, -1
  br i1 %132, label %133, label %144

133:                                              ; preds = %121
  %134 = load i32, ptr %3, align 4, !tbaa !5
  %135 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %136 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds i32, ptr %136, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %struct._FtConn, ptr %135, i64 %141
  %143 = getelementptr inbounds %struct._FtConn, ptr %142, i32 0, i32 8
  store i32 %134, ptr %143, align 4, !tbaa !23
  br label %144

144:                                              ; preds = %133, %121
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %4, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %4, align 4, !tbaa !5
  br label %117, !llvm.loop !24

148:                                              ; preds = %117
  store i8 1, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %149

149:                                              ; preds = %148, %111, %83, %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  %150 = load i8, ptr %2, align 1
  ret i8 %150
}

declare zeroext i8 @number_comparison_holds(i32 noundef, float noundef, float noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !7, i64 68}
!15 = !{!"_FtConn", !13, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !6, i64 40, !13, i64 48, !6, i64 56, !6, i64 60, !11, i64 64, !7, i64 68, !6, i64 72, !6, i64 76, !7, i64 80, !6, i64 84, !7, i64 88}
!16 = !{!15, !11, i64 64}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !13, i64 112}
!20 = !{!"_FlConn", !13, i64 0, !6, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !6, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !6, i64 72, !7, i64 76, !13, i64 80, !13, i64 88, !6, i64 96, !7, i64 100, !11, i64 104, !7, i64 108, !13, i64 112, !13, i64 120, !7, i64 128, !11, i64 132, !6, i64 136}
!21 = !{!20, !13, i64 120}
!22 = distinct !{!22, !18}
!23 = !{!15, !6, i64 60}
!24 = distinct !{!24, !18}


; 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._FtConn = type { ptr, i32, ptr, i32, ptr, i32, ptr, i32, i32, float, i8, i32, i32, i8, i32, i8 }
%struct._FlConn = type { ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, i8, ptr, ptr, i32, i8, float, i8, ptr, ptr, i8, float, i32 }

@gfl_conn = external 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
@ghmax = external local_unnamed_addr global float, align 4
@gnum_flogic_goal = external local_unnamed_addr global i32, align 4
@gflogic_goal = external local_unnamed_addr global ptr, align 8
@gnum_fnumeric_goal = external local_unnamed_addr global i32, align 4
@gfnumeric_goal_fl = external local_unnamed_addr global ptr, align 8
@gfnumeric_goal_comp = external local_unnamed_addr global ptr, align 8
@gfnumeric_goal_c = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local zeroext range(i8 0, 2) i8 @all_goals_activated(i32 noundef %0) local_unnamed_addr #0 {
  %2 = load i8, ptr @gcost_rplans, align 1, !tbaa !5
  %.not = icmp eq i8 %2, 0
  br i1 %.not, label %3, label %.thread

3:                                                ; preds = %1
  %4 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !8
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph.split.us, label %.preheader25

.thread:                                          ; preds = %1
  store float -1.000000e+00, ptr @ghmax, align 4, !tbaa !10
  %6 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !8
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph.split.preheader, label %.preheader25

.lr.ph.split.preheader:                           ; preds = %.thread
  %8 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %9 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %ghmax.promoted = load float, ptr @ghmax, align 4, !tbaa !10
  %wide.trip.count = zext nneg i32 %6 to i64
  br label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %3
  %10 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %11 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  %invariant.gep = getelementptr i8, ptr %10, i64 68
  %wide.trip.count41 = zext nneg i32 %4 to i64
  br label %12

12:                                               ; preds = %17, %.lr.ph.split.us
  %indvars.iv38 = phi i64 [ %indvars.iv.next39, %17 ], [ 0, %.lr.ph.split.us ]
  %13 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv38
  %14 = load i32, ptr %13, align 4, !tbaa !8
  %15 = sext i32 %14 to i64
  %gep = getelementptr %struct._FtConn, ptr %invariant.gep, i64 %15
  %16 = load i8, ptr %gep, align 4, !tbaa !14
  %.not23.us = icmp eq i8 %16, 0
  br i1 %.not23.us, label %.loopexit, label %17

17:                                               ; preds = %12
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %exitcond42.not = icmp eq i64 %indvars.iv.next39, %wide.trip.count41
  br i1 %exitcond42.not, label %.preheader25, label %12, !llvm.loop !16

.preheader25:                                     ; preds = %37, %17, %.thread, %3
  %18 = phi i32 [ %6, %.thread ], [ %4, %3 ], [ %4, %17 ], [ %6, %37 ]
  %19 = load i32, ptr @gnum_fnumeric_goal, align 4, !tbaa !8
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph30, label %.preheader

.lr.ph30:                                         ; preds = %.preheader25
  %21 = sext i32 %0 to i64
  br label %47

.lr.ph.split:                                     ; preds = %.lr.ph.split.preheader, %37
  %indvars.iv = phi i64 [ 0, %.lr.ph.split.preheader ], [ %indvars.iv.next, %37 ]
  %22 = phi float [ %ghmax.promoted, %.lr.ph.split.preheader ], [ %38, %37 ]
  %23 = getelementptr inbounds i32, ptr %9, i64 %indvars.iv
  %24 = load i32, ptr %23, align 4, !tbaa !8
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds %struct._FtConn, ptr %8, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 68
  %28 = load i8, ptr %27, align 4, !tbaa !14
  %.not23 = icmp eq i8 %28, 0
  br i1 %.not23, label %.loopexit, label %29

29:                                               ; preds = %.lr.ph.split
  %30 = fcmp oeq float %22, -1.000000e+00
  br i1 %30, label %._crit_edge, label %31

._crit_edge:                                      ; preds = %29
  %.phi.trans.insert = getelementptr inbounds %struct._FtConn, ptr %8, i64 %25, i32 9
  %.pre = load float, ptr %.phi.trans.insert, align 8, !tbaa !18
  br label %35

31:                                               ; preds = %29
  %32 = getelementptr inbounds i8, ptr %26, i64 64
  %33 = load float, ptr %32, align 8, !tbaa !18
  %34 = fcmp ogt float %33, %22
  br i1 %34, label %35, label %37

35:                                               ; preds = %._crit_edge, %31
  %36 = phi float [ %.pre, %._crit_edge ], [ %33, %31 ]
  store float %36, ptr @ghmax, align 4, !tbaa !10
  br label %37

37:                                               ; preds = %35, %31
  %38 = phi float [ %36, %35 ], [ %22, %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 %.preheader25, label %.lr.ph.split, !llvm.loop !16

39:                                               ; preds = %58
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %40 = load i32, ptr @gnum_fnumeric_goal, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %42 = icmp slt i64 %indvars.iv.next44, %41
  br i1 %42, label %47, label %.preheader.loopexit, !llvm.loop !19

.preheader.loopexit:                              ; preds = %39
  %.pre49 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !8
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader25
  %43 = phi i32 [ %.pre49, %.preheader.loopexit ], [ %18, %.preheader25 ]
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %.lr.ph32, label %.loopexit

.lr.ph32:                                         ; preds = %.preheader
  %45 = load ptr, ptr @gft_conn, align 8, !tbaa !12
  %46 = load ptr, ptr @gflogic_goal, align 8, !tbaa !12
  br label %70

47:                                               ; preds = %.lr.ph30, %39
  %indvars.iv43 = phi i64 [ 0, %.lr.ph30 ], [ %indvars.iv.next44, %39 ]
  %48 = load ptr, ptr @gfl_conn, align 8, !tbaa !12
  %49 = load ptr, ptr @gfnumeric_goal_fl, align 8, !tbaa !12
  %50 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv43
  %51 = load i32, ptr %50, align 4, !tbaa !8
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds %struct._FlConn, ptr %48, i64 %52
  %54 = getelementptr inbounds i8, ptr %53, i64 112
  %55 = load ptr, ptr %54, align 8, !tbaa !20
  %56 = getelementptr inbounds i8, ptr %55, i64 %21
  %57 = load i8, ptr %56, align 1, !tbaa !5
  %.not21 = icmp eq i8 %57, 0
  br i1 %.not21, label %.loopexit, label %58

58:                                               ; preds = %47
  %59 = load ptr, ptr @gfnumeric_goal_comp, align 8, !tbaa !12
  %60 = getelementptr inbounds i32, ptr %59, i64 %indvars.iv43
  %61 = load i32, ptr %60, align 4, !tbaa !8
  %62 = getelementptr inbounds i8, ptr %53, i64 120
  %63 = load ptr, ptr %62, align 8, !tbaa !22
  %64 = getelementptr inbounds float, ptr %63, i64 %21
  %65 = load float, ptr %64, align 4, !tbaa !10
  %66 = load ptr, ptr @gfnumeric_goal_c, align 8, !tbaa !12
  %67 = getelementptr inbounds float, ptr %66, i64 %indvars.iv43
  %68 = load float, ptr %67, align 4, !tbaa !10
  %69 = tail call zeroext i8 @number_comparison_holds(i32 noundef %61, float noundef %65, float noundef %68) #2
  %.not22 = icmp eq i8 %69, 0
  br i1 %.not22, label %.loopexit, label %39

70:                                               ; preds = %.lr.ph32, %79
  %71 = phi i32 [ %43, %.lr.ph32 ], [ %80, %79 ]
  %indvars.iv46 = phi i64 [ 0, %.lr.ph32 ], [ %indvars.iv.next47, %79 ]
  %72 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv46
  %73 = load i32, ptr %72, align 4, !tbaa !8
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds %struct._FtConn, ptr %45, i64 %74, i32 8
  %76 = load i32, ptr %75, align 4, !tbaa !23
  %77 = icmp eq i32 %76, -1
  br i1 %77, label %78, label %79

78:                                               ; preds = %70
  store i32 %0, ptr %75, align 4, !tbaa !23
  %.pre50 = load i32, ptr @gnum_flogic_goal, align 4, !tbaa !8
  br label %79

79:                                               ; preds = %70, %78
  %80 = phi i32 [ %71, %70 ], [ %.pre50, %78 ]
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %81 = sext i32 %80 to i64
  %82 = icmp slt i64 %indvars.iv.next47, %81
  br i1 %82, label %70, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph.split, %12, %58, %47, %79, %.preheader
  %.019 = phi i8 [ 1, %.preheader ], [ 1, %79 ], [ 0, %47 ], [ 0, %58 ], [ 0, %12 ], [ 0, %.lr.ph.split ]
  ret i8 %.019
}

declare zeroext i8 @number_comparison_holds(i32 noundef, float noundef, float noundef) local_unnamed_addr #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !6, i64 0}
!14 = !{!15, !6, 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, !11, i64 64, !6, i64 68, !9, i64 72, !9, i64 76, !6, i64 80, !9, i64 84, !6, i64 88}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!15, !11, i64 64}
!19 = distinct !{!19, !17}
!20 = !{!21, !13, i64 112}
!21 = !{!"_FlConn", !13, i64 0, !9, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !9, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !9, i64 72, !6, i64 76, !13, i64 80, !13, i64 88, !9, i64 96, !6, i64 100, !11, i64 104, !6, i64 108, !13, i64 112, !13, i64 120, !6, i64 128, !11, i64 132, !9, i64 136}
!22 = !{!21, !13, i64 120}
!23 = !{!15, !9, i64 60}
!24 = distinct !{!24, !17}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass