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

; 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._NormOperator = type { ptr, i32, [15 x i32], [15 x i32], [15 x i32], i32, [15 x i32], ptr, i32, ptr, ptr, ptr, i32, ptr, i8 }
%struct._Operator = type { ptr, [15 x ptr], i32, i8, i32, [15 x i32], [15 x i8], ptr, ptr, i8 }
%struct._EasyTemplate = type { ptr, [15 x i32], ptr, ptr }

@gcmd_line = external global %struct._command_line, align 4
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@gnum_easy_operators = external global i32, align 4
@geasy_operators = external global ptr, align 8
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@geasy_templates = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@gconstants = external global [2000 x ptr], align 16
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @build_easy_action_templates() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @cleanup_easy_domain()
  %5 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %6 = icmp eq i32 %5, 110
  br i1 %6, label %7, label %25

7:                                                ; preds = %0
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %9

9:                                                ; preds = %19, %7
  %10 = load i32, ptr %1, align 4, !tbaa !11
  %11 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %12 = icmp slt i32 %10, %11
  br i1 %12, label %13, label %22

13:                                               ; preds = %9
  %14 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %15 = load i32, ptr %1, align 4, !tbaa !11
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds ptr, ptr %14, i64 %16
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  call void @print_NormOperator(ptr noundef %18)
  br label %19

19:                                               ; preds = %13
  %20 = load i32, ptr %1, align 4, !tbaa !11
  %21 = add nsw i32 %20, 1
  store i32 %21, ptr %1, align 4, !tbaa !11
  br label %9, !llvm.loop !14

22:                                               ; preds = %9
  %23 = load ptr, ptr @stdout, align 8, !tbaa !12
  %24 = call i32 @fflush(ptr noundef %23)
  br label %25

25:                                               ; preds = %22, %0
  call void @encode_easy_unaries_as_types()
  %26 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %27 = icmp eq i32 %26, 111
  br i1 %27, label %28, label %46

28:                                               ; preds = %25
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %30

30:                                               ; preds = %40, %28
  %31 = load i32, ptr %1, align 4, !tbaa !11
  %32 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %34, label %43

34:                                               ; preds = %30
  %35 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %36 = load i32, ptr %1, align 4, !tbaa !11
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !12
  call void @print_NormOperator(ptr noundef %39)
  br label %40

40:                                               ; preds = %34
  %41 = load i32, ptr %1, align 4, !tbaa !11
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %1, align 4, !tbaa !11
  br label %30, !llvm.loop !16

43:                                               ; preds = %30
  %44 = load ptr, ptr @stdout, align 8, !tbaa !12
  %45 = call i32 @fflush(ptr noundef %44)
  br label %46

46:                                               ; preds = %43, %25
  call void @multiply_easy_effect_parameters()
  %47 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %48 = icmp eq i32 %47, 112
  br i1 %48, label %49, label %67

49:                                               ; preds = %46
  %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %51

51:                                               ; preds = %61, %49
  %52 = load i32, ptr %1, align 4, !tbaa !11
  %53 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %55, label %64

55:                                               ; preds = %51
  %56 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %57 = load i32, ptr %1, align 4, !tbaa !11
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds ptr, ptr %56, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !12
  call void @print_NormOperator(ptr noundef %60)
  br label %61

61:                                               ; preds = %55
  %62 = load i32, ptr %1, align 4, !tbaa !11
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %1, align 4, !tbaa !11
  br label %51, !llvm.loop !17

64:                                               ; preds = %51
  %65 = load ptr, ptr @stdout, align 8, !tbaa !12
  %66 = call i32 @fflush(ptr noundef %65)
  br label %67

67:                                               ; preds = %64, %46
  call void @multiply_easy_op_parameters()
  %68 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %69 = icmp eq i32 %68, 113
  br i1 %69, label %70, label %89

70:                                               ; preds = %67
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %72

72:                                               ; preds = %82, %70
  %73 = load i32, ptr %1, align 4, !tbaa !11
  %74 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %76, label %85

