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

; 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 }
%struct._LnfExpNode = type { [25 x i32], [25 x float], i32, [25 x i32], [25 x float], i32, float }

@gactions = external global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@lminus_fluent = external dso_local global [1000 x i32], align 16

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

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

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

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

declare ptr @new_LnfExpNode() #0

; Function Attrs: nounwind uwtable
define dso_local void @introduce_minus_fl_effects(i32 noundef %0) #3 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %11 = load ptr, ptr @gactions, align 8, !tbaa !9
  store ptr %11, ptr %3, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %303, %1
  %13 = load ptr, ptr %3, align 8, !tbaa !9
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %307

15:                                               ; preds = %12
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %299, %15
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %18 = load ptr, ptr %3, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct._Action, ptr %18, i32 0, i32 18
  %20 = load i32, ptr %19, align 8, !tbaa !11
  %21 = icmp slt i32 %17, %20
  br i1 %21, label %22, label %302

22:                                               ; preds = %16
  %23 = load ptr, ptr %3, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct._Action, ptr %23, i32 0, i32 17
  %25 = load ptr, ptr %24, align 8, !tbaa !13
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds %struct._ActionEffect, ptr %25, i64 %27
  store ptr %28, ptr %4, align 8, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct._ActionEffect, ptr %29, i32 0, i32 22
  %31 = load i8, ptr %30, align 4, !tbaa !14
  %32 = icmp ne i8 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %22
  br label %299

34:                                               ; preds = %22
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %295, %34
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct._ActionEffect, ptr %37, i32 0, i32 21
  %39 = load i32, ptr %38, align 8, !tbaa !17
  %40 = icmp slt i32 %36, %39
  br i1 %40, label %41, label %298

41:                                               ; preds = %35
  %42 = load ptr, ptr %4, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct._ActionEffect, ptr %42, i32 0, i32 19
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  %45 = load i32, ptr %6, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds i32, ptr %44, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = icmp ne i32 %48, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %41
  br label %295

52:                                               ; preds = %41
  %53 = load ptr, ptr %4, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct._ActionEffect, ptr %53, i32 0, i32 21
  %55 = load i32, ptr %54, align 8, !tbaa !17
  %56 = icmp eq i32 %55, 50
  br i1 %56, label %57, label %59

57:                                               ; preds = %52
  %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.28, i32 noundef 50)
  call void @exit(i32 noundef 1) #5
  unreachable

59:                                               ; preds = %52
  %60 = load ptr, ptr %4, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct._ActionEffect, ptr %60, i32 0, i32 18
  %62 = load ptr, ptr %61, align 8, !tbaa !19
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %62, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load ptr, ptr %4, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct._ActionEffect, ptr %67, i32 0, i32 18
  %69 = load ptr, ptr %68, align 8, !tbaa !19
  %70 = load ptr, ptr %4, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct._ActionEffect, ptr %70, i32 0, i32 21
  %72 = load i32, ptr %71, align 8, !tbaa !17
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds i32, ptr %69, i64 %73
  store i32 %66, ptr %74, align 4, !tbaa !5
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [1000 x i32], ptr @lminus_fluent, i64 0, i64 %76
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct._ActionEffect, ptr %79, i32 0, i32 19
  %81 = load ptr, ptr %80, align 8, !tbaa !18
  %82 = load ptr, ptr %4, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct._ActionEffect, ptr %82, i32 0, i32 21
  %84 = load i32, ptr %83, align 8, !tbaa !17
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds i32, ptr %81, i64 %85
  store i32 %78, ptr %86, align 4, !tbaa !5
  %87 = call ptr @new_LnfExpNode()
  %88 = load ptr, ptr %4, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct._ActionEffect, ptr %88, i32 0, i32 20
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = load ptr, ptr %4, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct._ActionEffect, ptr %91, i32 0, i32 21
  %93 = load i32, ptr %92, align 8, !tbaa !17
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds ptr, ptr %90, i64 %94
  store ptr %87, ptr %95, align 8, !tbaa !9
  %96 = load ptr, ptr %4, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct._ActionEffect, ptr %96, i32 0, i32 20
  %98 = load ptr, ptr %97, align 8, !tbaa !20
  %99 = load ptr, ptr %4, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct._ActionEffect, ptr %99, i32 0, i32 21
  %101 = load i32, ptr %100, align 8, !tbaa !17
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds ptr, ptr %98, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  store ptr %104, ptr %10, align 8, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %211, %59
  %106 = load i32, ptr %7, align 4, !tbaa !5
  %107 = load ptr, ptr %4, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct._ActionEffect, ptr %107, i32 0, i32 20
  %109 = load ptr, ptr %108, align 8, !tbaa !20
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct._LnfExpNode, ptr %113, i32 0, i32 2
  %115 = load i32, ptr %114, align 4, !tbaa !21
  %116 = icmp slt i32 %106, %115
  br i1 %116, label %117, label %214

