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

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

@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [34 x i8], align 1
@gconstants = external global [2000 x ptr], align 16
@.str.92 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [17 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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @print_ExpNode(ptr noundef) #3

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

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

10:                                               ; preds = %1
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct._Action, ptr %11, i32 0, i32 1
  %13 = load ptr, ptr %12, align 8, !tbaa !12
  %14 = icmp ne ptr %13, null
  br i1 %14, label %17, label %15

15:                                               ; preds = %10
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.94)
  br label %43

17:                                               ; preds = %10, %1
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct._Action, ptr %18, i32 0, i32 3
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.95, ptr noundef %20)
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %22

22:                                               ; preds = %39, %17
  %23 = load i32, ptr %4, align 4, !tbaa !14
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._Action, ptr %24, i32 0, i32 4
  %26 = load i32, ptr %25, align 8, !tbaa !15
  %27 = icmp slt i32 %23, %26
  br i1 %27, label %28, label %42

28:                                               ; preds = %22
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._Action, ptr %29, i32 0, i32 5
  %31 = load i32, ptr %4, align 4, !tbaa !14
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !14
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [2000 x ptr], ptr @gconstants, i64 0, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.96, ptr noundef %37)
  br label %39

39:                                               ; preds = %28
  %40 = load i32, ptr %4, align 4, !tbaa !14
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %4, align 4, !tbaa !14
  br label %22, !llvm.loop !16

42:                                               ; preds = %22
  br label %43

43:                                               ; preds = %42, %15
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.97)
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %45

45:                                               ; preds = %60, %43
  %46 = load i32, ptr %4, align 4, !tbaa !14
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._Action, ptr %47, i32 0, i32 8
  %49 = load i32, ptr %48, align 8, !tbaa !18
  %50 = icmp slt i32 %46, %49
  br i1 %50, label %51, label %63

51:                                               ; preds = %45
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct._Action, ptr %52, i32 0, i32 7
  %54 = load ptr, ptr %53, align 8, !tbaa !19
  %55 = load i32, ptr %4, align 4, !tbaa !14
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i32, ptr %54, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !14
  call void @print_ft_name(i32 noundef %58)
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  br label %60

60:                                               ; preds = %51
  %61 = load i32, ptr %4, align 4, !tbaa !14
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %4, align 4, !tbaa !14
  br label %45, !llvm.loop !20

63:                                               ; preds = %45
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %64

64:                                               ; preds = %113, %63
  %65 = load i32, ptr %4, align 4, !tbaa !14
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._Action, ptr %66, i32 0, i32 12
  %68 = load i32, ptr %67, align 8, !tbaa !21
  %69 = icmp slt i32 %65, %68
  br i1 %69, label %70, label %116

70:                                               ; preds = %64
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._Action, ptr %71, i32 0, i32 9
  %73 = load ptr, ptr %72, align 8, !tbaa !22
  %74 = load i32, ptr %4, align 4, !tbaa !14
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %73, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !14
  switch i32 %77, label %88 [
    i32 3001, label %78
    i32 3002, label %80
    i32 3003, label %82
    i32 3004, label %84
    i32 3005, label %86
  ]

78:                                               ; preds = %70
  %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  br label %97

80:                                               ; preds = %70
  %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  br label %97

82:                                               ; preds = %70
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  br label %97

84:                                               ; preds = %70
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  br label %97

86:                                               ; preds = %70
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  br label %97

88:                                               ; preds = %70
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct._Action, ptr %89, i32 0, i32 9
  %91 = load ptr, ptr %90, align 8, !tbaa !22
  %92 = load i32, ptr %4, align 4, !tbaa !14
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds i32, ptr %91, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !14
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.98, i32 noundef %95)
  call void @exit(i32 noundef 1) #5
  unreachable

97:                                               ; preds = %86, %84, %82, %80, %78
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct._Action, ptr %98, i32 0, i32 10
  %100 = load ptr, ptr %99, align 8, !tbaa !23
  %101 = load i32, ptr %4, align 4, !tbaa !14
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds ptr, ptr %100, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  call void @print_ExpNode(ptr noundef %104)
  %105 = load ptr, ptr %2, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct._Action, ptr %105, i32 0, i32 11
  %107 = load ptr, ptr %106, align 8, !tbaa !24
  %108 = load i32, ptr %4, align 4, !tbaa !14
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds ptr, ptr %107, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  call void @print_ExpNode(ptr noundef %111)
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  br label %113

