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

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

@.str.105 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [45 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

declare ptr @new_WffNode(i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @NOTs_down_in_wff(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct._WffNode, ptr %7, i32 0, i32 0
  %9 = load i32, ptr %8, align 8, !tbaa !9
  switch i32 %9, label %363 [
    i32 2008, label %10
    i32 2009, label %10
    i32 2006, label %12
    i32 2007, label %12
    i32 2005, label %26
    i32 2003, label %362
    i32 2002, label %362
    i32 2000, label %362
    i32 2001, label %362
  ]

10:                                               ; preds = %1, %1
  %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.105)
  call void @exit(i32 noundef 1) #6
  unreachable

12:                                               ; preds = %1, %1
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct._WffNode, ptr %14, i32 0, i32 4
  %16 = load ptr, ptr %15, align 8, !tbaa !12
  store ptr %16, ptr %5, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %21, %12
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %25

20:                                               ; preds = %17
  call void @NOTs_down_in_wff(ptr noundef %5)
  br label %21

21:                                               ; preds = %20
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct._WffNode, ptr %22, i32 0, i32 5
  %24 = load ptr, ptr %23, align 8, !tbaa !13
  store ptr %24, ptr %5, align 8, !tbaa !5
  br label %17, !llvm.loop !14

25:                                               ; preds = %17
  br label %369

26:                                               ; preds = %1
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._WffNode, ptr %28, i32 0, i32 9
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = getelementptr inbounds %struct._WffNode, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = icmp eq i32 %32, 2005
  br i1 %33, label %34, label %125

34:                                               ; preds = %26
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._WffNode, ptr %36, i32 0, i32 9
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  %39 = getelementptr inbounds %struct._WffNode, ptr %38, i32 0, i32 9
  %40 = load ptr, ptr %39, align 8, !tbaa !16
  %41 = getelementptr inbounds %struct._WffNode, ptr %40, i32 0, i32 0
  %42 = load i32, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct._WffNode, ptr %44, i32 0, i32 0
  store i32 %42, ptr %45, align 8, !tbaa !9
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._WffNode, ptr %47, i32 0, i32 9
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = getelementptr inbounds %struct._WffNode, ptr %49, i32 0, i32 9
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = getelementptr inbounds %struct._WffNode, ptr %51, i32 0, i32 7
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct._WffNode, ptr %55, i32 0, i32 7
  store ptr %53, ptr %56, align 8, !tbaa !17
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct._WffNode, ptr %58, i32 0, i32 9
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = getelementptr inbounds %struct._WffNode, ptr %60, i32 0, i32 9
  %62 = load ptr, ptr %61, align 8, !tbaa !16
  %63 = getelementptr inbounds %struct._WffNode, ptr %62, i32 0, i32 10
  %64 = load i32, ptr %63, align 8, !tbaa !18
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct._WffNode, ptr %66, i32 0, i32 10
  store i32 %64, ptr %67, align 8, !tbaa !18
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct._WffNode, ptr %69, i32 0, i32 9
  %71 = load ptr, ptr %70, align 8, !tbaa !16
  %72 = getelementptr inbounds %struct._WffNode, ptr %71, i32 0, i32 9
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = getelementptr inbounds %struct._WffNode, ptr %73, i32 0, i32 11
  %75 = load ptr, ptr %74, align 8, !tbaa !19
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct._WffNode, ptr %77, i32 0, i32 11
  store ptr %75, ptr %78, align 8, !tbaa !19
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct._WffNode, ptr %80, i32 0, i32 9
  %82 = load ptr, ptr %81, align 8, !tbaa !16
  %83 = getelementptr inbounds %struct._WffNode, ptr %82, i32 0, i32 9
  %84 = load ptr, ptr %83, align 8, !tbaa !16
  %85 = getelementptr inbounds %struct._WffNode, ptr %84, i32 0, i32 12
  %86 = load ptr, ptr %85, align 8, !tbaa !20
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct._WffNode, ptr %88, i32 0, i32 12
  store ptr %86, ptr %89, align 8, !tbaa !20
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct._WffNode, ptr %91, i32 0, i32 9
  %93 = load ptr, ptr %92, align 8, !tbaa !16
  store ptr %93, ptr %3, align 8, !tbaa !5
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct._WffNode, ptr %95, i32 0, i32 9
  %97 = load ptr, ptr %96, align 8, !tbaa !16
  %98 = getelementptr inbounds %struct._WffNode, ptr %97, i32 0, i32 9
  %99 = load ptr, ptr %98, align 8, !tbaa !16
  store ptr %99, ptr %4, align 8, !tbaa !5
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct._WffNode, ptr %101, i32 0, i32 9
  %103 = load ptr, ptr %102, align 8, !tbaa !16
  %104 = getelementptr inbounds %struct._WffNode, ptr %103, i32 0, i32 9
  %105 = load ptr, ptr %104, align 8, !tbaa !16
  %106 = getelementptr inbounds %struct._WffNode, ptr %105, i32 0, i32 4
  %107 = load ptr, ptr %106, align 8, !tbaa !12
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct._WffNode, ptr %109, i32 0, i32 4
  store ptr %107, ptr %110, align 8, !tbaa !12
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._WffNode, ptr %112, i32 0, i32 9
  %114 = load ptr, ptr %113, align 8, !tbaa !16
  %115 = getelementptr inbounds %struct._WffNode, ptr %114, i32 0, i32 9
  %116 = load ptr, ptr %115, align 8, !tbaa !16
  %117 = getelementptr inbounds %struct._WffNode, ptr %116, i32 0, i32 9
  %118 = load ptr, ptr %117, align 8, !tbaa !16
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._WffNode, ptr %120, i32 0, i32 9
  store ptr %118, ptr %121, align 8, !tbaa !16
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %122) #5
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %123) #5
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  call void @NOTs_down_in_wff(ptr noundef %124)
  br label %369