117:                                              ; preds = %105
  %118 = load ptr, ptr %4, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct._ActionEffect, ptr %118, i32 0, i32 20
  %120 = load ptr, ptr %119, align 8, !tbaa !20
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds ptr, ptr %120, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct._LnfExpNode, ptr %124, i32 0, i32 0
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [25 x i32], ptr %125, i64 0, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  store i32 %129, ptr %8, align 4, !tbaa !5
  %130 = load i32, ptr %8, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [1000 x i32], ptr @lminus_fluent, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = icmp eq i32 %133, -1
  br i1 %134, label %135, label %171

135:                                              ; preds = %117
  %136 = load ptr, ptr %10, align 8, !tbaa !9
  %137 = getelementptr inbounds %struct._LnfExpNode, ptr %136, i32 0, i32 5
  %138 = load i32, ptr %137, align 4, !tbaa !23
  %139 = icmp eq i32 %138, 25
  br i1 %139, label %140, label %142

140:                                              ; preds = %135
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef 25)
  call void @exit(i32 noundef 1) #5
  unreachable

142:                                              ; preds = %135
  %143 = load i32, ptr %8, align 4, !tbaa !5
  %144 = load ptr, ptr %10, align 8, !tbaa !9
  %145 = getelementptr inbounds %struct._LnfExpNode, ptr %144, i32 0, i32 3
  %146 = load ptr, ptr %10, align 8, !tbaa !9
  %147 = getelementptr inbounds %struct._LnfExpNode, ptr %146, i32 0, i32 5
  %148 = load i32, ptr %147, align 4, !tbaa !23
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [25 x i32], ptr %145, i64 0, i64 %149
  store i32 %143, ptr %150, align 4, !tbaa !5
  %151 = load ptr, ptr %4, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct._ActionEffect, ptr %151, i32 0, i32 20
  %153 = load ptr, ptr %152, align 8, !tbaa !20
  %154 = load i32, ptr %6, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds ptr, ptr %153, i64 %155
  %157 = load ptr, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds %struct._LnfExpNode, ptr %157, i32 0, i32 1
  %159 = load i32, ptr %7, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [25 x float], ptr %158, i64 0, i64 %160
  %162 = load float, ptr %161, align 4, !tbaa !24
  %163 = load ptr, ptr %10, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct._LnfExpNode, ptr %163, i32 0, i32 4
  %165 = load ptr, ptr %10, align 8, !tbaa !9
  %166 = getelementptr inbounds %struct._LnfExpNode, ptr %165, i32 0, i32 5
  %167 = load i32, ptr %166, align 4, !tbaa !23
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %166, align 4, !tbaa !23
  %169 = sext i32 %167 to i64
  %170 = getelementptr inbounds [25 x float], ptr %164, i64 0, i64 %169
  store float %162, ptr %170, align 4, !tbaa !24
  br label %210

171:                                              ; preds = %117
  %172 = load ptr, ptr %10, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct._LnfExpNode, ptr %172, i32 0, i32 2
  %174 = load i32, ptr %173, align 4, !tbaa !21
  %175 = icmp eq i32 %174, 25
  br i1 %175, label %176, label %178

176:                                              ; preds = %171
  %177 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef 25)
  call void @exit(i32 noundef 1) #5
  unreachable

