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

@gef_conn = external global ptr, align 8
@gfl_conn = external global ptr, align 8
@gft_conn = external global ptr, align 8
@lch_F = external dso_local global ptr, align 8
@lnum_ch_F = external dso_local global i32, align 4
@lgoals_at = external dso_local global ptr, align 8
@lnum_goals_at = external dso_local global ptr, align 8
@.str.62 = external hidden unnamed_addr constant [37 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: noreturn nounwind
declare void @exit(i32 noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local void @update_f_goal(i32 noundef, i32 noundef, i32 noundef, float noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @introduce_pc_goals(i32 noundef %0, i32 noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  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
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %89, %2
  %12 = load i32, ptr %5, align 4, !tbaa !5
  %13 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds %struct._EfConn, ptr %13, i64 %15
  %17 = getelementptr inbounds %struct._EfConn, ptr %16, i32 0, i32 5
  %18 = load i32, ptr %17, align 8, !tbaa !11
  %19 = icmp slt i32 %12, %18
  br i1 %19, label %20, label %92

20:                                               ; preds = %11
  %21 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds %struct._EfConn, ptr %21, i64 %23
  %25 = getelementptr inbounds %struct._EfConn, ptr %24, i32 0, i32 4
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  %27 = load i32, ptr %5, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds i32, ptr %26, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !5
  store i32 %30, ptr %7, align 4, !tbaa !5
  %31 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds %struct._FtConn, ptr %31, i64 %33
  %35 = getelementptr inbounds %struct._FtConn, ptr %34, i32 0, i32 11
  %36 = load i32, ptr %35, align 8, !tbaa !15
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %20
  br label %89

39:                                               ; preds = %20
  %40 = load i32, ptr %7, align 4, !tbaa !5
  %41 = load ptr, ptr @lgoals_at, align 8, !tbaa !9
  %42 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %struct._FtConn, ptr %42, i64 %44
  %46 = getelementptr inbounds %struct._FtConn, ptr %45, i32 0, i32 8
  %47 = load i32, ptr %46, align 4, !tbaa !17
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds ptr, ptr %41, i64 %48
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = load ptr, ptr @lnum_goals_at, align 8, !tbaa !9
  %52 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %53 = load i32, ptr %7, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds %struct._FtConn, ptr %52, i64 %54
  %56 = getelementptr inbounds %struct._FtConn, ptr %55, i32 0, i32 8
  %57 = load i32, ptr %56, align 4, !tbaa !17
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %51, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %59, align 4, !tbaa !5
  %62 = sext i32 %60 to i64
  %63 = getelementptr inbounds i32, ptr %50, i64 %62
  store i32 %40, ptr %63, align 4, !tbaa !5
  %64 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct._FtConn, ptr %64, i64 %66
  %68 = getelementptr inbounds %struct._FtConn, ptr %67, i32 0, i32 11
  store i32 1, ptr %68, align 8, !tbaa !15
  %69 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds %struct._FtConn, ptr %69, i64 %71
  %73 = getelementptr inbounds %struct._FtConn, ptr %72, i32 0, i32 13
  %74 = load i8, ptr %73, align 8, !tbaa !18
  %75 = icmp ne i8 %74, 0
  br i1 %75, label %88, label %76

76:                                               ; preds = %39
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = load ptr, ptr @lch_F, align 8, !tbaa !9
  %79 = load i32, ptr @lnum_ch_F, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr @lnum_ch_F, align 4, !tbaa !5
  %81 = sext i32 %79 to i64
  %82 = getelementptr inbounds i32, ptr %78, i64 %81
  store i32 %77, ptr %82, align 4, !tbaa !5
  %83 = load ptr, ptr @gft_conn, align 8, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %struct._FtConn, ptr %83, i64 %85
  %87 = getelementptr inbounds %struct._FtConn, ptr %86, i32 0, i32 13
  store i8 1, ptr %87, align 8, !tbaa !18
  br label %88

88:                                               ; preds = %76, %39
  br label %89

89:                                               ; preds = %88, %38
  %90 = load i32, ptr %5, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %5, align 4, !tbaa !5
  br label %11, !llvm.loop !19

92:                                               ; preds = %11
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %181, %92
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %96 = load i32, ptr %4, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds %struct._EfConn, ptr %95, i64 %97
  %99 = getelementptr inbounds %struct._EfConn, ptr %98, i32 0, i32 9
  %100 = load i32, ptr %99, align 8, !tbaa !21
  %101 = icmp slt i32 %94, %100
  br i1 %101, label %102, label %184

102:                                              ; preds = %93
  %103 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %104 = load i32, ptr %4, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %struct._EfConn, ptr %103, i64 %105
  %107 = getelementptr inbounds %struct._EfConn, ptr %106, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !22
  %109 = load i32, ptr %5, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds i32, ptr %108, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  store i32 %112, ptr %8, align 4, !tbaa !5
  %113 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds %struct._EfConn, ptr %113, i64 %115
  %117 = getelementptr inbounds %struct._EfConn, ptr %116, i32 0, i32 8
  %118 = load ptr, ptr %117, align 8, !tbaa !23
  %119 = load i32, ptr %5, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %118, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !24
  store float %122, ptr %9, align 4, !tbaa !24
  %123 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds %struct._EfConn, ptr %123, i64 %125
  %127 = getelementptr inbounds %struct._EfConn, ptr %126, i32 0, i32 6
  %128 = load ptr, ptr %127, align 8, !tbaa !25
  %129 = load i32, ptr %5, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %128, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  store i32 %132, ptr %10, align 4, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %133

133:                                              ; preds = %167, %102
  %134 = load i32, ptr %6, align 4, !tbaa !5
  %135 = load i32, ptr %3, align 4, !tbaa !5
  %136 = icmp slt i32 %134, %135
  br i1 %136, label %137, label %170

137:                                              ; preds = %133
  %138 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %139 = load i32, ptr %8, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds %struct._FlConn, ptr %138, i64 %140
  %142 = getelementptr inbounds %struct._FlConn, ptr %141, i32 0, i32 17
  %143 = load ptr, ptr %142, align 8, !tbaa !26
  %144 = load i32, ptr %6, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds i8, ptr %143, i64 %145
  %147 = load i8, ptr %146, align 1, !tbaa !28
  %148 = icmp ne i8 %147, 0
  br i1 %148, label %150, label %149

149:                                              ; preds = %137
  br label %167

150:                                              ; preds = %137
  %151 = load i32, ptr %10, align 4, !tbaa !5
  %152 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %153 = load i32, ptr %8, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds %struct._FlConn, ptr %152, i64 %154
  %156 = getelementptr inbounds %struct._FlConn, ptr %155, i32 0, i32 18
  %157 = load ptr, ptr %156, align 8, !tbaa !29
  %158 = load i32, ptr %6, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds float, ptr %157, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !24
  %162 = load float, ptr %9, align 4, !tbaa !24
  %163 = call zeroext i8 @number_comparison_holds(i32 noundef %151, float noundef %161, float noundef %162)
  %164 = icmp ne i8 %163, 0
  br i1 %164, label %165, label %166

165:                                              ; preds = %150
  br label %170

166:                                              ; preds = %150
  br label %167

167:                                              ; preds = %166, %149
  %168 = load i32, ptr %6, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %6, align 4, !tbaa !5
  br label %133, !llvm.loop !30

170:                                              ; preds = %165, %133
  %171 = load i32, ptr %6, align 4, !tbaa !5
  %172 = load i32, ptr %3, align 4, !tbaa !5
  %173 = icmp sge i32 %171, %172
  br i1 %173, label %174, label %176

174:                                              ; preds = %170
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.62)
  call void @exit(i32 noundef 1) #5
  unreachable

176:                                              ; preds = %170
  %177 = load i32, ptr %8, align 4, !tbaa !5
  %178 = load i32, ptr %6, align 4, !tbaa !5
  %179 = load i32, ptr %10, align 4, !tbaa !5
  %180 = load float, ptr %9, align 4, !tbaa !24
  call void @update_f_goal(i32 noundef %177, i32 noundef %178, i32 noundef %179, float noundef %180)
  br label %181

181:                                              ; preds = %176
  %182 = load i32, ptr %5, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %5, align 4, !tbaa !5
  br label %93, !llvm.loop !31

184:                                              ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  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
  ret void
}

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 = { 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 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 #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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_EfConn", !6, i64 0, !7, i64 4, !7, i64 5, !13, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !6, i64 188, !13, i64 192, !7, i64 196, !6, i64 200, !7, i64 204, !6, i64 208, !6, i64 212}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !10, i64 16}
!15 = !{!16, !6, i64 72}
!16 = !{!"_FtConn", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 60, !13, i64 64, !7, i64 68, !6, i64 72, !6, i64 76, !7, i64 80, !6, i64 84, !7, i64 88}
!17 = !{!16, !6, i64 60}
!18 = !{!16, !7, i64 80}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !6, i64 56}
!22 = !{!12, !10, i64 40}
!23 = !{!12, !10, i64 48}
!24 = !{!13, !13, i64 0}
!25 = !{!12, !10, i64 32}
!26 = !{!27, !10, i64 112}
!27 = !{!"_FlConn", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !7, i64 76, !10, i64 80, !10, i64 88, !6, i64 96, !7, i64 100, !13, i64 104, !7, i64 108, !10, i64 112, !10, i64 120, !7, i64 128, !13, i64 132, !6, i64 136}
!28 = !{!7, !7, i64 0}
!29 = !{!27, !10, i64 120}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !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._EfConn = type { i32, i8, i8, float, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, i32, ptr, i32, i32, float, i8, i32, i8, i32, i32 }
%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 }

@gef_conn = external local_unnamed_addr global ptr, align 8
@gfl_conn = external local_unnamed_addr global ptr, align 8
@gft_conn = external local_unnamed_addr global ptr, align 8
@lch_F = external dso_local local_unnamed_addr global ptr, align 8
@lnum_ch_F = external dso_local local_unnamed_addr global i32, align 4
@lgoals_at = external dso_local local_unnamed_addr global ptr, align 8
@lnum_goals_at = external dso_local local_unnamed_addr global ptr, align 8
@.str.62 = external hidden unnamed_addr constant [37 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @update_f_goal(i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @introduce_pc_goals(i32 noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = load ptr, ptr @gef_conn, align 8, !tbaa !5
  %4 = sext i32 %1 to i64
  %5 = getelementptr inbounds %struct._EfConn, ptr %3, i64 %4
  %6 = getelementptr inbounds i8, ptr %5, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !9
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %2
  %9 = getelementptr inbounds i8, ptr %5, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  %11 = load ptr, ptr @gft_conn, align 8, !tbaa !5
  %12 = load ptr, ptr @lgoals_at, align 8
  %13 = load ptr, ptr @lnum_goals_at, align 8
  %14 = load ptr, ptr @lch_F, align 8
  br label %19

.preheader:                                       ; preds = %45, %2
  %15 = getelementptr inbounds i8, ptr %5, i64 56
  %16 = load i32, ptr %15, align 8, !tbaa !14
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph47, label %._crit_edge48

.lr.ph47:                                         ; preds = %.preheader
  %18 = icmp sgt i32 %0, 0
  br i1 %18, label %.lr.ph44.preheader, label %._crit_edge

.lr.ph44.preheader:                               ; preds = %.lr.ph47
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %.lr.ph44

19:                                               ; preds = %.lr.ph, %45
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %45 ]
  %20 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds %struct._FtConn, ptr %11, i64 %22
  %24 = getelementptr inbounds i8, ptr %23, i64 72
  %25 = load i32, ptr %24, align 8, !tbaa !16
  %.not39 = icmp eq i32 %25, 0
  br i1 %.not39, label %26, label %45

26:                                               ; preds = %19
  %27 = getelementptr inbounds i8, ptr %23, i64 60
  %28 = load i32, ptr %27, align 4, !tbaa !18
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds ptr, ptr %12, i64 %29
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds i32, ptr %13, i64 %29
  %33 = load i32, ptr %32, align 4, !tbaa !15
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %32, align 4, !tbaa !15
  %35 = sext i32 %33 to i64
  %36 = getelementptr inbounds i32, ptr %31, i64 %35
  store i32 %21, ptr %36, align 4, !tbaa !15
  %37 = getelementptr inbounds %struct._FtConn, ptr %11, i64 %22, i32 11
  store i32 1, ptr %37, align 8, !tbaa !16
  %38 = getelementptr inbounds %struct._FtConn, ptr %11, i64 %22, i32 13
  %39 = load i8, ptr %38, align 8, !tbaa !19
  %.not40 = icmp eq i8 %39, 0
  br i1 %.not40, label %40, label %45

40:                                               ; preds = %26
  %41 = load i32, ptr @lnum_ch_F, align 4, !tbaa !15
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr @lnum_ch_F, align 4, !tbaa !15
  %43 = sext i32 %41 to i64
  %44 = getelementptr inbounds i32, ptr %14, i64 %43
  store i32 %21, ptr %44, align 4, !tbaa !15
  store i8 1, ptr %38, align 8, !tbaa !19
  br label %45

45:                                               ; preds = %26, %40, %19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %46 = load i32, ptr %6, align 8, !tbaa !9
  %47 = sext i32 %46 to i64
  %48 = icmp slt i64 %indvars.iv.next, %47
  br i1 %48, label %19, label %.preheader, !llvm.loop !20

.lr.ph44:                                         ; preds = %.lr.ph44.preheader, %79
  %indvars.iv54 = phi i64 [ 0, %.lr.ph44.preheader ], [ %indvars.iv.next55, %79 ]
  %49 = phi ptr [ %5, %.lr.ph44.preheader ], [ %82, %79 ]
  %50 = getelementptr inbounds i8, ptr %49, i64 40
  %51 = load ptr, ptr %50, align 8, !tbaa !22
  %52 = getelementptr inbounds i32, ptr %51, i64 %indvars.iv54
  %53 = load i32, ptr %52, align 4, !tbaa !15
  %54 = getelementptr inbounds i8, ptr %49, i64 48
  %55 = load ptr, ptr %54, align 8, !tbaa !23
  %56 = getelementptr inbounds float, ptr %55, i64 %indvars.iv54
  %57 = load float, ptr %56, align 4, !tbaa !24
  %58 = getelementptr inbounds i8, ptr %49, i64 32
  %59 = load ptr, ptr %58, align 8, !tbaa !25
  %60 = getelementptr inbounds i32, ptr %59, i64 %indvars.iv54
  %61 = load i32, ptr %60, align 4, !tbaa !15
  %62 = sext i32 %53 to i64
  %.pre57 = load ptr, ptr @gfl_conn, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %.lr.ph44, %76
  %64 = phi ptr [ %.pre57, %.lr.ph44 ], [ %77, %76 ]
  %indvars.iv51 = phi i64 [ 0, %.lr.ph44 ], [ %indvars.iv.next52, %76 ]
  %65 = getelementptr inbounds %struct._FlConn, ptr %64, i64 %62
  %66 = getelementptr inbounds i8, ptr %65, i64 112
  %67 = load ptr, ptr %66, align 8, !tbaa !26
  %68 = getelementptr inbounds i8, ptr %67, i64 %indvars.iv51
  %69 = load i8, ptr %68, align 1, !tbaa !28
  %.not = icmp eq i8 %69, 0
  br i1 %.not, label %76, label %70

70:                                               ; preds = %63
  %71 = getelementptr inbounds i8, ptr %65, i64 120
  %72 = load ptr, ptr %71, align 8, !tbaa !29
  %73 = getelementptr inbounds float, ptr %72, i64 %indvars.iv51
  %74 = load float, ptr %73, align 4, !tbaa !24
  %75 = tail call zeroext i8 @number_comparison_holds(i32 noundef %61, float noundef %74, float noundef %57) #4
  %.not37 = icmp eq i8 %75, 0
  %.pre = load ptr, ptr @gfl_conn, align 8, !tbaa !5
  br i1 %.not37, label %76, label %79

76:                                               ; preds = %70, %63
  %77 = phi ptr [ %.pre, %70 ], [ %64, %63 ]
  %indvars.iv.next52 = add nuw nsw i64 %indvars.iv51, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next52, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %63, !llvm.loop !30

._crit_edge:                                      ; preds = %76, %.lr.ph47
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.62)
  tail call void @exit(i32 noundef 1) #5
  unreachable

79:                                               ; preds = %70
  %80 = trunc nuw nsw i64 %indvars.iv51 to i32
  tail call void @update_f_goal(i32 noundef %53, i32 noundef %80, i32 noundef %61, float noundef %57)
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %81 = load ptr, ptr @gef_conn, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._EfConn, ptr %81, i64 %4
  %83 = getelementptr inbounds i8, ptr %82, i64 56
  %84 = load i32, ptr %83, align 8, !tbaa !14
  %85 = sext i32 %84 to i64
  %86 = icmp slt i64 %indvars.iv.next55, %85
  br i1 %86, label %.lr.ph44, label %._crit_edge48, !llvm.loop !31

._crit_edge48:                                    ; preds = %79, %.preheader
  ret void
}

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 = { 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 = { "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 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"_EfConn", !11, i64 0, !7, i64 4, !7, i64 5, !12, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !11, i64 88, !6, i64 96, !11, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !11, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !11, i64 168, !6, i64 176, !11, i64 184, !11, i64 188, !12, i64 192, !7, i64 196, !11, i64 200, !7, i64 204, !11, i64 208, !11, i64 212}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!10, !6, i64 16}
!14 = !{!10, !11, i64 56}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 72}
!17 = !{!"_FtConn", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !11, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !12, i64 64, !7, i64 68, !11, i64 72, !11, i64 76, !7, i64 80, !11, i64 84, !7, i64 88}
!18 = !{!17, !11, i64 60}
!19 = !{!17, !7, i64 80}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !6, i64 40}
!23 = !{!10, !6, i64 48}
!24 = !{!12, !12, i64 0}
!25 = !{!10, !6, i64 32}
!26 = !{!27, !6, i64 112}
!27 = !{!"_FlConn", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !7, i64 76, !6, i64 80, !6, i64 88, !11, i64 96, !7, i64 100, !12, i64 104, !7, i64 108, !6, i64 112, !6, i64 120, !7, i64 128, !12, i64 132, !11, i64 136}
!28 = !{!7, !7, i64 0}
!29 = !{!27, !6, i64 120}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}


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