125:                                              ; preds = %26
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct._WffNode, ptr %127, i32 0, i32 9
  %129 = load ptr, ptr %128, align 8, !tbaa !16
  %130 = getelementptr inbounds %struct._WffNode, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 8, !tbaa !9
  %132 = icmp eq i32 %131, 2006
  br i1 %132, label %141, label %133

133:                                              ; preds = %125
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct._WffNode, ptr %135, i32 0, i32 9
  %137 = load ptr, ptr %136, align 8, !tbaa !16
  %138 = getelementptr inbounds %struct._WffNode, ptr %137, i32 0, i32 0
  %139 = load i32, ptr %138, align 8, !tbaa !9
  %140 = icmp eq i32 %139, 2007
  br i1 %140, label %141, label %232

141:                                              ; preds = %133, %125
  %142 = load ptr, ptr %2, align 8, !tbaa !5
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct._WffNode, ptr %143, i32 0, i32 9
  %145 = load ptr, ptr %144, align 8, !tbaa !16
  %146 = getelementptr inbounds %struct._WffNode, ptr %145, i32 0, i32 0
  %147 = load i32, ptr %146, align 8, !tbaa !9
  %148 = icmp eq i32 %147, 2006
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, i32 2007, i32 2006
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct._WffNode, ptr %152, i32 0, i32 0
  store i32 %150, ptr %153, align 8, !tbaa !9
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct._WffNode, ptr %155, i32 0, i32 9
  %157 = load ptr, ptr %156, align 8, !tbaa !16
  %158 = getelementptr inbounds %struct._WffNode, ptr %157, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !12
  %160 = load ptr, ptr %2, align 8, !tbaa !5
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct._WffNode, ptr %161, i32 0, i32 4
  store ptr %159, ptr %162, align 8, !tbaa !12
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = load ptr, ptr %163, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct._WffNode, ptr %164, i32 0, i32 9
  %166 = load ptr, ptr %165, align 8, !tbaa !16
  call void @free(ptr noundef %166) #5
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = load ptr, ptr %167, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct._WffNode, ptr %168, i32 0, i32 9
  store ptr null, ptr %169, align 8, !tbaa !16
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = load ptr, ptr %170, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct._WffNode, ptr %171, i32 0, i32 4
  %173 = load ptr, ptr %172, align 8, !tbaa !12
  store ptr %173, ptr %5, align 8, !tbaa !5
  br label %174

174:                                              ; preds = %227, %141
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = icmp ne ptr %175, null
  br i1 %176, label %177, label %231