178:                                              ; preds = %171
  %179 = load i32, ptr %8, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [1000 x i32], ptr @lminus_fluent, i64 0, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = load ptr, ptr %10, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct._LnfExpNode, ptr %183, i32 0, i32 0
  %185 = load ptr, ptr %10, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct._LnfExpNode, ptr %185, i32 0, i32 2
  %187 = load i32, ptr %186, align 4, !tbaa !21
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [25 x i32], ptr %184, i64 0, i64 %188
  store i32 %182, ptr %189, align 4, !tbaa !5
  %190 = load ptr, ptr %4, align 8, !tbaa !9
  %191 = getelementptr inbounds %struct._ActionEffect, ptr %190, i32 0, i32 20
  %192 = load ptr, ptr %191, align 8, !tbaa !20
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds ptr, ptr %192, i64 %194
  %196 = load ptr, ptr %195, align 8, !tbaa !9
  %197 = getelementptr inbounds %struct._LnfExpNode, ptr %196, i32 0, i32 1
  %198 = load i32, ptr %7, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [25 x float], ptr %197, i64 0, i64 %199
  %201 = load float, ptr %200, align 4, !tbaa !24
  %202 = load ptr, ptr %10, align 8, !tbaa !9
  %203 = getelementptr inbounds %struct._LnfExpNode, ptr %202, i32 0, i32 1
  %204 = load ptr, ptr %10, align 8, !tbaa !9
  %205 = getelementptr inbounds %struct._LnfExpNode, ptr %204, i32 0, i32 2
  %206 = load i32, ptr %205, align 4, !tbaa !21
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %205, align 4, !tbaa !21
  %208 = sext i32 %206 to i64
  %209 = getelementptr inbounds [25 x float], ptr %203, i64 0, i64 %208
  store float %201, ptr %209, align 4, !tbaa !24
  br label %210

210:                                              ; preds = %178, %142
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %7, align 4, !tbaa !5
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %7, align 4, !tbaa !5
  br label %105, !llvm.loop !25

214:                                              ; preds = %105
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %275, %214
  %216 = load i32, ptr %7, align 4, !tbaa !5
  %217 = load ptr, ptr %4, align 8, !tbaa !9
  %218 = getelementptr inbounds %struct._ActionEffect, ptr %217, i32 0, i32 20
  %219 = load ptr, ptr %218, align 8, !tbaa !20
  %220 = load i32, ptr %6, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %219, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = getelementptr inbounds %struct._LnfExpNode, ptr %223, i32 0, i32 5
  %225 = load i32, ptr %224, align 4, !tbaa !23
  %226 = icmp slt i32 %216, %225
  br i1 %226, label %227, label %278

227:                                              ; preds = %215
  %228 = load ptr, ptr %4, align 8, !tbaa !9
  %229 = getelementptr inbounds %struct._ActionEffect, ptr %228, i32 0, i32 20
  %230 = load ptr, ptr %229, align 8, !tbaa !20
  %231 = load i32, ptr %6, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds ptr, ptr %230, i64 %232
  %234 = load ptr, ptr %233, align 8, !tbaa !9
  %235 = getelementptr inbounds %struct._LnfExpNode, ptr %234, i32 0, i32 3
  %236 = load i32, ptr %7, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds [25 x i32], ptr %235, i64 0, i64 %237
  %239 = load i32, ptr %238, align 4, !tbaa !5
  store i32 %239, ptr %9, align 4, !tbaa !5
  %240 = load ptr, ptr %10, align 8, !tbaa !9
  %241 = getelementptr inbounds %struct._LnfExpNode, ptr %240, i32 0, i32 2
  %242 = load i32, ptr %241, align 4, !tbaa !21
  %243 = icmp eq i32 %242, 25
  br i1 %243, label %244, label %246

244:                                              ; preds = %227
  %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef 25)
  call void @exit(i32 noundef 1) #5
  unreachable