76:                                               ; preds = %72
  %77 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %78 = load i32, ptr %1, align 4, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !12
  call void @print_NormOperator(ptr noundef %81)
  br label %82

82:                                               ; preds = %76
  %83 = load i32, ptr %1, align 4, !tbaa !11
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %1, align 4, !tbaa !11
  br label %72, !llvm.loop !18

85:                                               ; preds = %72
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %87 = load ptr, ptr @stdout, align 8, !tbaa !12
  %88 = call i32 @fflush(ptr noundef %87)
  br label %89

89:                                               ; preds = %85, %67
  %90 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %91 = icmp eq i32 %90, 114
  br i1 %91, label %92, label %175

92:                                               ; preds = %89
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %94

94:                                               ; preds = %169, %92
  %95 = load i32, ptr %1, align 4, !tbaa !11
  %96 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %98, label %172

98:                                               ; preds = %94
  %99 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %100 = load i32, ptr %1, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds ptr, ptr %99, i64 %101
  %103 = load ptr, ptr %102, align 8, !tbaa !12
  store ptr %103, ptr %3, align 8, !tbaa !12
  %104 = load ptr, ptr %3, align 8, !tbaa !12
  %105 = getelementptr inbounds %struct._NormOperator, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !19
  %107 = getelementptr inbounds %struct._Operator, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !21
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %108)
  %110 = load ptr, ptr @geasy_templates, align 8, !tbaa !12
  store ptr %110, ptr %4, align 8, !tbaa !12
  br label %111

111:                                              ; preds = %164, %98
  %112 = load ptr, ptr %4, align 8, !tbaa !12
  %113 = icmp ne ptr %112, null
  br i1 %113, label %114, label %168

114:                                              ; preds = %111
  %115 = load ptr, ptr %4, align 8, !tbaa !12
  %116 = getelementptr inbounds %struct._EasyTemplate, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !23
  %118 = load ptr, ptr %3, align 8, !tbaa !12
  %119 = icmp ne ptr %117, %118
  br i1 %119, label %120, label %121

120:                                              ; preds = %114
  br label %164

121:                                              ; preds = %114
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %123

123:                                              ; preds = %160, %121
  %124 = load i32, ptr %2, align 4, !tbaa !11
  %125 = load ptr, ptr %3, align 8, !tbaa !12
  %126 = getelementptr inbounds %struct._NormOperator, ptr %125, i32 0, i32 1
  %127 = load i32, ptr %126, align 8, !tbaa !25
  %128 = icmp slt i32 %124, %127
  br i1 %128, label %129, label %163

129:                                              ; preds = %123
  %130 = load ptr, ptr %4, align 8, !tbaa !12
  %131 = getelementptr inbounds %struct._EasyTemplate, ptr %130, i32 0, i32 1
  %132 = load i32, ptr %2, align 4, !tbaa !11
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [15 x i32], ptr %131, i64 0, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = icmp slt i32 %135, 0
  br i1 %136, label %137, label %139

137:                                              ; preds = %129
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @exit(i32 noundef 1) #5
  unreachable

139:                                              ; preds = %129
  %140 = load i32, ptr %2, align 4, !tbaa !11
  %141 = load ptr, ptr %4, align 8, !tbaa !12
  %142 = getelementptr inbounds %struct._EasyTemplate, ptr %141, i32 0, i32 1
  %143 = load i32, ptr %2, align 4, !tbaa !11
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [15 x i32], ptr %142, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [2000 x ptr], ptr @gconstants, i64 0, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !12
  %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %140, ptr noundef %149)
  %151 = load i32, ptr %2, align 4, !tbaa !11
  %152 = load ptr, ptr %3, align 8, !tbaa !12
  %153 = getelementptr inbounds %struct._NormOperator, ptr %152, i32 0, i32 1
  %154 = load i32, ptr %153, align 8, !tbaa !25
  %155 = sub nsw i32 %154, 1
  %156 = icmp slt i32 %151, %155
  br i1 %156, label %157, label %159

157:                                              ; preds = %139
  %158 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  br label %159

