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

@gcmd_line = external global %struct._command_line, align 4
@gef_conn = external global ptr, align 8
@gfl_conn = external global ptr, align 8
@lch_E = external dso_local global ptr, align 8
@lnum_ch_E = external dso_local global i32, align 4
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 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
declare dso_local void @new_ef(i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @activate_fl(i32 noundef %0, i32 noundef %1) #2 {
  %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
  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
  %8 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %9 = load i32, ptr %3, align 4, !tbaa !5
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds %struct._FlConn, ptr %8, i64 %10
  %12 = getelementptr inbounds %struct._FlConn, ptr %11, i32 0, i32 17
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  %14 = load i32, ptr %4, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds i8, ptr %13, i64 %15
  %17 = load i8, ptr %16, align 1, !tbaa !14
  %18 = icmp ne i8 %17, 0
  br i1 %18, label %20, label %19

19:                                               ; preds = %2
  store i32 1, ptr %7, align 4
  br label %219

20:                                               ; preds = %2
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %215, %20
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds %struct._FlConn, ptr %23, i64 %25
  %27 = getelementptr inbounds %struct._FlConn, ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 8, !tbaa !15
  %29 = icmp slt i32 %22, %28
  br i1 %29, label %30, label %218

30:                                               ; preds = %21
  %31 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %32 = load i32, ptr %3, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds %struct._FlConn, ptr %31, i64 %33
  %35 = getelementptr inbounds %struct._FlConn, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !16
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds i32, ptr %36, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  store i32 %40, ptr %6, align 4, !tbaa !5
  %41 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds %struct._EfConn, ptr %41, i64 %43
  %45 = getelementptr inbounds %struct._EfConn, ptr %44, i32 0, i32 1
  %46 = load i8, ptr %45, align 4, !tbaa !17
  %47 = icmp ne i8 %46, 0
  br i1 %47, label %48, label %49

48:                                               ; preds = %30
  br label %215

49:                                               ; preds = %30
  %50 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds %struct._EfConn, ptr %50, i64 %52
  %54 = getelementptr inbounds %struct._EfConn, ptr %53, i32 0, i32 10
  %55 = load ptr, ptr %54, align 8, !tbaa !19
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i32, ptr %55, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = icmp eq i32 %59, 3000
  br i1 %60, label %61, label %63

61:                                               ; preds = %49
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #5
  unreachable

63:                                               ; preds = %49
  %64 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct._EfConn, ptr %64, i64 %66
  %68 = getelementptr inbounds %struct._EfConn, ptr %67, i32 0, i32 10
  %69 = load ptr, ptr %68, align 8, !tbaa !19
  %70 = load i32, ptr %3, 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 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %75 = load i32, ptr %3, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds %struct._FlConn, ptr %74, i64 %76
  %78 = getelementptr inbounds %struct._FlConn, ptr %77, i32 0, i32 18
  %79 = load ptr, ptr %78, align 8, !tbaa !20
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !21
  %84 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %struct._EfConn, ptr %84, i64 %86
  %88 = getelementptr inbounds %struct._EfConn, ptr %87, i32 0, i32 11
  %89 = load ptr, ptr %88, align 8, !tbaa !22
  %90 = load i32, ptr %3, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %89, i64 %91
  %93 = load float, ptr %92, align 4, !tbaa !21
  %94 = call zeroext i8 @number_comparison_holds(i32 noundef %73, float noundef %83, float noundef %93)
  %95 = icmp ne i8 %94, 0
  br i1 %95, label %97, label %96

96:                                               ; preds = %63
  br label %215

97:                                               ; preds = %63
  %98 = load i32, ptr %4, align 4, !tbaa !5
  %99 = icmp sgt i32 %98, 0
  br i1 %99, label %100, label %150

100:                                              ; preds = %97
  %101 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %102 = load i32, ptr %3, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds %struct._FlConn, ptr %101, i64 %103
  %105 = getelementptr inbounds %struct._FlConn, ptr %104, i32 0, i32 17
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = sub nsw i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i8, ptr %106, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !14
  %112 = zext i8 %111 to i32
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %150

114:                                              ; preds = %100
  %115 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %116 = load i32, ptr %6, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %struct._EfConn, ptr %115, i64 %117
  %119 = getelementptr inbounds %struct._EfConn, ptr %118, i32 0, i32 10
  %120 = load ptr, ptr %119, align 8, !tbaa !19
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds i32, ptr %120, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = load ptr, ptr @gfl_conn, align 8, !tbaa !9
  %126 = load i32, ptr %3, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %struct._FlConn, ptr %125, i64 %127
  %129 = getelementptr inbounds %struct._FlConn, ptr %128, i32 0, i32 18
  %130 = load ptr, ptr %129, align 8, !tbaa !20
  %131 = load i32, ptr %4, align 4, !tbaa !5
  %132 = sub nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds float, ptr %130, i64 %133
  %135 = load float, ptr %134, align 4, !tbaa !21
  %136 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %137 = load i32, ptr %6, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds %struct._EfConn, ptr %136, i64 %138
  %140 = getelementptr inbounds %struct._EfConn, ptr %139, i32 0, i32 11
  %141 = load ptr, ptr %140, align 8, !tbaa !22
  %142 = load i32, ptr %3, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds float, ptr %141, i64 %143
  %145 = load float, ptr %144, align 4, !tbaa !21
  %146 = call zeroext i8 @number_comparison_holds(i32 noundef %124, float noundef %135, float noundef %145)
  %147 = zext i8 %146 to i32
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %114
  br label %215

150:                                              ; preds = %114, %100, %97
  %151 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %152 = load i32, ptr %6, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %struct._EfConn, ptr %151, i64 %153
  %155 = getelementptr inbounds %struct._EfConn, ptr %154, i32 0, i32 31
  %156 = load i32, ptr %155, align 8, !tbaa !23
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %155, align 8, !tbaa !23
  %158 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %159 = load i32, ptr %6, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds %struct._EfConn, ptr %158, i64 %160
  %162 = getelementptr inbounds %struct._EfConn, ptr %161, i32 0, i32 30
  %163 = load i8, ptr %162, align 4, !tbaa !24
  %164 = icmp ne i8 %163, 0
  br i1 %164, label %177, label %165

165:                                              ; preds = %150
  %166 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %167 = load i32, ptr %6, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds %struct._EfConn, ptr %166, i64 %168
  %170 = getelementptr inbounds %struct._EfConn, ptr %169, i32 0, i32 30
  store i8 1, ptr %170, align 4, !tbaa !24
  %171 = load i32, ptr %6, align 4, !tbaa !5
  %172 = load ptr, ptr @lch_E, align 8, !tbaa !9
  %173 = load i32, ptr @lnum_ch_E, align 4, !tbaa !5
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr @lnum_ch_E, align 4, !tbaa !5
  %175 = sext i32 %173 to i64
  %176 = getelementptr inbounds i32, ptr %172, i64 %175
  store i32 %171, ptr %176, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %165, %150
  %178 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %179 = load i32, ptr %6, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds %struct._EfConn, ptr %178, i64 %180
  %182 = getelementptr inbounds %struct._EfConn, ptr %181, i32 0, i32 29
  %183 = load i32, ptr %182, align 8, !tbaa !25
  %184 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %185 = load i32, ptr %6, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %struct._EfConn, ptr %184, i64 %186
  %188 = getelementptr inbounds %struct._EfConn, ptr %187, i32 0, i32 5
  %189 = load i32, ptr %188, align 8, !tbaa !26
  %190 = icmp eq i32 %183, %189
  br i1 %190, label %191, label %214

191:                                              ; preds = %177
  %192 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds %struct._EfConn, ptr %192, i64 %194
  %196 = getelementptr inbounds %struct._EfConn, ptr %195, i32 0, i32 31
  %197 = load i32, ptr %196, align 8, !tbaa !23
  %198 = load ptr, ptr @gef_conn, align 8, !tbaa !9
  %199 = load i32, ptr %6, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds %struct._EfConn, ptr %198, i64 %200
  %202 = getelementptr inbounds %struct._EfConn, ptr %201, i32 0, i32 9
  %203 = load i32, ptr %202, align 8, !tbaa !27
  %204 = icmp eq i32 %197, %203
  br i1 %204, label %205, label %214

205:                                              ; preds = %191
  %206 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 4), align 4, !tbaa !28
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %212