246:                                              ; preds = %227
  %247 = load i32, ptr %9, align 4, !tbaa !5
  %248 = load ptr, ptr %10, align 8, !tbaa !9
  %249 = getelementptr inbounds %struct._LnfExpNode, ptr %248, i32 0, i32 0
  %250 = load ptr, ptr %10, align 8, !tbaa !9
  %251 = getelementptr inbounds %struct._LnfExpNode, ptr %250, i32 0, i32 2
  %252 = load i32, ptr %251, align 4, !tbaa !21
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [25 x i32], ptr %249, i64 0, i64 %253
  store i32 %247, ptr %254, align 4, !tbaa !5
  %255 = load ptr, ptr %4, align 8, !tbaa !9
  %256 = getelementptr inbounds %struct._ActionEffect, ptr %255, i32 0, i32 20
  %257 = load ptr, ptr %256, align 8, !tbaa !20
  %258 = load i32, ptr %6, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds ptr, ptr %257, i64 %259
  %261 = load ptr, ptr %260, align 8, !tbaa !9
  %262 = getelementptr inbounds %struct._LnfExpNode, ptr %261, i32 0, i32 4
  %263 = load i32, ptr %7, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [25 x float], ptr %262, i64 0, i64 %264
  %266 = load float, ptr %265, align 4, !tbaa !24
  %267 = load ptr, ptr %10, align 8, !tbaa !9
  %268 = getelementptr inbounds %struct._LnfExpNode, ptr %267, i32 0, i32 1
  %269 = load ptr, ptr %10, align 8, !tbaa !9
  %270 = getelementptr inbounds %struct._LnfExpNode, ptr %269, i32 0, i32 2
  %271 = load i32, ptr %270, align 4, !tbaa !21
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %270, align 4, !tbaa !21
  %273 = sext i32 %271 to i64
  %274 = getelementptr inbounds [25 x float], ptr %268, i64 0, i64 %273
  store float %266, ptr %274, align 4, !tbaa !24
  br label %275

275:                                              ; preds = %246
  %276 = load i32, ptr %7, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %7, align 4, !tbaa !5
  br label %215, !llvm.loop !27

278:                                              ; preds = %215
  %279 = load ptr, ptr %4, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct._ActionEffect, ptr %279, i32 0, i32 20
  %281 = load ptr, ptr %280, align 8, !tbaa !20
  %282 = load i32, ptr %6, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds ptr, ptr %281, i64 %283
  %285 = load ptr, ptr %284, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct._LnfExpNode, ptr %285, i32 0, i32 6
  %287 = load float, ptr %286, align 4, !tbaa !28
  %288 = fmul float -1.000000e+00, %287
  %289 = load ptr, ptr %10, align 8, !tbaa !9
  %290 = getelementptr inbounds %struct._LnfExpNode, ptr %289, i32 0, i32 6
  store float %288, ptr %290, align 4, !tbaa !28
  %291 = load ptr, ptr %4, align 8, !tbaa !9
  %292 = getelementptr inbounds %struct._ActionEffect, ptr %291, i32 0, i32 21
  %293 = load i32, ptr %292, align 8, !tbaa !17
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %292, align 8, !tbaa !17
  br label %295

295:                                              ; preds = %278, %51
  %296 = load i32, ptr %6, align 4, !tbaa !5
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %6, align 4, !tbaa !5
  br label %35, !llvm.loop !29

298:                                              ; preds = %35
  br label %299

299:                                              ; preds = %298, %33
  %300 = load i32, ptr %5, align 4, !tbaa !5
  %301 = add nsw i32 %300, 1
  store i32 %301, ptr %5, align 4, !tbaa !5
  br label %16, !llvm.loop !30

302:                                              ; preds = %16
  br label %303

303:                                              ; preds = %302
  %304 = load ptr, ptr %3, align 8, !tbaa !9
  %305 = getelementptr inbounds %struct._Action, ptr %304, i32 0, i32 19
  %306 = load ptr, ptr %305, align 8, !tbaa !31
  store ptr %306, ptr %3, align 8, !tbaa !9
  br label %12, !llvm.loop !32

307:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

attributes #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 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 248}
!12 = !{!"_Action", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !6, i64 32, !7, i64 36, !7, i64 96, !10, i64 160, !6, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !6, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !6, i64 232, !10, i64 240, !6, i64 248, !10, i64 256}
!13 = !{!12, !10, i64 240}
!14 = !{!15, !7, i64 172}
!15 = !{!"_ActionEffect", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, 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, !7, i64 172, !7, i64 173, !16, i64 176}
!16 = !{!"float", !7, i64 0}
!17 = !{!15, !6, i64 168}
!18 = !{!15, !10, i64 152}
!19 = !{!15, !10, i64 144}
!20 = !{!15, !10, i64 160}
!21 = !{!22, !6, i64 200}
!22 = !{!"_LnfExpNode", !7, i64 0, !7, i64 100, !6, i64 200, !7, i64 204, !7, i64 304, !6, i64 404, !16, i64 408}
!23 = !{!22, !6, i64 404}
!24 = !{!16, !16, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!22, !16, i64 408}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}
!31 = !{!12, !10, i64 256}
!32 = distinct !{!32, !26}


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