177:                                              ; preds = %174
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct._WffNode, ptr %178, i32 0, i32 0
  %180 = load i32, ptr %179, align 8, !tbaa !9
  %181 = call ptr @new_WffNode(i32 noundef %180)
  store ptr %181, ptr %3, align 8, !tbaa !5
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct._WffNode, ptr %182, i32 0, i32 9
  %184 = load ptr, ptr %183, align 8, !tbaa !16
  %185 = load ptr, ptr %3, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct._WffNode, ptr %185, i32 0, i32 9
  store ptr %184, ptr %186, align 8, !tbaa !16
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct._WffNode, ptr %187, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !12
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct._WffNode, ptr %190, i32 0, i32 4
  store ptr %189, ptr %191, align 8, !tbaa !12
  %192 = load ptr, ptr %5, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct._WffNode, ptr %192, i32 0, i32 7
  %194 = load ptr, ptr %193, align 8, !tbaa !17
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct._WffNode, ptr %195, i32 0, i32 7
  store ptr %194, ptr %196, align 8, !tbaa !17
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct._WffNode, ptr %197, i32 0, i32 10
  %199 = load i32, ptr %198, align 8, !tbaa !18
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct._WffNode, ptr %200, i32 0, i32 10
  store i32 %199, ptr %201, align 8, !tbaa !18
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct._WffNode, ptr %202, i32 0, i32 11
  %204 = load ptr, ptr %203, align 8, !tbaa !19
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct._WffNode, ptr %205, i32 0, i32 11
  store ptr %204, ptr %206, align 8, !tbaa !19
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct._WffNode, ptr %207, i32 0, i32 12
  %209 = load ptr, ptr %208, align 8, !tbaa !20
  %210 = load ptr, ptr %3, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct._WffNode, ptr %210, i32 0, i32 12
  store ptr %209, ptr %211, align 8, !tbaa !20
  %212 = load ptr, ptr %5, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct._WffNode, ptr %212, i32 0, i32 0
  store i32 2005, ptr %213, align 8, !tbaa !9
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct._WffNode, ptr %215, i32 0, i32 9
  store ptr %214, ptr %216, align 8, !tbaa !16
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct._WffNode, ptr %217, i32 0, i32 4
  store ptr null, ptr %218, align 8, !tbaa !12
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct._WffNode, ptr %219, i32 0, i32 7
  store ptr null, ptr %220, align 8, !tbaa !17
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct._WffNode, ptr %221, i32 0, i32 10
  store i32 -1, ptr %222, align 8, !tbaa !18
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct._WffNode, ptr %223, i32 0, i32 11
  store ptr null, ptr %224, align 8, !tbaa !19
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct._WffNode, ptr %225, i32 0, i32 12
  store ptr null, ptr %226, align 8, !tbaa !20
  call void @NOTs_down_in_wff(ptr noundef %5)
  br label %227

227:                                              ; preds = %177
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct._WffNode, ptr %228, i32 0, i32 5
  %230 = load ptr, ptr %229, align 8, !tbaa !13
  store ptr %230, ptr %5, align 8, !tbaa !5
  br label %174, !llvm.loop !21

231:                                              ; preds = %174
  br label %369

232:                                              ; preds = %133
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = load ptr, ptr %233, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct._WffNode, ptr %234, i32 0, i32 9
  %236 = load ptr, ptr %235, align 8, !tbaa !16
  %237 = getelementptr inbounds %struct._WffNode, ptr %236, i32 0, i32 0
  %238 = load i32, ptr %237, align 8, !tbaa !9
  %239 = icmp eq i32 %238, 2003
  br i1 %239, label %240, label %361

240:                                              ; preds = %232
  %241 = load ptr, ptr %2, align 8, !tbaa !5
  %242 = load ptr, ptr %241, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct._WffNode, ptr %242, i32 0, i32 9
  %244 = load ptr, ptr %243, align 8, !tbaa !16
  %245 = getelementptr inbounds %struct._WffNode, ptr %244, i32 0, i32 10
  %246 = load i32, ptr %245, align 8, !tbaa !18
  %247 = icmp ne i32 %246, 3003
  br i1 %247, label %248, label %308