159:                                              ; preds = %157, %139
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %2, align 4, !tbaa !11
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %2, align 4, !tbaa !11
  br label %123, !llvm.loop !26

163:                                              ; preds = %123
  br label %164

164:                                              ; preds = %163, %120
  %165 = load ptr, ptr %4, align 8, !tbaa !12
  %166 = getelementptr inbounds %struct._EasyTemplate, ptr %165, i32 0, i32 3
  %167 = load ptr, ptr %166, align 8, !tbaa !27
  store ptr %167, ptr %4, align 8, !tbaa !12
  br label %111, !llvm.loop !28

168:                                              ; preds = %111
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %1, align 4, !tbaa !11
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %1, align 4, !tbaa !11
  br label %94, !llvm.loop !29

172:                                              ; preds = %94
  %173 = load ptr, ptr @stdout, align 8, !tbaa !12
  %174 = call i32 @fflush(ptr noundef %173)
  br label %175

175:                                              ; preds = %172, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @cleanup_easy_domain() #0

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

declare void @print_NormOperator(ptr noundef) #2

declare i32 @fflush(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @encode_easy_unaries_as_types() #0

; Function Attrs: nounwind uwtable
declare dso_local void @multiply_easy_effect_parameters() #0

; Function Attrs: nounwind uwtable
declare dso_local void @multiply_easy_op_parameters() #0

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 768}
!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 = !{!9, !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = !{!20, !13, i64 0}
!20 = !{!"_NormOperator", !13, i64 0, !9, i64 8, !7, i64 12, !7, i64 72, !7, i64 132, !9, i64 192, !7, i64 196, !13, i64 256, !9, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !9, i64 296, !13, i64 304, !7, i64 312}
!21 = !{!22, !13, i64 0}
!22 = !{!"_Operator", !13, i64 0, !7, i64 8, !9, i64 128, !7, i64 132, !9, i64 136, !7, i64 140, !7, i64 200, !13, i64 216, !13, i64 224, !7, i64 232}
!23 = !{!24, !13, i64 0}
!24 = !{!"_EasyTemplate", !13, i64 0, !7, i64 8, !13, i64 72, !13, i64 80}
!25 = !{!20, !9, i64 8}
!26 = distinct !{!26, !15}
!27 = !{!24, !13, i64 80}
!28 = distinct !{!28, !15}
!29 = distinct !{!29, !15}


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

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@gnum_easy_operators = external local_unnamed_addr global i32, align 4
@geasy_operators = external local_unnamed_addr global ptr, align 8
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@geasy_templates = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [9 x i8], align 1
@gconstants = external local_unnamed_addr global [2000 x ptr], align 16
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @build_easy_action_templates() local_unnamed_addr #0 {
  tail call void @cleanup_easy_domain()
  %1 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  %2 = icmp eq i32 %1, 110
  br i1 %2, label %3, label %15

3:                                                ; preds = %0
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %5 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %3 ]
  %7 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %8 = getelementptr inbounds ptr, ptr %7, i64 %indvars.iv
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  tail call void @print_NormOperator(ptr noundef %9) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %10 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %11 = sext i32 %10 to i64
  %12 = icmp slt i64 %indvars.iv.next, %11
  br i1 %12, label %.lr.ph, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph, %3
  %13 = load ptr, ptr @stdout, align 8, !tbaa !12
  %14 = tail call i32 @fflush(ptr noundef %13)
  br label %15

15:                                               ; preds = %._crit_edge, %0
  tail call void @encode_easy_unaries_as_types()
  %16 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  %17 = icmp eq i32 %16, 111
  br i1 %17, label %18, label %30

18:                                               ; preds = %15
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %20 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph37, label %._crit_edge38

.lr.ph37:                                         ; preds = %18, %.lr.ph37
  %indvars.iv61 = phi i64 [ %indvars.iv.next62, %.lr.ph37 ], [ 0, %18 ]
  %22 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %23 = getelementptr inbounds ptr, ptr %22, i64 %indvars.iv61
  %24 = load ptr, ptr %23, align 8, !tbaa !12
  tail call void @print_NormOperator(ptr noundef %24) #4
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %25 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %26 = sext i32 %25 to i64
  %27 = icmp slt i64 %indvars.iv.next62, %26
  br i1 %27, label %.lr.ph37, label %._crit_edge38, !llvm.loop !16