@gactions = external local_unnamed_addr global ptr, align 8
@.str.28 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@lminus_fluent = external dso_local local_unnamed_addr global [1000 x i32], align 16

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

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

declare ptr @new_LnfExpNode() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @introduce_minus_fl_effects(i32 noundef %0) local_unnamed_addr #3 {
  %.094 = load ptr, ptr @gactions, align 8, !tbaa !5
  %.not95 = icmp eq ptr %.094, null
  br i1 %.not95, label %._crit_edge97, label %.preheader83.lr.ph

.preheader83.lr.ph:                               ; preds = %1
  %2 = sext i32 %0 to i64
  %3 = getelementptr inbounds [1000 x i32], ptr @lminus_fluent, i64 0, i64 %2
  br label %.preheader83

.preheader83:                                     ; preds = %.preheader83.lr.ph, %._crit_edge93
  %.096 = phi ptr [ %.094, %.preheader83.lr.ph ], [ %.0, %._crit_edge93 ]
  %4 = getelementptr inbounds i8, ptr %.096, i64 248
  %5 = load i32, ptr %4, align 8, !tbaa !9
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph92, label %._crit_edge93

.lr.ph92:                                         ; preds = %.preheader83
  %7 = getelementptr inbounds i8, ptr %.096, i64 240
  br label %8

8:                                                ; preds = %.lr.ph92, %.loopexit
  %9 = phi i32 [ %5, %.lr.ph92 ], [ %123, %.loopexit ]
  %indvars.iv105 = phi i64 [ 0, %.lr.ph92 ], [ %indvars.iv.next106, %.loopexit ]
  %10 = load ptr, ptr %7, align 8, !tbaa !12
  %11 = getelementptr inbounds %struct._ActionEffect, ptr %10, i64 %indvars.iv105
  %12 = getelementptr inbounds i8, ptr %11, i64 172
  %13 = load i8, ptr %12, align 4, !tbaa !13
  %.not80 = icmp eq i8 %13, 0
  br i1 %.not80, label %.preheader82, label %.loopexit

.preheader82:                                     ; preds = %8
  %14 = getelementptr inbounds i8, ptr %11, i64 168
  %15 = load i32, ptr %14, align 8, !tbaa !16
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.lr.ph90, label %.loopexit

.lr.ph90:                                         ; preds = %.preheader82
  %17 = getelementptr inbounds i8, ptr %11, i64 152
  %18 = getelementptr inbounds i8, ptr %11, i64 144
  %19 = getelementptr inbounds i8, ptr %11, i64 160
  br label %20

20:                                               ; preds = %.lr.ph90, %119
  %21 = phi i32 [ %15, %.lr.ph90 ], [ %120, %119 ]
  %indvars.iv102 = phi i64 [ 0, %.lr.ph90 ], [ %indvars.iv.next103, %119 ]
  %22 = load ptr, ptr %17, align 8, !tbaa !17
  %23 = getelementptr inbounds i32, ptr %22, i64 %indvars.iv102
  %24 = load i32, ptr %23, align 4, !tbaa !18
  %.not81 = icmp eq i32 %24, %0
  br i1 %.not81, label %25, label %119

25:                                               ; preds = %20
  %26 = icmp eq i32 %21, 50
  br i1 %26, label %27, label %29

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