113:                                              ; preds = %97
  %114 = load i32, ptr %4, align 4, !tbaa !14
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %4, align 4, !tbaa !14
  br label %64, !llvm.loop !25

116:                                              ; preds = %64
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.65)
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %118

118:                                              ; preds = %317, %116
  %119 = load i32, ptr %5, align 4, !tbaa !14
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._Action, ptr %120, i32 0, i32 18
  %122 = load i32, ptr %121, align 8, !tbaa !26
  %123 = icmp slt i32 %119, %122
  br i1 %123, label %124, label %320

124:                                              ; preds = %118
  %125 = load i32, ptr %5, align 4, !tbaa !14
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.92, i32 noundef %125)
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct._Action, ptr %127, i32 0, i32 17
  %129 = load ptr, ptr %128, align 8, !tbaa !27
  %130 = load i32, ptr %5, align 4, !tbaa !14
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds %struct._ActionEffect, ptr %129, i64 %131
  store ptr %132, ptr %3, align 8, !tbaa !5
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct._ActionEffect, ptr %133, i32 0, i32 22
  %135 = load i8, ptr %134, align 4, !tbaa !28
  %136 = icmp ne i8 %135, 0
  br i1 %136, label %137, label %139

137:                                              ; preds = %124
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.99)
  br label %139

139:                                              ; preds = %137, %124
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.93)
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %141

141:                                              ; preds = %156, %139
  %142 = load i32, ptr %4, align 4, !tbaa !14
  %143 = load ptr, ptr %3, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._ActionEffect, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 8, !tbaa !31
  %146 = icmp slt i32 %142, %145
  br i1 %146, label %147, label %159

147:                                              ; preds = %141
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct._ActionEffect, ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8, !tbaa !32
  %151 = load i32, ptr %4, align 4, !tbaa !14
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i32, ptr %150, i64 %152
  %154 = load i32, ptr %153, align 4, !tbaa !14
  call void @print_ft_name(i32 noundef %154)
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  br label %156

156:                                              ; preds = %147
  %157 = load i32, ptr %4, align 4, !tbaa !14
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %4, align 4, !tbaa !14
  br label %141, !llvm.loop !33

159:                                              ; preds = %141
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %160

160:                                              ; preds = %209, %159
  %161 = load i32, ptr %4, align 4, !tbaa !14
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct._ActionEffect, ptr %162, i32 0, i32 9
  %164 = load i32, ptr %163, align 8, !tbaa !34
  %165 = icmp slt i32 %161, %164
  br i1 %165, label %166, label %212

166:                                              ; preds = %160
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct._ActionEffect, ptr %167, i32 0, i32 6
  %169 = load ptr, ptr %168, align 8, !tbaa !35
  %170 = load i32, ptr %4, align 4, !tbaa !14
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds i32, ptr %169, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !14
  switch i32 %173, label %184 [
    i32 3001, label %174
    i32 3002, label %176
    i32 3003, label %178
    i32 3004, label %180
    i32 3005, label %182
  ]

174:                                              ; preds = %166
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  br label %193

176:                                              ; preds = %166
  %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  br label %193

178:                                              ; preds = %166
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  br label %193

180:                                              ; preds = %166
  %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  br label %193

182:                                              ; preds = %166
  %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  br label %193

184:                                              ; preds = %166
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct._ActionEffect, ptr %185, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !35
  %188 = load i32, ptr %4, align 4, !tbaa !14
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds i32, ptr %187, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !14
  %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.83, i32 noundef %191)
  call void @exit(i32 noundef 1) #5
  unreachable

193:                                              ; preds = %182, %180, %178, %176, %174
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct._ActionEffect, ptr %194, i32 0, i32 7
  %196 = load ptr, ptr %195, align 8, !tbaa !36
  %197 = load i32, ptr %4, align 4, !tbaa !14
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds ptr, ptr %196, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  call void @print_ExpNode(ptr noundef %200)
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct._ActionEffect, ptr %201, i32 0, i32 8
  %203 = load ptr, ptr %202, align 8, !tbaa !37
  %204 = load i32, ptr %4, align 4, !tbaa !14
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %203, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  call void @print_ExpNode(ptr noundef %207)
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  br label %209