._crit_edge38:                                    ; preds = %.lr.ph37, %18
  %28 = load ptr, ptr @stdout, align 8, !tbaa !12
  %29 = tail call i32 @fflush(ptr noundef %28)
  br label %30

30:                                               ; preds = %._crit_edge38, %15
  tail call void @multiply_easy_effect_parameters()
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  %32 = icmp eq i32 %31, 112
  br i1 %32, label %33, label %45

33:                                               ; preds = %30
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %35 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %36 = icmp sgt i32 %35, 0
  br i1 %36, label %.lr.ph41, label %._crit_edge42

.lr.ph41:                                         ; preds = %33, %.lr.ph41
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %.lr.ph41 ], [ 0, %33 ]
  %37 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %38 = getelementptr inbounds ptr, ptr %37, i64 %indvars.iv64
  %39 = load ptr, ptr %38, align 8, !tbaa !12
  tail call void @print_NormOperator(ptr noundef %39) #4
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %40 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %41 = sext i32 %40 to i64
  %42 = icmp slt i64 %indvars.iv.next65, %41
  br i1 %42, label %.lr.ph41, label %._crit_edge42, !llvm.loop !17

._crit_edge42:                                    ; preds = %.lr.ph41, %33
  %43 = load ptr, ptr @stdout, align 8, !tbaa !12
  %44 = tail call i32 @fflush(ptr noundef %43)
  br label %45

45:                                               ; preds = %._crit_edge42, %30
  tail call void @multiply_easy_op_parameters()
  %46 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  %47 = icmp eq i32 %46, 113
  br i1 %47, label %48, label %61

48:                                               ; preds = %45
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %50 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %.lr.ph45, label %._crit_edge46

.lr.ph45:                                         ; preds = %48, %.lr.ph45
  %indvars.iv67 = phi i64 [ %indvars.iv.next68, %.lr.ph45 ], [ 0, %48 ]
  %52 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv67
  %54 = load ptr, ptr %53, align 8, !tbaa !12
  tail call void @print_NormOperator(ptr noundef %54) #4
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %55 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %56 = sext i32 %55 to i64
  %57 = icmp slt i64 %indvars.iv.next68, %56
  br i1 %57, label %.lr.ph45, label %._crit_edge46, !llvm.loop !18

._crit_edge46:                                    ; preds = %.lr.ph45, %48
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %59 = load ptr, ptr @stdout, align 8, !tbaa !12
  %60 = tail call i32 @fflush(ptr noundef %59)
  %.pr = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  br label %61

61:                                               ; preds = %._crit_edge46, %45
  %62 = phi i32 [ %.pr, %._crit_edge46 ], [ %46, %45 ]
  %63 = icmp eq i32 %62, 114
  br i1 %63, label %64, label %110

64:                                               ; preds = %61
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %66 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph58, label %._crit_edge59

.lr.ph58:                                         ; preds = %64, %._crit_edge55
  %indvars.iv73 = phi i64 [ %indvars.iv.next74, %._crit_edge55 ], [ 0, %64 ]
  %68 = load ptr, ptr @geasy_operators, align 8, !tbaa !12
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv73
  %70 = load ptr, ptr %69, align 8, !tbaa !12
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = load ptr, ptr %71, align 8, !tbaa !21
  %73 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %72)
  %.050 = load ptr, ptr @geasy_templates, align 8, !tbaa !12
  %.not51 = icmp eq ptr %.050, null
  br i1 %.not51, label %._crit_edge55, label %.lr.ph54

.lr.ph54:                                         ; preds = %.lr.ph58
  %74 = getelementptr inbounds i8, ptr %70, i64 8
  br label %75

75:                                               ; preds = %.lr.ph54, %.loopexit
  %.052 = phi ptr [ %.050, %.lr.ph54 ], [ %.0, %.loopexit ]
  %76 = load ptr, ptr %.052, align 8, !tbaa !23
  %.not33 = icmp eq ptr %76, %70
  br i1 %.not33, label %77, label %.loopexit

77:                                               ; preds = %75
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %79 = load i32, ptr %74, align 8, !tbaa !25
  %80 = icmp sgt i32 %79, 0
  br i1 %80, label %.lr.ph49, label %.loopexit

.lr.ph49:                                         ; preds = %77
  %81 = getelementptr inbounds i8, ptr %.052, i64 8
  br label %82

82:                                               ; preds = %.lr.ph49, %100
  %indvars.iv70 = phi i64 [ 0, %.lr.ph49 ], [ %indvars.iv.next71, %100 ]
  %83 = getelementptr inbounds [15 x i32], ptr %81, i64 0, i64 %indvars.iv70
  %84 = load i32, ptr %83, align 4, !tbaa !11
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %86, label %88

86:                                               ; preds = %82
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  tail call void @exit(i32 noundef 1) #5
  unreachable

88:                                               ; preds = %82
  %89 = zext nneg i32 %84 to i64
  %90 = getelementptr inbounds [2000 x ptr], ptr @gconstants, i64 0, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !12
  %92 = trunc nuw nsw i64 %indvars.iv70 to i32
  %93 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %92, ptr noundef %91)
  %94 = load i32, ptr %74, align 8, !tbaa !25
  %95 = add nsw i32 %94, -1
  %96 = sext i32 %95 to i64
  %97 = icmp slt i64 %indvars.iv70, %96
  br i1 %97, label %98, label %100

98:                                               ; preds = %88
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %.pre = load i32, ptr %74, align 8, !tbaa !25
  br label %100

100:                                              ; preds = %88, %98
  %101 = phi i32 [ %94, %88 ], [ %.pre, %98 ]
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %102 = sext i32 %101 to i64
  %103 = icmp slt i64 %indvars.iv.next71, %102
  br i1 %103, label %82, label %.loopexit, !llvm.loop !26

.loopexit:                                        ; preds = %100, %77, %75
  %104 = getelementptr inbounds i8, ptr %.052, i64 80
  %.0 = load ptr, ptr %104, align 8, !tbaa !12
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %._crit_edge55, label %75, !llvm.loop !27

._crit_edge55:                                    ; preds = %.loopexit, %.lr.ph58
  %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73, 1
  %105 = load i32, ptr @gnum_easy_operators, align 4, !tbaa !11
  %106 = sext i32 %105 to i64
  %107 = icmp slt i64 %indvars.iv.next74, %106
  br i1 %107, label %.lr.ph58, label %._crit_edge59, !llvm.loop !28

._crit_edge59:                                    ; preds = %._crit_edge55, %64
  %108 = load ptr, ptr @stdout, align 8, !tbaa !12
  %109 = tail call i32 @fflush(ptr noundef %108)
  br label %110

110:                                              ; preds = %._crit_edge59, %61
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @cleanup_easy_domain() local_unnamed_addr #0

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

declare void @print_NormOperator(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @encode_easy_unaries_as_types() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @multiply_easy_effect_parameters() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @multiply_easy_op_parameters() local_unnamed_addr #0

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

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 = { 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 #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 768}
!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 = !{!9, !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = !{!20, !13, i64 0}
!20 = !{!"_NormOperator", !13, i64 0, !9, i64 8, !7, i64 12, !7, i64 72, !7, i64 132, !9, i64 192, !7, i64 196, !13, i64 256, !9, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !9, i64 296, !13, i64 304, !7, i64 312}
!21 = !{!22, !13, i64 0}
!22 = !{!"_Operator", !13, i64 0, !7, i64 8, !9, i64 128, !7, i64 132, !9, i64 136, !7, i64 140, !7, i64 200, !13, i64 216, !13, i64 224, !7, i64 232}
!23 = !{!24, !13, i64 0}
!24 = !{!"_EasyTemplate", !13, i64 0, !7, i64 8, !13, i64 72, !13, i64 80}
!25 = !{!20, !9, i64 8}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


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