29:                                               ; preds = %25
  %30 = load ptr, ptr %18, align 8, !tbaa !19
  %31 = getelementptr inbounds i32, ptr %30, i64 %indvars.iv102
  %32 = load i32, ptr %31, align 4, !tbaa !18
  %33 = sext i32 %21 to i64
  %34 = getelementptr inbounds i32, ptr %30, i64 %33
  store i32 %32, ptr %34, align 4, !tbaa !18
  %35 = load i32, ptr %3, align 4, !tbaa !18
  %36 = load i32, ptr %14, align 8, !tbaa !16
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %22, i64 %37
  store i32 %35, ptr %38, align 4, !tbaa !18
  %39 = tail call ptr @new_LnfExpNode() #5
  %40 = load ptr, ptr %19, align 8, !tbaa !20
  %41 = load i32, ptr %14, align 8, !tbaa !16
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds ptr, ptr %40, i64 %42
  store ptr %39, ptr %43, align 8, !tbaa !5
  %44 = load ptr, ptr %19, align 8, !tbaa !20
  %45 = getelementptr inbounds ptr, ptr %44, i64 %42
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = getelementptr inbounds ptr, ptr %44, i64 %indvars.iv102
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 200
  %50 = load i32, ptr %49, align 4, !tbaa !21
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %.lr.ph, label %.preheader

.lr.ph:                                           ; preds = %29
  %52 = getelementptr inbounds i8, ptr %46, i64 200
  %53 = getelementptr inbounds i8, ptr %48, i64 100
  %54 = getelementptr inbounds i8, ptr %46, i64 404
  %55 = getelementptr inbounds i8, ptr %46, i64 204
  br label %63

.preheader:                                       ; preds = %80, %29
  %56 = getelementptr inbounds i8, ptr %48, i64 404
  %57 = load i32, ptr %56, align 4, !tbaa !23
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph88, label %._crit_edge

.lr.ph88:                                         ; preds = %.preheader
  %59 = getelementptr inbounds i8, ptr %46, i64 200
  %60 = getelementptr inbounds i8, ptr %48, i64 204
  %61 = getelementptr inbounds i8, ptr %48, i64 304
  %62 = getelementptr inbounds i8, ptr %46, i64 100
  %.pre = load i32, ptr %59, align 4, !tbaa !21
  br label %94

63:                                               ; preds = %.lr.ph, %80
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %80 ]
  %64 = getelementptr inbounds [25 x i32], ptr %48, i64 0, i64 %indvars.iv
  %65 = load i32, ptr %64, align 4, !tbaa !18
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [1000 x i32], ptr @lminus_fluent, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !18
  %69 = icmp eq i32 %68, -1
  br i1 %69, label %70, label %75

70:                                               ; preds = %63
  %71 = load i32, ptr %54, align 4, !tbaa !23
  %72 = icmp eq i32 %71, 25
  br i1 %72, label %73, label %80

73:                                               ; preds = %70
  %74 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, i32 noundef 25)
  tail call void @exit(i32 noundef 1) #4
  unreachable

75:                                               ; preds = %63
  %76 = load i32, ptr %52, align 4, !tbaa !21
  %77 = icmp eq i32 %76, 25
  br i1 %77, label %78, label %80

78:                                               ; preds = %75
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, i32 noundef 25)
  tail call void @exit(i32 noundef 1) #4
  unreachable

80:                                               ; preds = %75, %70
  %.sink121 = phi i32 [ %71, %70 ], [ %76, %75 ]
  %.sink119 = phi ptr [ %55, %70 ], [ %46, %75 ]
  %.sink = phi i32 [ %65, %70 ], [ %68, %75 ]
  %.sink116 = phi ptr [ %54, %70 ], [ %52, %75 ]
  %81 = phi i64 [ 304, %70 ], [ 100, %75 ]
  %82 = getelementptr inbounds i8, ptr %46, i64 %81
  %83 = sext i32 %.sink121 to i64
  %84 = getelementptr inbounds [25 x i32], ptr %.sink119, i64 0, i64 %83
  store i32 %.sink, ptr %84, align 4, !tbaa !18
  %85 = getelementptr inbounds [25 x float], ptr %53, i64 0, i64 %indvars.iv
  %86 = load float, ptr %85, align 4, !tbaa !24
  %87 = load i32, ptr %.sink116, align 4, !tbaa !18
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %.sink116, align 4, !tbaa !18
  %89 = sext i32 %87 to i64
  %90 = getelementptr inbounds [25 x float], ptr %82, i64 0, i64 %89
  store float %86, ptr %90, align 4, !tbaa !24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %91 = load i32, ptr %49, align 4, !tbaa !21
  %92 = sext i32 %91 to i64
  %93 = icmp slt i64 %indvars.iv.next, %92
  br i1 %93, label %63, label %.preheader, !llvm.loop !25