209:                                              ; preds = %193
  %210 = load i32, ptr %4, align 4, !tbaa !14
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %4, align 4, !tbaa !14
  br label %160, !llvm.loop !38

212:                                              ; preds = %160
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.84)
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %214

214:                                              ; preds = %229, %212
  %215 = load i32, ptr %4, align 4, !tbaa !14
  %216 = load ptr, ptr %3, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct._ActionEffect, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 8, !tbaa !39
  %219 = icmp slt i32 %215, %218
  br i1 %219, label %220, label %232

220:                                              ; preds = %214
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct._ActionEffect, ptr %221, i32 0, i32 2
  %223 = load ptr, ptr %222, align 8, !tbaa !40
  %224 = load i32, ptr %4, align 4, !tbaa !14
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i32, ptr %223, i64 %225
  %227 = load i32, ptr %226, align 4, !tbaa !14
  call void @print_ft_name(i32 noundef %227)
  %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  br label %229

229:                                              ; preds = %220
  %230 = load i32, ptr %4, align 4, !tbaa !14
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %4, align 4, !tbaa !14
  br label %214, !llvm.loop !41

232:                                              ; preds = %214
  %233 = call i32 (ptr, ...) @printf(ptr noundef @.str.85)
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %234

234:                                              ; preds = %249, %232
  %235 = load i32, ptr %4, align 4, !tbaa !14
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct._ActionEffect, ptr %236, i32 0, i32 5
  %238 = load i32, ptr %237, align 8, !tbaa !42
  %239 = icmp slt i32 %235, %238
  br i1 %239, label %240, label %252

240:                                              ; preds = %234
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct._ActionEffect, ptr %241, i32 0, i32 4
  %243 = load ptr, ptr %242, align 8, !tbaa !43
  %244 = load i32, ptr %4, align 4, !tbaa !14
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds i32, ptr %243, i64 %245
  %247 = load i32, ptr %246, align 4, !tbaa !14
  call void @print_ft_name(i32 noundef %247)
  %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  br label %249

249:                                              ; preds = %240
  %250 = load i32, ptr %4, align 4, !tbaa !14
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %4, align 4, !tbaa !14
  br label %234, !llvm.loop !44

252:                                              ; preds = %234
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %253

253:                                              ; preds = %313, %252
  %254 = load i32, ptr %4, align 4, !tbaa !14
  %255 = load ptr, ptr %3, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct._ActionEffect, ptr %255, i32 0, i32 13
  %257 = load i32, ptr %256, align 8, !tbaa !45
  %258 = icmp slt i32 %254, %257
  br i1 %258, label %259, label %316

259:                                              ; preds = %253
  %260 = load ptr, ptr %3, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct._ActionEffect, ptr %260, i32 0, i32 10
  %262 = load ptr, ptr %261, align 8, !tbaa !46
  %263 = load i32, ptr %4, align 4, !tbaa !14
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds i32, ptr %262, i64 %264
  %266 = load i32, ptr %265, align 4, !tbaa !14
  switch i32 %266, label %277 [
    i32 4000, label %267
    i32 4001, label %269
    i32 4002, label %271
    i32 4003, label %273
    i32 4004, label %275
  ]

267:                                              ; preds = %259
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.72)
  br label %286

269:                                              ; preds = %259
  %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.73)
  br label %286

271:                                              ; preds = %259
  %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.74)
  br label %286

273:                                              ; preds = %259
  %274 = call i32 (ptr, ...) @printf(ptr noundef @.str.75)
  br label %286

275:                                              ; preds = %259
  %276 = call i32 (ptr, ...) @printf(ptr noundef @.str.76)
  br label %286

277:                                              ; preds = %259
  %278 = load ptr, ptr %3, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct._ActionEffect, ptr %278, i32 0, i32 10
  %280 = load ptr, ptr %279, align 8, !tbaa !46
  %281 = load i32, ptr %4, align 4, !tbaa !14
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds i32, ptr %280, i64 %282
  %284 = load i32, ptr %283, align 4, !tbaa !14
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.86, i32 noundef %284)
  call void @exit(i32 noundef 1) #5
  unreachable