248:                                              ; preds = %240
  %249 = load ptr, ptr %2, align 8, !tbaa !5
  %250 = load ptr, ptr %249, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct._WffNode, ptr %250, i32 0, i32 0
  store i32 2003, ptr %251, align 8, !tbaa !9
  %252 = load ptr, ptr %2, align 8, !tbaa !5
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct._WffNode, ptr %253, i32 0, i32 9
  %255 = load ptr, ptr %254, align 8, !tbaa !16
  %256 = getelementptr inbounds %struct._WffNode, ptr %255, i32 0, i32 11
  %257 = load ptr, ptr %256, align 8, !tbaa !19
  %258 = load ptr, ptr %2, align 8, !tbaa !5
  %259 = load ptr, ptr %258, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct._WffNode, ptr %259, i32 0, i32 11
  store ptr %257, ptr %260, align 8, !tbaa !19
  %261 = load ptr, ptr %2, align 8, !tbaa !5
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct._WffNode, ptr %262, i32 0, i32 9
  %264 = load ptr, ptr %263, align 8, !tbaa !16
  %265 = getelementptr inbounds %struct._WffNode, ptr %264, i32 0, i32 12
  %266 = load ptr, ptr %265, align 8, !tbaa !20
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = load ptr, ptr %267, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct._WffNode, ptr %268, i32 0, i32 12
  store ptr %266, ptr %269, align 8, !tbaa !20
  %270 = load ptr, ptr %2, align 8, !tbaa !5
  %271 = load ptr, ptr %270, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct._WffNode, ptr %271, i32 0, i32 9
  %273 = load ptr, ptr %272, align 8, !tbaa !16
  %274 = getelementptr inbounds %struct._WffNode, ptr %273, i32 0, i32 10
  %275 = load i32, ptr %274, align 8, !tbaa !18
  switch i32 %275, label %292 [
    i32 3001, label %276
    i32 3002, label %280
    i32 3004, label %284
    i32 3005, label %288
  ]

276:                                              ; preds = %248
  %277 = load ptr, ptr %2, align 8, !tbaa !5
  %278 = load ptr, ptr %277, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct._WffNode, ptr %278, i32 0, i32 10
  store i32 3004, ptr %279, align 8, !tbaa !18
  br label %300

280:                                              ; preds = %248
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = load ptr, ptr %281, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct._WffNode, ptr %282, i32 0, i32 10
  store i32 3005, ptr %283, align 8, !tbaa !18
  br label %300

284:                                              ; preds = %248
  %285 = load ptr, ptr %2, align 8, !tbaa !5
  %286 = load ptr, ptr %285, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct._WffNode, ptr %286, i32 0, i32 10
  store i32 3001, ptr %287, align 8, !tbaa !18
  br label %300

288:                                              ; preds = %248
  %289 = load ptr, ptr %2, align 8, !tbaa !5
  %290 = load ptr, ptr %289, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct._WffNode, ptr %290, i32 0, i32 10
  store i32 3002, ptr %291, align 8, !tbaa !18
  br label %300

292:                                              ; preds = %248
  %293 = load ptr, ptr %2, align 8, !tbaa !5
  %294 = load ptr, ptr %293, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct._WffNode, ptr %294, i32 0, i32 9
  %296 = load ptr, ptr %295, align 8, !tbaa !16
  %297 = getelementptr inbounds %struct._WffNode, ptr %296, i32 0, i32 10
  %298 = load i32, ptr %297, align 8, !tbaa !18
  %299 = call i32 (ptr, ...) @printf(ptr noundef @.str.106, i32 noundef %298)
  call void @exit(i32 noundef 1) #6
  unreachable

300:                                              ; preds = %288, %284, %280, %276
  %301 = load ptr, ptr %2, align 8, !tbaa !5
  %302 = load ptr, ptr %301, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct._WffNode, ptr %302, i32 0, i32 9
  %304 = load ptr, ptr %303, align 8, !tbaa !16
  call void @free(ptr noundef %304) #5
  %305 = load ptr, ptr %2, align 8, !tbaa !5
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct._WffNode, ptr %306, i32 0, i32 9
  store ptr null, ptr %307, align 8, !tbaa !16
  br label %360