94:                                               ; preds = %.lr.ph88, %99
  %95 = phi i32 [ %.pre, %.lr.ph88 ], [ %107, %99 ]
  %indvars.iv99 = phi i64 [ 0, %.lr.ph88 ], [ %indvars.iv.next100, %99 ]
  %96 = icmp eq i32 %95, 25
  br i1 %96, label %97, label %99

97:                                               ; preds = %94
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, i32 noundef 25)
  tail call void @exit(i32 noundef 1) #4
  unreachable

99:                                               ; preds = %94
  %100 = getelementptr inbounds [25 x i32], ptr %60, i64 0, i64 %indvars.iv99
  %101 = load i32, ptr %100, align 4, !tbaa !18
  %102 = sext i32 %95 to i64
  %103 = getelementptr inbounds [25 x i32], ptr %46, i64 0, i64 %102
  store i32 %101, ptr %103, align 4, !tbaa !18
  %104 = getelementptr inbounds [25 x float], ptr %61, i64 0, i64 %indvars.iv99
  %105 = load float, ptr %104, align 4, !tbaa !24
  %106 = load i32, ptr %59, align 4, !tbaa !21
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %59, align 4, !tbaa !21
  %108 = sext i32 %106 to i64
  %109 = getelementptr inbounds [25 x float], ptr %62, i64 0, i64 %108
  store float %105, ptr %109, align 4, !tbaa !24
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %110 = load i32, ptr %56, align 4, !tbaa !23
  %111 = sext i32 %110 to i64
  %112 = icmp slt i64 %indvars.iv.next100, %111
  br i1 %112, label %94, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %99, %.preheader
  %113 = getelementptr inbounds i8, ptr %48, i64 408
  %114 = load float, ptr %113, align 4, !tbaa !28
  %115 = fneg float %114
  %116 = getelementptr inbounds i8, ptr %46, i64 408
  store float %115, ptr %116, align 4, !tbaa !28
  %117 = load i32, ptr %14, align 8, !tbaa !16
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %14, align 8, !tbaa !16
  br label %119

119:                                              ; preds = %20, %._crit_edge
  %120 = phi i32 [ %21, %20 ], [ %118, %._crit_edge ]
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %121 = sext i32 %120 to i64
  %122 = icmp slt i64 %indvars.iv.next103, %121
  br i1 %122, label %20, label %.loopexit.loopexit, !llvm.loop !29

.loopexit.loopexit:                               ; preds = %119
  %.pre108 = load i32, ptr %4, align 8, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.preheader82, %8
  %123 = phi i32 [ %.pre108, %.loopexit.loopexit ], [ %9, %.preheader82 ], [ %9, %8 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %124 = sext i32 %123 to i64
  %125 = icmp slt i64 %indvars.iv.next106, %124
  br i1 %125, label %8, label %._crit_edge93, !llvm.loop !30

._crit_edge93:                                    ; preds = %.loopexit, %.preheader83
  %126 = getelementptr inbounds i8, ptr %.096, i64 256
  %.0 = load ptr, ptr %126, align 8, !tbaa !5
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %._crit_edge97, label %.preheader83, !llvm.loop !31

._crit_edge97:                                    ; preds = %._crit_edge93, %1
  ret void
}

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !11, i64 248}
!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 240}
!13 = !{!14, !7, i64 172}
!14 = !{!"_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, !15, i64 176}
!15 = !{!"float", !7, i64 0}
!16 = !{!14, !11, i64 168}
!17 = !{!14, !6, i64 152}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !6, i64 144}
!20 = !{!14, !6, i64 160}
!21 = !{!22, !11, i64 200}
!22 = !{!"_LnfExpNode", !7, i64 0, !7, i64 100, !11, i64 200, !7, i64 204, !7, i64 304, !11, i64 404, !15, i64 408}
!23 = !{!22, !11, i64 404}
!24 = !{!15, !15, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!22, !15, i64 408}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}
!31 = distinct !{!31, !26}


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