286:                                              ; preds = %275, %273, %271, %269, %267
  %287 = load ptr, ptr %3, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct._ActionEffect, ptr %287, i32 0, i32 11
  %289 = load ptr, ptr %288, align 8, !tbaa !47
  %290 = load i32, ptr %4, align 4, !tbaa !14
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds i32, ptr %289, i64 %291
  %293 = load i32, ptr %292, align 4, !tbaa !14
  %294 = icmp sge i32 %293, 0
  br i1 %294, label %295, label %303

295:                                              ; preds = %286
  %296 = load ptr, ptr %3, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct._ActionEffect, ptr %296, i32 0, i32 11
  %298 = load ptr, ptr %297, align 8, !tbaa !47
  %299 = load i32, ptr %4, align 4, !tbaa !14
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds i32, ptr %298, i64 %300
  %302 = load i32, ptr %301, align 4, !tbaa !14
  call void @print_fl_name(i32 noundef %302)
  br label %305

303:                                              ; preds = %286
  %304 = call i32 (ptr, ...) @printf(ptr noundef @.str.51)
  br label %305

305:                                              ; preds = %303, %295
  %306 = load ptr, ptr %3, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct._ActionEffect, ptr %306, i32 0, i32 12
  %308 = load ptr, ptr %307, align 8, !tbaa !48
  %309 = load i32, ptr %4, align 4, !tbaa !14
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds ptr, ptr %308, i64 %310
  %312 = load ptr, ptr %311, align 8, !tbaa !5
  call void @print_ExpNode(ptr noundef %312)
  br label %313

313:                                              ; preds = %305
  %314 = load i32, ptr %4, align 4, !tbaa !14
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %4, align 4, !tbaa !14
  br label %253, !llvm.loop !49

316:                                              ; preds = %253
  br label %317

317:                                              ; preds = %316
  %318 = load i32, ptr %5, align 4, !tbaa !14
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr %5, align 4, !tbaa !14
  br label %118, !llvm.loop !50

320:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_Action", !6, i64 0, !6, i64 8, !7, i64 16, !6, i64 24, !11, i64 32, !7, i64 36, !7, i64 96, !6, i64 160, !11, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !11, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !11, i64 232, !6, i64 240, !11, i64 248, !6, i64 256}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 24}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !11, i64 32}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !11, i64 168}
!19 = !{!10, !6, i64 160}
!20 = distinct !{!20, !17}
!21 = !{!10, !11, i64 200}
!22 = !{!10, !6, i64 176}
!23 = !{!10, !6, i64 184}
!24 = !{!10, !6, i64 192}
!25 = distinct !{!25, !17}
!26 = !{!10, !11, i64 248}
!27 = !{!10, !6, i64 240}
!28 = !{!29, !7, i64 172}
!29 = !{!"_ActionEffect", !6, i64 0, !11, i64 8, !6, i64 16, !11, i64 24, !6, i64 32, !11, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, 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, !7, i64 172, !7, i64 173, !30, i64 176}
!30 = !{!"float", !7, i64 0}
!31 = !{!29, !11, i64 8}
!32 = !{!29, !6, i64 0}
!33 = distinct !{!33, !17}
!34 = !{!29, !11, i64 72}
!35 = !{!29, !6, i64 48}
!36 = !{!29, !6, i64 56}
!37 = !{!29, !6, i64 64}
!38 = distinct !{!38, !17}
!39 = !{!29, !11, i64 24}
!40 = !{!29, !6, i64 16}
!41 = distinct !{!41, !17}
!42 = !{!29, !11, i64 40}
!43 = !{!29, !6, i64 32}
!44 = distinct !{!44, !17}
!45 = !{!29, !11, i64 104}
!46 = !{!29, !6, i64 80}
!47 = !{!29, !6, i64 88}
!48 = !{!29, !6, i64 96}
!49 = distinct !{!49, !17}
!50 = distinct !{!50, !17}


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