308:                                              ; preds = %240
  %309 = load ptr, ptr %2, align 8, !tbaa !5
  %310 = load ptr, ptr %309, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct._WffNode, ptr %310, i32 0, i32 0
  store i32 2007, ptr %311, align 8, !tbaa !9
  %312 = load ptr, ptr %2, align 8, !tbaa !5
  %313 = load ptr, ptr %312, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct._WffNode, ptr %313, i32 0, i32 9
  %315 = load ptr, ptr %314, align 8, !tbaa !16
  %316 = load ptr, ptr %2, align 8, !tbaa !5
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct._WffNode, ptr %317, i32 0, i32 4
  store ptr %315, ptr %318, align 8, !tbaa !12
  %319 = load ptr, ptr %2, align 8, !tbaa !5
  %320 = load ptr, ptr %319, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct._WffNode, ptr %320, i32 0, i32 9
  store ptr null, ptr %321, align 8, !tbaa !16
  %322 = load ptr, ptr %2, align 8, !tbaa !5
  %323 = load ptr, ptr %322, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct._WffNode, ptr %323, i32 0, i32 4
  %325 = load ptr, ptr %324, align 8, !tbaa !12
  %326 = getelementptr inbounds %struct._WffNode, ptr %325, i32 0, i32 10
  store i32 3001, ptr %326, align 8, !tbaa !18
  %327 = call ptr @new_WffNode(i32 noundef 2003)
  store ptr %327, ptr %3, align 8, !tbaa !5
  %328 = load ptr, ptr %2, align 8, !tbaa !5
  %329 = load ptr, ptr %328, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct._WffNode, ptr %329, i32 0, i32 4
  %331 = load ptr, ptr %330, align 8, !tbaa !12
  %332 = getelementptr inbounds %struct._WffNode, ptr %331, i32 0, i32 11
  %333 = load ptr, ptr %332, align 8, !tbaa !19
  %334 = call ptr @copy_Exp(ptr noundef %333)
  %335 = load ptr, ptr %3, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct._WffNode, ptr %335, i32 0, i32 11
  store ptr %334, ptr %336, align 8, !tbaa !19
  %337 = load ptr, ptr %2, align 8, !tbaa !5
  %338 = load ptr, ptr %337, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct._WffNode, ptr %338, i32 0, i32 4
  %340 = load ptr, ptr %339, align 8, !tbaa !12
  %341 = getelementptr inbounds %struct._WffNode, ptr %340, i32 0, i32 12
  %342 = load ptr, ptr %341, align 8, !tbaa !20
  %343 = call ptr @copy_Exp(ptr noundef %342)
  %344 = load ptr, ptr %3, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct._WffNode, ptr %344, i32 0, i32 12
  store ptr %343, ptr %345, align 8, !tbaa !20
  %346 = load ptr, ptr %3, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct._WffNode, ptr %346, i32 0, i32 10
  store i32 3005, ptr %347, align 8, !tbaa !18
  %348 = load ptr, ptr %2, align 8, !tbaa !5
  %349 = load ptr, ptr %348, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct._WffNode, ptr %349, i32 0, i32 4
  %351 = load ptr, ptr %350, align 8, !tbaa !12
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct._WffNode, ptr %352, i32 0, i32 6
  store ptr %351, ptr %353, align 8, !tbaa !22
  %354 = load ptr, ptr %3, align 8, !tbaa !5
  %355 = load ptr, ptr %2, align 8, !tbaa !5
  %356 = load ptr, ptr %355, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct._WffNode, ptr %356, i32 0, i32 4
  %358 = load ptr, ptr %357, align 8, !tbaa !12
  %359 = getelementptr inbounds %struct._WffNode, ptr %358, i32 0, i32 5
  store ptr %354, ptr %359, align 8, !tbaa !13
  br label %360

360:                                              ; preds = %308, %300
  br label %361

361:                                              ; preds = %360, %232
  br label %369

362:                                              ; preds = %1, %1, %1, %1
  br label %369

363:                                              ; preds = %1
  %364 = load ptr, ptr %2, align 8, !tbaa !5
  %365 = load ptr, ptr %364, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct._WffNode, ptr %365, i32 0, i32 0
  %367 = load i32, ptr %366, align 8, !tbaa !9
  %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.107, i32 noundef %367)
  call void @exit(i32 noundef 1) #6
  unreachable

369:                                              ; preds = %362, %361, %231, %34, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @copy_Exp(ptr 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 "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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_WffNode", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !7, i64 96}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !6, i64 24}
!13 = !{!10, !6, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !6, i64 64}
!17 = !{!10, !6, i64 48}
!18 = !{!10, !11, i64 72}
!19 = !{!10, !6, i64 80}
!20 = !{!10, !6, i64 88}
!21 = distinct !{!21, !15}
!22 = !{!10, !6, i64 40}


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

@.str.105 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [45 x i8], align 1
@switch.table.NOTs_down_in_wff = private unnamed_addr constant [5 x i32] [i32 3004, i32 3005, i32 3004, i32 3001, i32 3002], align 4

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

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