208:                                              ; preds = %205
  %209 = load i32, ptr %4, align 4, !tbaa !5
  %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %209)
  %211 = load i32, ptr %3, align 4, !tbaa !5
  call void @print_fl_name(i32 noundef %211)
  br label %212

212:                                              ; preds = %208, %205
  %213 = load i32, ptr %6, align 4, !tbaa !5
  call void @new_ef(i32 noundef %213)
  br label %214

214:                                              ; preds = %212, %191, %177
  br label %215

215:                                              ; preds = %214, %149, %96, %48
  %216 = load i32, ptr %5, align 4, !tbaa !5
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %5, align 4, !tbaa !5
  br label %21, !llvm.loop !30

218:                                              ; preds = %21
  store i32 0, ptr %7, align 4
  br label %219

219:                                              ; preds = %218, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %220 = load i32, ptr %7, align 4
  switch i32 %220, label %222 [
    i32 0, label %221
    i32 1, label %221
  ]

221:                                              ; preds = %219, %219
  ret void

222:                                              ; preds = %219
  unreachable
}

declare void @print_fl_name(i32 noundef) #1

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

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

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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 112}
!12 = !{!"_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}
!13 = !{!"float", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!12, !6, i64 8}
!16 = !{!12, !10, i64 0}
!17 = !{!18, !7, i64 4}
!18 = !{!"_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}
!19 = !{!18, !10, i64 64}
!20 = !{!12, !10, i64 120}
!21 = !{!13, !13, i64 0}
!22 = !{!18, !10, i64 72}
!23 = !{!18, !6, i64 208}
!24 = !{!18, !7, i64 204}
!25 = !{!18, !6, i64 200}
!26 = !{!18, !6, i64 24}
!27 = !{!18, !6, i64 56}
!28 = !{!29, !6, i64 772}
!29 = !{!"_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, !13, i64 788}
!30 = distinct !{!30, !31}
!31 = !{!"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"

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

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@gef_conn = external local_unnamed_addr global ptr, align 8
@gfl_conn = external local_unnamed_addr global ptr, align 8
@lch_E = external dso_local local_unnamed_addr global ptr, align 8
@lnum_ch_E = external dso_local local_unnamed_addr global i32, align 4
@.str.17 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [39 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local void @new_ef(i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @activate_fl(i32 noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = load ptr, ptr @gfl_conn, align 8, !tbaa !5
  %4 = sext i32 %0 to i64
  %5 = getelementptr inbounds %struct._FlConn, ptr %3, i64 %4, i32 17
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = sext i32 %1 to i64
  %8 = getelementptr inbounds i8, ptr %6, i64 %7
  %9 = load i8, ptr %8, align 1, !tbaa !13
  %.not = icmp eq i8 %9, 0
  br i1 %.not, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %2
  %10 = getelementptr inbounds %struct._FlConn, ptr %3, i64 %4
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load i32, ptr %11, align 8, !tbaa !14
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader
  %14 = icmp sgt i32 %1, 0
  %15 = add nsw i32 %1, -1
  %16 = zext nneg i32 %15 to i64
  br label %17

17:                                               ; preds = %.lr.ph, %100
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %100 ]
  %18 = phi ptr [ %10, %.lr.ph ], [ %102, %100 ]
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  %20 = getelementptr inbounds i32, ptr %19, i64 %indvars.iv
  %21 = load i32, ptr %20, align 4, !tbaa !16
  %22 = load ptr, ptr @gef_conn, align 8, !tbaa !5
  %23 = sext i32 %21 to i64
  %24 = getelementptr inbounds %struct._EfConn, ptr %22, i64 %23
  %25 = getelementptr inbounds i8, ptr %24, i64 4
  %26 = load i8, ptr %25, align 4, !tbaa !17
  %.not38 = icmp eq i8 %26, 0
  br i1 %.not38, label %27, label %100

27:                                               ; preds = %17
  %28 = getelementptr inbounds i8, ptr %24, i64 64
  %29 = load ptr, ptr %28, align 8, !tbaa !19
  %30 = getelementptr inbounds i32, ptr %29, i64 %4
  %31 = load i32, ptr %30, align 4, !tbaa !16
  %32 = icmp eq i32 %31, 3000
  br i1 %32, label %33, label %35

33:                                               ; preds = %27
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  tail call void @exit(i32 noundef 1) #4
  unreachable

35:                                               ; preds = %27
  %36 = getelementptr inbounds i8, ptr %18, i64 120
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = getelementptr inbounds float, ptr %37, i64 %7
  %39 = load float, ptr %38, align 4, !tbaa !21
  %40 = getelementptr inbounds i8, ptr %24, i64 72
  %41 = load ptr, ptr %40, align 8, !tbaa !22
  %42 = getelementptr inbounds float, ptr %41, i64 %4
  %43 = load float, ptr %42, align 4, !tbaa !21
  %44 = tail call zeroext i8 @number_comparison_holds(i32 noundef %31, float noundef %39, float noundef %43) #5
  %.not39 = icmp eq i8 %44, 0
  br i1 %.not39, label %100, label %45

45:                                               ; preds = %35
  br i1 %14, label %46, label %69

46:                                               ; preds = %45
  %47 = load ptr, ptr @gfl_conn, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._FlConn, ptr %47, i64 %4
  %49 = getelementptr inbounds i8, ptr %48, i64 112
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds i8, ptr %50, i64 %16
  %52 = load i8, ptr %51, align 1, !tbaa !13
  %.not40 = icmp eq i8 %52, 0
  br i1 %.not40, label %69, label %53

53:                                               ; preds = %46
  %54 = load ptr, ptr @gef_conn, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct._EfConn, ptr %54, i64 %23
  %56 = getelementptr inbounds i8, ptr %55, i64 64
  %57 = load ptr, ptr %56, align 8, !tbaa !19
  %58 = getelementptr inbounds i32, ptr %57, i64 %4
  %59 = load i32, ptr %58, align 4, !tbaa !16
  %60 = getelementptr inbounds i8, ptr %48, i64 120
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds float, ptr %61, i64 %16
  %63 = load float, ptr %62, align 4, !tbaa !21
  %64 = getelementptr inbounds i8, ptr %55, i64 72
  %65 = load ptr, ptr %64, align 8, !tbaa !22
  %66 = getelementptr inbounds float, ptr %65, i64 %4
  %67 = load float, ptr %66, align 4, !tbaa !21
  %68 = tail call zeroext i8 @number_comparison_holds(i32 noundef %59, float noundef %63, float noundef %67) #5
  %.not41 = icmp eq i8 %68, 0
  br i1 %.not41, label %69, label %100

69:                                               ; preds = %53, %46, %45
  %70 = load ptr, ptr @gef_conn, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._EfConn, ptr %70, i64 %23, i32 31
  %72 = load i32, ptr %71, align 8, !tbaa !23
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 8, !tbaa !23
  %74 = getelementptr inbounds %struct._EfConn, ptr %70, i64 %23, i32 30
  %75 = load i8, ptr %74, align 4, !tbaa !24
  %.not42 = icmp eq i8 %75, 0
  br i1 %.not42, label %76, label %82

76:                                               ; preds = %69
  store i8 1, ptr %74, align 4, !tbaa !24
  %77 = load ptr, ptr @lch_E, align 8, !tbaa !5
  %78 = load i32, ptr @lnum_ch_E, align 4, !tbaa !16
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr @lnum_ch_E, align 4, !tbaa !16
  %80 = sext i32 %78 to i64
  %81 = getelementptr inbounds i32, ptr %77, i64 %80
  store i32 %21, ptr %81, align 4, !tbaa !16
  br label %82

82:                                               ; preds = %76, %69
  %83 = getelementptr inbounds %struct._EfConn, ptr %70, i64 %23
  %84 = getelementptr inbounds i8, ptr %83, i64 200
  %85 = load i32, ptr %84, align 8, !tbaa !25
  %86 = getelementptr inbounds i8, ptr %83, i64 24
  %87 = load i32, ptr %86, align 8, !tbaa !26
  %88 = icmp eq i32 %85, %87
  br i1 %88, label %89, label %100

89:                                               ; preds = %82
  %90 = getelementptr inbounds i8, ptr %83, i64 208
  %91 = load i32, ptr %90, align 8, !tbaa !23
  %92 = getelementptr inbounds i8, ptr %83, i64 56
  %93 = load i32, ptr %92, align 8, !tbaa !27
  %94 = icmp eq i32 %91, %93
  br i1 %94, label %95, label %100

95:                                               ; preds = %89
  %96 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 772), align 4, !tbaa !28
  %.not43 = icmp eq i32 %96, 0
  br i1 %.not43, label %99, label %97

97:                                               ; preds = %95
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %1)
  tail call void @print_fl_name(i32 noundef %0) #5
  br label %99

99:                                               ; preds = %97, %95
  tail call void @new_ef(i32 noundef %21)
  br label %100

100:                                              ; preds = %82, %89, %99, %53, %35, %17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %101 = load ptr, ptr @gfl_conn, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._FlConn, ptr %101, i64 %4
  %103 = getelementptr inbounds i8, ptr %102, i64 8
  %104 = load i32, ptr %103, align 8, !tbaa !14
  %105 = sext i32 %104 to i64
  %106 = icmp slt i64 %indvars.iv.next, %105
  br i1 %106, label %17, label %.loopexit, !llvm.loop !30

.loopexit:                                        ; preds = %100, %.preheader, %2
  ret void
}

declare void @print_fl_name(i32 noundef) local_unnamed_addr #2

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

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

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 = { noreturn nounwind }
attributes #5 = { 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, !6, i64 112}
!10 = !{!"_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}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !6, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !7, i64 4}
!18 = !{!"_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}
!19 = !{!18, !6, i64 64}
!20 = !{!10, !6, i64 120}
!21 = !{!12, !12, i64 0}
!22 = !{!18, !6, i64 72}
!23 = !{!18, !11, i64 208}
!24 = !{!18, !7, i64 204}
!25 = !{!18, !11, i64 200}
!26 = !{!18, !11, i64 24}
!27 = !{!18, !11, i64 56}
!28 = !{!29, !11, i64 772}
!29 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !11, i64 768, !11, i64 772, !11, i64 776, !7, i64 780, !11, i64 784, !12, i64 788}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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