@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [34 x i8], align 1
@gconstants = external local_unnamed_addr global [2000 x ptr], align 16
@.str.92 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [17 x i8], align 1
@switch.table.print_Action.1 = private unnamed_addr constant [5 x ptr] [ptr @.str.27, ptr @.str.28, ptr @.str.29, ptr @.str.30, ptr @.str.31], align 8
@switch.table.print_Action.2 = private unnamed_addr constant [5 x ptr] [ptr @.str.72, ptr @.str.73, ptr @.str.74, ptr @.str.75, ptr @.str.76], align 8

; 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

; Function Attrs: nounwind uwtable
declare dso_local void @print_ExpNode(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local void @print_Action(ptr nocapture noundef readonly %0) local_unnamed_addr #2 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %3, label %8

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load ptr, ptr %4, align 8, !tbaa !11
  %.not71 = icmp eq ptr %5, null
  br i1 %.not71, label %6, label %8

6:                                                ; preds = %3
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.94)
  br label %.loopexit

8:                                                ; preds = %3, %1
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.95, ptr noundef %10)
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = load i32, ptr %12, align 8, !tbaa !13
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %8
  %15 = getelementptr inbounds i8, ptr %0, i64 36
  br label %16

16:                                               ; preds = %.lr.ph, %16
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %16 ]
  %17 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %indvars.iv
  %18 = load i32, ptr %17, align 4, !tbaa !14
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [2000 x ptr], ptr @gconstants, i64 0, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.96, ptr noundef %21)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %23 = load i32, ptr %12, align 8, !tbaa !13
  %24 = sext i32 %23 to i64
  %25 = icmp slt i64 %indvars.iv.next, %24
  br i1 %25, label %16, label %.loopexit, !llvm.loop !16

.loopexit:                                        ; preds = %16, %8, %6
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.97)
  %27 = getelementptr inbounds i8, ptr %0, i64 168
  %28 = load i32, ptr %27, align 8, !tbaa !18
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph79, label %.preheader74

.lr.ph79:                                         ; preds = %.loopexit
  %30 = getelementptr inbounds i8, ptr %0, i64 160
  br label %37

.preheader74:                                     ; preds = %37, %.loopexit
  %31 = getelementptr inbounds i8, ptr %0, i64 200
  %32 = load i32, ptr %31, align 8, !tbaa !19
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph81, label %._crit_edge

.lr.ph81:                                         ; preds = %.preheader74
  %34 = getelementptr inbounds i8, ptr %0, i64 176
  %35 = getelementptr inbounds i8, ptr %0, i64 184
  %36 = getelementptr inbounds i8, ptr %0, i64 192
  br label %45

37:                                               ; preds = %.lr.ph79, %37
  %indvars.iv108 = phi i64 [ 0, %.lr.ph79 ], [ %indvars.iv.next109, %37 ]
  %38 = load ptr, ptr %30, align 8, !tbaa !20
  %39 = getelementptr inbounds i32, ptr %38, i64 %indvars.iv108
  %40 = load i32, ptr %39, align 4, !tbaa !14
  tail call void @print_ft_name(i32 noundef %40)
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %42 = load i32, ptr %27, align 8, !tbaa !18
  %43 = sext i32 %42 to i64
  %44 = icmp slt i64 %indvars.iv.next109, %43
  br i1 %44, label %37, label %.preheader74, !llvm.loop !21

45:                                               ; preds = %.lr.ph81, %switch.lookup
  %indvars.iv111 = phi i64 [ 0, %.lr.ph81 ], [ %indvars.iv.next112, %switch.lookup ]
  %46 = load ptr, ptr %34, align 8, !tbaa !22
  %47 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv111
  %48 = load i32, ptr %47, align 4, !tbaa !14
  %switch.tableidx = add i32 %48, -3001
  %49 = icmp ult i32 %switch.tableidx, 5
  br i1 %49, label %switch.lookup, label %50

50:                                               ; preds = %45
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.98, i32 noundef %48)
  tail call void @exit(i32 noundef 1) #3
  unreachable