; Function Attrs: mustprogress 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) local_unnamed_addr #2

declare ptr @new_WffNode(i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @NOTs_down_in_wff(ptr nocapture noundef readonly %0) local_unnamed_addr #4 {
  %2 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = load i32, ptr %3, align 8, !tbaa !9
  switch i32 %4, label %143 [
    i32 2008, label %5
    i32 2009, label %5
    i32 2006, label %7
    i32 2007, label %7
    i32 2005, label %10
    i32 2003, label %.loopexit
    i32 2002, label %.loopexit
    i32 2000, label %.loopexit
    i32 2001, label %.loopexit
  ]

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

7:                                                ; preds = %1, %1
  %8 = getelementptr inbounds i8, ptr %3, i64 24
  %storemerge7076 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %storemerge7076, ptr %2, align 8, !tbaa !5
  %.not7177 = icmp eq ptr %storemerge7076, null
  br i1 %.not7177, label %.loopexit, label %.lr.ph79

.lr.ph79:                                         ; preds = %7, %.lr.ph79
  %storemerge7078 = phi ptr [ %storemerge70, %.lr.ph79 ], [ %storemerge7076, %7 ]
  call void @NOTs_down_in_wff(ptr noundef nonnull %2)
  %9 = getelementptr inbounds i8, ptr %storemerge7078, i64 32
  %storemerge70 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %storemerge70, ptr %2, align 8, !tbaa !5
  %.not71 = icmp eq ptr %storemerge70, null
  br i1 %.not71, label %.loopexit, label %.lr.ph79, !llvm.loop !12

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %3, i64 64
  %12 = load ptr, ptr %11, align 8, !tbaa !14
  %13 = load i32, ptr %12, align 8, !tbaa !9
  switch i32 %13, label %.loopexit [
    i32 2005, label %14
    i32 2006, label %55
    i32 2007, label %55
    i32 2003, label %86
  ]

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %12, i64 64
  %16 = load ptr, ptr %15, align 8, !tbaa !14
  %17 = load i32, ptr %16, align 8, !tbaa !9
  store i32 %17, ptr %3, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %16, i64 48
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr %19, ptr %20, align 8, !tbaa !15
  %21 = load ptr, ptr %0, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 64
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %23, i64 64
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %25, i64 72
  %27 = load i32, ptr %26, align 8, !tbaa !16
  %28 = getelementptr inbounds i8, ptr %21, i64 72
  store i32 %27, ptr %28, align 8, !tbaa !16
  %29 = getelementptr inbounds i8, ptr %25, i64 80
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %21, i64 80
  store ptr %30, ptr %31, align 8, !tbaa !17
  %32 = load ptr, ptr %0, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 64
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = getelementptr inbounds i8, ptr %34, i64 64
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %36, i64 88
  %38 = load ptr, ptr %37, align 8, !tbaa !18
  %39 = getelementptr inbounds i8, ptr %32, i64 88
  store ptr %38, ptr %39, align 8, !tbaa !18
  %40 = load ptr, ptr %0, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 64
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  %43 = getelementptr inbounds i8, ptr %42, i64 64
  %44 = load ptr, ptr %43, align 8, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %44, i64 24
  %46 = load ptr, ptr %45, align 8, !tbaa !19
  %47 = getelementptr inbounds i8, ptr %40, i64 24
  store ptr %46, ptr %47, align 8, !tbaa !19
  %48 = load ptr, ptr %0, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 64
  %50 = load ptr, ptr %49, align 8, !tbaa !14
  %51 = getelementptr inbounds i8, ptr %50, i64 64
  %52 = load ptr, ptr %51, align 8, !tbaa !14
  %53 = getelementptr inbounds i8, ptr %52, i64 64
  %54 = load ptr, ptr %53, align 8, !tbaa !14
  store ptr %54, ptr %49, align 8, !tbaa !14
  tail call void @free(ptr noundef %42) #7
  tail call void @free(ptr noundef %44) #7
  tail call void @NOTs_down_in_wff(ptr noundef nonnull %0)
  br label %.loopexit

55:                                               ; preds = %10, %10
  %56 = icmp eq i32 %13, 2006
  %57 = select i1 %56, i32 2007, i32 2006
  store i32 %57, ptr %3, align 8, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %12, i64 24
  %59 = load ptr, ptr %58, align 8, !tbaa !19
  %60 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr %59, ptr %60, align 8, !tbaa !19
  %61 = load ptr, ptr %0, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 64
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  tail call void @free(ptr noundef %63) #7
  %64 = load ptr, ptr %0, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 64
  store ptr null, ptr %65, align 8, !tbaa !14
  %66 = load ptr, ptr %0, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 24
  %storemerge73 = load ptr, ptr %67, align 8, !tbaa !5
  store ptr %storemerge73, ptr %2, align 8, !tbaa !5
  %.not6974 = icmp eq ptr %storemerge73, null
  br i1 %.not6974, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %55, %.lr.ph
  %storemerge75 = phi ptr [ %storemerge, %.lr.ph ], [ %storemerge73, %55 ]
  %68 = load i32, ptr %storemerge75, align 8, !tbaa !9
  %69 = tail call ptr @new_WffNode(i32 noundef %68) #7
  %70 = getelementptr inbounds i8, ptr %storemerge75, i64 64
  %71 = load ptr, ptr %70, align 8, !tbaa !14
  %72 = getelementptr inbounds i8, ptr %69, i64 64
  store ptr %71, ptr %72, align 8, !tbaa !14
  %73 = getelementptr inbounds i8, ptr %storemerge75, i64 24
  %74 = load ptr, ptr %73, align 8, !tbaa !19
  %75 = getelementptr inbounds i8, ptr %69, i64 24
  store ptr %74, ptr %75, align 8, !tbaa !19
  %76 = getelementptr inbounds i8, ptr %storemerge75, i64 48
  %77 = load ptr, ptr %76, align 8, !tbaa !15
  %78 = getelementptr inbounds i8, ptr %69, i64 48
  store ptr %77, ptr %78, align 8, !tbaa !15
  %79 = getelementptr inbounds i8, ptr %storemerge75, i64 72
  %80 = load i32, ptr %79, align 8, !tbaa !16
  %81 = getelementptr inbounds i8, ptr %69, i64 72
  store i32 %80, ptr %81, align 8, !tbaa !16
  %82 = getelementptr inbounds i8, ptr %storemerge75, i64 80
  %83 = getelementptr inbounds i8, ptr %69, i64 80
  %84 = load <2 x ptr>, ptr %82, align 8, !tbaa !5
  store <2 x ptr> %84, ptr %83, align 8, !tbaa !5
  store i32 2005, ptr %storemerge75, align 8, !tbaa !9
  store ptr %69, ptr %70, align 8, !tbaa !14
  store ptr null, ptr %73, align 8, !tbaa !19
  store ptr null, ptr %76, align 8, !tbaa !15
  store i32 -1, ptr %79, align 8, !tbaa !16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %82, i8 0, i64 16, i1 false)
  call void @NOTs_down_in_wff(ptr noundef nonnull %2)
  %85 = getelementptr inbounds i8, ptr %storemerge75, i64 32
  %storemerge = load ptr, ptr %85, align 8, !tbaa !5
  store ptr %storemerge, ptr %2, align 8, !tbaa !5
  %.not69 = icmp eq ptr %storemerge, null
  br i1 %.not69, label %.loopexit, label %.lr.ph, !llvm.loop !20

86:                                               ; preds = %10
  %87 = getelementptr inbounds i8, ptr %12, i64 72
  %88 = load i32, ptr %87, align 8, !tbaa !16
  %.not = icmp eq i32 %88, 3003
  br i1 %.not, label %111, label %89

89:                                               ; preds = %86
  store i32 2003, ptr %3, align 8, !tbaa !9
  %90 = getelementptr inbounds i8, ptr %12, i64 80
  %91 = load ptr, ptr %90, align 8, !tbaa !17
  %92 = getelementptr inbounds i8, ptr %3, i64 80
  store ptr %91, ptr %92, align 8, !tbaa !17
  %93 = load ptr, ptr %0, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 64
  %95 = load ptr, ptr %94, align 8, !tbaa !14
  %96 = getelementptr inbounds i8, ptr %95, i64 88
  %97 = load ptr, ptr %96, align 8, !tbaa !18
  %98 = getelementptr inbounds i8, ptr %93, i64 88
  store ptr %97, ptr %98, align 8, !tbaa !18
  %99 = load ptr, ptr %0, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %99, i64 64
  %101 = load ptr, ptr %100, align 8, !tbaa !14
  %102 = getelementptr inbounds i8, ptr %101, i64 72
  %103 = load i32, ptr %102, align 8, !tbaa !16
  %switch.tableidx = add i32 %103, -3001
  %104 = icmp ult i32 %switch.tableidx, 5
  br i1 %104, label %switch.hole_check, label %105