switch.lookup:                                    ; preds = %45
  %52 = zext nneg i32 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [5 x ptr], ptr @switch.table.print_Action.1, i64 0, i64 %52
  %switch.load = load ptr, ptr %switch.gep, align 8
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %switch.load)
  %54 = load ptr, ptr %35, align 8, !tbaa !23
  %55 = getelementptr inbounds ptr, ptr %54, i64 %indvars.iv111
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  tail call void @print_ExpNode(ptr noundef %56)
  %57 = load ptr, ptr %36, align 8, !tbaa !24
  %58 = getelementptr inbounds ptr, ptr %57, i64 %indvars.iv111
  %59 = load ptr, ptr %58, align 8, !tbaa !15
  tail call void @print_ExpNode(ptr noundef %59)
  %60 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %61 = load i32, ptr %31, align 8, !tbaa !19
  %62 = sext i32 %61 to i64
  %63 = icmp slt i64 %indvars.iv.next112, %62
  br i1 %63, label %45, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %switch.lookup, %.preheader74
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.65)
  %65 = getelementptr inbounds i8, ptr %0, i64 248
  %66 = load i32, ptr %65, align 8, !tbaa !26
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph100, label %._crit_edge101

.lr.ph100:                                        ; preds = %._crit_edge
  %68 = getelementptr inbounds i8, ptr %0, i64 240
  br label %69

69:                                               ; preds = %.lr.ph100, %._crit_edge97
  %indvars.iv129 = phi i64 [ 0, %.lr.ph100 ], [ %indvars.iv.next130, %._crit_edge97 ]
  %70 = trunc nuw nsw i64 %indvars.iv129 to i32
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92, i32 noundef %70)
  %72 = load ptr, ptr %68, align 8, !tbaa !27
  %73 = getelementptr inbounds %struct._ActionEffect, ptr %72, i64 %indvars.iv129
  %74 = getelementptr inbounds i8, ptr %73, i64 172
  %75 = load i8, ptr %74, align 4, !tbaa !28
  %.not72 = icmp eq i8 %75, 0
  br i1 %.not72, label %78, label %76

76:                                               ; preds = %69
  %77 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.99)
  br label %78

78:                                               ; preds = %76, %69
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %80 = getelementptr inbounds i8, ptr %73, i64 8
  %81 = load i32, ptr %80, align 8, !tbaa !31
  %82 = icmp sgt i32 %81, 0
  br i1 %82, label %.lr.ph84, label %.preheader73

.preheader73:                                     ; preds = %.lr.ph84, %78
  %83 = getelementptr inbounds i8, ptr %73, i64 72
  %84 = load i32, ptr %83, align 8, !tbaa !32
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %.lr.ph86, label %._crit_edge87

.lr.ph86:                                         ; preds = %.preheader73
  %86 = getelementptr inbounds i8, ptr %73, i64 48
  %87 = getelementptr inbounds i8, ptr %73, i64 56
  %88 = getelementptr inbounds i8, ptr %73, i64 64
  br label %96

.lr.ph84:                                         ; preds = %78, %.lr.ph84
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %.lr.ph84 ], [ 0, %78 ]
  %89 = load ptr, ptr %73, align 8, !tbaa !33
  %90 = getelementptr inbounds i32, ptr %89, i64 %indvars.iv114
  %91 = load i32, ptr %90, align 4, !tbaa !14
  tail call void @print_ft_name(i32 noundef %91)
  %92 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %93 = load i32, ptr %80, align 8, !tbaa !31
  %94 = sext i32 %93 to i64
  %95 = icmp slt i64 %indvars.iv.next115, %94
  br i1 %95, label %.lr.ph84, label %.preheader73, !llvm.loop !34

96:                                               ; preds = %.lr.ph86, %switch.lookup143
  %indvars.iv117 = phi i64 [ 0, %.lr.ph86 ], [ %indvars.iv.next118, %switch.lookup143 ]
  %97 = load ptr, ptr %86, align 8, !tbaa !35
  %98 = getelementptr inbounds i32, ptr %97, i64 %indvars.iv117
  %99 = load i32, ptr %98, align 4, !tbaa !14
  %switch.tableidx144 = add i32 %99, -3001
  %100 = icmp ult i32 %switch.tableidx144, 5
  br i1 %100, label %switch.lookup143, label %101

101:                                              ; preds = %96
  %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.83, i32 noundef %99)
  tail call void @exit(i32 noundef 1) #3
  unreachable

switch.lookup143:                                 ; preds = %96
  %103 = zext nneg i32 %switch.tableidx144 to i64
  %switch.gep145 = getelementptr inbounds [5 x ptr], ptr @switch.table.print_Action.1, i64 0, i64 %103
  %switch.load146 = load ptr, ptr %switch.gep145, align 8
  %104 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %switch.load146)
  %105 = load ptr, ptr %87, align 8, !tbaa !36
  %106 = getelementptr inbounds ptr, ptr %105, i64 %indvars.iv117
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  tail call void @print_ExpNode(ptr noundef %107)
  %108 = load ptr, ptr %88, align 8, !tbaa !37
  %109 = getelementptr inbounds ptr, ptr %108, i64 %indvars.iv117
  %110 = load ptr, ptr %109, align 8, !tbaa !15
  tail call void @print_ExpNode(ptr noundef %110)
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %112 = load i32, ptr %83, align 8, !tbaa !32
  %113 = sext i32 %112 to i64
  %114 = icmp slt i64 %indvars.iv.next118, %113
  br i1 %114, label %96, label %._crit_edge87, !llvm.loop !38

._crit_edge87:                                    ; preds = %switch.lookup143, %.preheader73
  %115 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.84)
  %116 = getelementptr inbounds i8, ptr %73, i64 24
  %117 = load i32, ptr %116, align 8, !tbaa !39
  %118 = icmp sgt i32 %117, 0
  br i1 %118, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %._crit_edge87
  %119 = getelementptr inbounds i8, ptr %73, i64 16
  br label %120

120:                                              ; preds = %.lr.ph90, %120
  %indvars.iv120 = phi i64 [ 0, %.lr.ph90 ], [ %indvars.iv.next121, %120 ]
  %121 = load ptr, ptr %119, align 8, !tbaa !40
  %122 = getelementptr inbounds i32, ptr %121, i64 %indvars.iv120
  %123 = load i32, ptr %122, align 4, !tbaa !14
  tail call void @print_ft_name(i32 noundef %123)
  %124 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %125 = load i32, ptr %116, align 8, !tbaa !39
  %126 = sext i32 %125 to i64
  %127 = icmp slt i64 %indvars.iv.next121, %126
  br i1 %127, label %120, label %._crit_edge91, !llvm.loop !41

._crit_edge91:                                    ; preds = %120, %._crit_edge87
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.85)
  %129 = getelementptr inbounds i8, ptr %73, i64 40
  %130 = load i32, ptr %129, align 8, !tbaa !42
  %131 = icmp sgt i32 %130, 0
  br i1 %131, label %.lr.ph94, label %.preheader

.lr.ph94:                                         ; preds = %._crit_edge91
  %132 = getelementptr inbounds i8, ptr %73, i64 32
  br label %139

.preheader:                                       ; preds = %139, %._crit_edge91
  %133 = getelementptr inbounds i8, ptr %73, i64 104
  %134 = load i32, ptr %133, align 8, !tbaa !43
  %135 = icmp sgt i32 %134, 0
  br i1 %135, label %.lr.ph96, label %._crit_edge97

.lr.ph96:                                         ; preds = %.preheader
  %136 = getelementptr inbounds i8, ptr %73, i64 80
  %137 = getelementptr inbounds i8, ptr %73, i64 88
  %138 = getelementptr inbounds i8, ptr %73, i64 96
  br label %147

139:                                              ; preds = %.lr.ph94, %139
  %indvars.iv123 = phi i64 [ 0, %.lr.ph94 ], [ %indvars.iv.next124, %139 ]
  %140 = load ptr, ptr %132, align 8, !tbaa !44
  %141 = getelementptr inbounds i32, ptr %140, i64 %indvars.iv123
  %142 = load i32, ptr %141, align 4, !tbaa !14
  tail call void @print_ft_name(i32 noundef %142)
  %143 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %144 = load i32, ptr %129, align 8, !tbaa !42
  %145 = sext i32 %144 to i64
  %146 = icmp slt i64 %indvars.iv.next124, %145
  br i1 %146, label %139, label %.preheader, !llvm.loop !45

147:                                              ; preds = %.lr.ph96, %163
  %indvars.iv126 = phi i64 [ 0, %.lr.ph96 ], [ %indvars.iv.next127, %163 ]
  %148 = load ptr, ptr %136, align 8, !tbaa !46
  %149 = getelementptr inbounds i32, ptr %148, i64 %indvars.iv126
  %150 = load i32, ptr %149, align 4, !tbaa !14
  %switch.tableidx148 = add i32 %150, -4000
  %151 = icmp ult i32 %switch.tableidx148, 5
  br i1 %151, label %switch.lookup147, label %152

152:                                              ; preds = %147
  %153 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.86, i32 noundef %150)
  tail call void @exit(i32 noundef 1) #3
  unreachable

switch.lookup147:                                 ; preds = %147
  %154 = zext nneg i32 %switch.tableidx148 to i64
  %switch.gep149 = getelementptr inbounds [5 x ptr], ptr @switch.table.print_Action.2, i64 0, i64 %154
  %switch.load150 = load ptr, ptr %switch.gep149, align 8
  %155 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %switch.load150)
  %156 = load ptr, ptr %137, align 8, !tbaa !47
  %157 = getelementptr inbounds i32, ptr %156, i64 %indvars.iv126
  %158 = load i32, ptr %157, align 4, !tbaa !14
  %159 = icmp sgt i32 %158, -1
  br i1 %159, label %160, label %161

160:                                              ; preds = %switch.lookup147
  tail call void @print_fl_name(i32 noundef %158)
  br label %163

161:                                              ; preds = %switch.lookup147
  %162 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.51)
  br label %163

163:                                              ; preds = %161, %160
  %164 = load ptr, ptr %138, align 8, !tbaa !48
  %165 = getelementptr inbounds ptr, ptr %164, i64 %indvars.iv126
  %166 = load ptr, ptr %165, align 8, !tbaa !15
  tail call void @print_ExpNode(ptr noundef %166)
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %167 = load i32, ptr %133, align 8, !tbaa !43
  %168 = sext i32 %167 to i64
  %169 = icmp slt i64 %indvars.iv.next127, %168
  br i1 %169, label %147, label %._crit_edge97, !llvm.loop !49

._crit_edge97:                                    ; preds = %163, %.preheader
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %170 = load i32, ptr %65, align 8, !tbaa !26
  %171 = sext i32 %170 to i64
  %172 = icmp slt i64 %indvars.iv.next130, %171
  br i1 %172, label %69, label %._crit_edge101, !llvm.loop !50

._crit_edge101:                                   ; preds = %._crit_edge97, %._crit_edge
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @print_ft_name(i32 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 = { 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 = { 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 }

!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, !7, i64 0}
!6 = !{!"_Action", !7, i64 0, !7, i64 8, !8, i64 16, !7, i64 24, !10, i64 32, !8, i64 36, !8, i64 96, !7, i64 160, !10, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !10, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !10, i64 232, !7, i64 240, !10, i64 248, !7, i64 256}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !10, i64 32}
!14 = !{!10, !10, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !10, i64 168}
!19 = !{!6, !10, i64 200}
!20 = !{!6, !7, i64 160}
!21 = distinct !{!21, !17}
!22 = !{!6, !7, i64 176}
!23 = !{!6, !7, i64 184}
!24 = !{!6, !7, i64 192}
!25 = distinct !{!25, !17}
!26 = !{!6, !10, i64 248}
!27 = !{!6, !7, i64 240}
!28 = !{!29, !8, i64 172}
!29 = !{!"_ActionEffect", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !10, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !10, i64 168, !8, i64 172, !8, i64 173, !30, i64 176}
!30 = !{!"float", !8, i64 0}
!31 = !{!29, !10, i64 8}
!32 = !{!29, !10, i64 72}
!33 = !{!29, !7, i64 0}
!34 = distinct !{!34, !17}
!35 = !{!29, !7, i64 48}
!36 = !{!29, !7, i64 56}
!37 = !{!29, !7, i64 64}
!38 = distinct !{!38, !17}
!39 = !{!29, !10, i64 24}
!40 = !{!29, !7, i64 16}
!41 = distinct !{!41, !17}
!42 = !{!29, !10, i64 40}
!43 = !{!29, !10, i64 104}
!44 = !{!29, !7, i64 32}
!45 = distinct !{!45, !17}
!46 = !{!29, !7, i64 80}
!47 = !{!29, !7, i64 88}
!48 = !{!29, !7, i64 96}
!49 = distinct !{!49, !17}
!50 = distinct !{!50, !17}


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