105:                                              ; preds = %switch.hole_check, %89
  %106 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.106, i32 noundef %103)
  tail call void @exit(i32 noundef 1) #8
  unreachable

switch.hole_check:                                ; preds = %89
  %switch.maskindex = trunc nuw i32 %switch.tableidx to i8
  %switch.shifted = lshr i8 27, %switch.maskindex
  %switch.lobit = trunc i8 %switch.shifted to i1
  br i1 %switch.lobit, label %switch.lookup, label %105

switch.lookup:                                    ; preds = %switch.hole_check
  %107 = zext nneg i32 %switch.tableidx to i64
  %switch.gep = getelementptr inbounds [5 x i32], ptr @switch.table.NOTs_down_in_wff, i64 0, i64 %107
  %switch.load = load i32, ptr %switch.gep, align 4
  %108 = getelementptr inbounds i8, ptr %99, i64 72
  store i32 %switch.load, ptr %108, align 8, !tbaa !16
  tail call void @free(ptr noundef nonnull %101) #7
  %109 = load ptr, ptr %0, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 64
  store ptr null, ptr %110, align 8, !tbaa !14
  br label %.loopexit

111:                                              ; preds = %86
  store i32 2007, ptr %3, align 8, !tbaa !9
  %112 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr %12, ptr %112, align 8, !tbaa !19
  %113 = load ptr, ptr %0, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 64
  store ptr null, ptr %114, align 8, !tbaa !14
  %115 = load ptr, ptr %0, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %115, i64 24
  %117 = load ptr, ptr %116, align 8, !tbaa !19
  %118 = getelementptr inbounds i8, ptr %117, i64 72
  store i32 3001, ptr %118, align 8, !tbaa !16
  %119 = tail call ptr @new_WffNode(i32 noundef 2003) #7
  %120 = load ptr, ptr %0, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 24
  %122 = load ptr, ptr %121, align 8, !tbaa !19
  %123 = getelementptr inbounds i8, ptr %122, i64 80
  %124 = load ptr, ptr %123, align 8, !tbaa !17
  %125 = tail call ptr @copy_Exp(ptr noundef %124)
  %126 = getelementptr inbounds i8, ptr %119, i64 80
  store ptr %125, ptr %126, align 8, !tbaa !17
  %127 = load ptr, ptr %0, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %127, i64 24
  %129 = load ptr, ptr %128, align 8, !tbaa !19
  %130 = getelementptr inbounds i8, ptr %129, i64 88
  %131 = load ptr, ptr %130, align 8, !tbaa !18
  %132 = tail call ptr @copy_Exp(ptr noundef %131)
  %133 = getelementptr inbounds i8, ptr %119, i64 88
  store ptr %132, ptr %133, align 8, !tbaa !18
  %134 = getelementptr inbounds i8, ptr %119, i64 72
  store i32 3005, ptr %134, align 8, !tbaa !16
  %135 = load ptr, ptr %0, align 8, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %135, i64 24
  %137 = load ptr, ptr %136, align 8, !tbaa !19
  %138 = getelementptr inbounds i8, ptr %119, i64 40
  store ptr %137, ptr %138, align 8, !tbaa !21
  %139 = load ptr, ptr %0, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 24
  %141 = load ptr, ptr %140, align 8, !tbaa !19
  %142 = getelementptr inbounds i8, ptr %141, i64 32
  store ptr %119, ptr %142, align 8, !tbaa !22
  br label %.loopexit

143:                                              ; preds = %1
  %144 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.107, i32 noundef %4)
  tail call void @exit(i32 noundef 1) #8
  unreachable

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph79, %55, %7, %10, %1, %1, %1, %1, %111, %switch.lookup, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  ret void
}

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local ptr @copy_Exp(ptr noundef) local_unnamed_addr #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { "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 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 #5 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_WffNode", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !7, i64 96}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !6, i64 64}
!15 = !{!10, !6, i64 48}
!16 = !{!10, !11, i64 72}
!17 = !{!10, !6, i64 80}
!18 = !{!10, !6, i64 88}
!19 = !{!10, !6, i64 24}
!20 = distinct !{!20, !13}
!21 = !{!10, !6, i64 40}
!22 = !{!10, !6, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass