; 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._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }
%struct._Fact = type { i32, [5 x i32] }
%struct._Facts = type { ptr, ptr }
%struct._FluentValue = type { %struct._Fluent, float }
%struct._Fluent = type { i32, [5 x i32] }
%struct._FluentValues = type { %struct._Fluent, float, ptr }

@gcmd_line = external global %struct._command_line, align 4
@gnum_types = external global i32, align 4
@gtype_names = external global [50 x ptr], align 16
@gtype_size = external global [50 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@gtype_consts = external global [50 x [2000 x i32]], align 16
@gnum_predicates = external global i32, align 4
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@gpredicates = external global [50 x ptr], align 16
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@gnum_functions = external global i32, align 4
@gfunctions = external global [50 x ptr], align 16
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [11 x i8], align 1
@gis_added = external global [50 x i8], align 16
@.str.66 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [10 x i8], align 1
@gis_deleted = external global [50 x i8], align 16
@.str.68 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@gis_changed = external global [50 x i8], align 16
@.str.72 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [13 x i8], align 1
@gnum_initial_predicate = external global ptr, align 8
@ginitial_predicate = external global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [19 x i8], align 1
@ginitial = external global ptr, align 8
@.str.79 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 x i8], align 1
@gpredicate_to_type = external global [50 x i32], align 16
@.str.81 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [23 x i8], align 1
@gnum_initial_function = external global ptr, align 8
@ginitial_function = external global ptr, align 8
@gf_initial = external global ptr, align 8

; 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

declare void @print_Fact(ptr noundef) #1

declare void @print_Fluent(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: nounwind uwtable
define dso_local void @do_inertia_preprocessing_step_1() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @collect_inertia_information()
  %5 = load i32, ptr getelementptr inbounds (%struct._command_line, ptr @gcmd_line, i32 0, i32 3), align 4, !tbaa !5
  %6 = icmp eq i32 %5, 105
  br i1 %6, label %7, label %67

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

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

13:                                               ; preds = %9
  %14 = load i32, ptr %1, align 4, !tbaa !11
  %15 = load i32, ptr %1, align 4, !tbaa !11
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %16
  %18 = load ptr, ptr %17, align 8, !tbaa !12
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %14, ptr noundef %18)
  %20 = load i32, ptr %1, align 4, !tbaa !11
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [50 x i8], ptr @gis_added, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !14
  %24 = zext i8 %23 to i32
  %25 = icmp ne i32 %24, 0
  %26 = zext i1 %25 to i64
  %27 = select i1 %25, ptr @.str.66, ptr @.str.67
  %28 = load i32, ptr %1, align 4, !tbaa !11
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [50 x i8], ptr @gis_deleted, i64 0, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !14
  %32 = zext i8 %31 to i32
  %33 = icmp ne i32 %32, 0
  %34 = zext i1 %33 to i64
  %35 = select i1 %33, ptr @.str.68, ptr @.str.69
  %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.65, ptr noundef %27, ptr noundef %35)
  br label %37

37:                                               ; preds = %13
  %38 = load i32, ptr %1, align 4, !tbaa !11
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %1, align 4, !tbaa !11
  br label %9, !llvm.loop !15

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

42:                                               ; preds = %62, %40
  %43 = load i32, ptr %1, align 4, !tbaa !11
  %44 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %65

46:                                               ; preds = %42
  %47 = load i32, ptr %1, align 4, !tbaa !11
  %48 = load i32, ptr %1, align 4, !tbaa !11
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [50 x ptr], ptr @gfunctions, i64 0, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !12
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %47, ptr noundef %51)
  %53 = load i32, ptr %1, align 4, !tbaa !11
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [50 x i8], ptr @gis_changed, i64 0, i64 %54
  %56 = load i8, ptr %55, align 1, !tbaa !14
  %57 = zext i8 %56 to i32
  %58 = icmp ne i32 %57, 0
  %59 = zext i1 %58 to i64
  %60 = select i1 %58, ptr @.str.72, ptr @.str.73
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.71, ptr noundef %60)
  br label %62

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

65:                                               ; preds = %42
  %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %67

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

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

73:                                               ; preds = %119, %70
  %74 = load i32, ptr %1, align 4, !tbaa !11
  %75 = load i32, ptr @gnum_predicates, align 4, !tbaa !11
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %77, label %122

77:                                               ; preds = %73
  %78 = load i32, ptr %1, align 4, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !12
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, ptr noundef %81)
  %83 = load i32, ptr %1, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [50 x i8], ptr @gis_added, i64 0, i64 %84
  %86 = load i8, ptr %85, align 1, !tbaa !14
  %87 = icmp ne i8 %86, 0
  br i1 %87, label %96, label %88

88:                                               ; preds = %77
  %89 = load i32, ptr %1, align 4, !tbaa !11
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [50 x i8], ptr @gis_deleted, i64 0, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !14
  %93 = icmp ne i8 %92, 0
  br i1 %93, label %96, label %94

94:                                               ; preds = %88
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.77)
  br label %96

96:                                               ; preds = %94, %88, %77
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %97

97:                                               ; preds = %115, %96
  %98 = load i32, ptr %2, align 4, !tbaa !11
  %99 = load ptr, ptr @gnum_initial_predicate, align 8, !tbaa !12
  %100 = load i32, ptr %1, align 4, !tbaa !11
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i32, ptr %99, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !11
  %104 = icmp slt i32 %98, %103
  br i1 %104, label %105, label %118

105:                                              ; preds = %97
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %107 = load ptr, ptr @ginitial_predicate, align 8, !tbaa !12
  %108 = load i32, ptr %1, align 4, !tbaa !11
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds ptr, ptr %107, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !12
  %112 = load i32, ptr %2, align 4, !tbaa !11
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds %struct._Fact, ptr %111, i64 %113
  call void @print_Fact(ptr noundef %114)
  br label %115

115:                                              ; preds = %105
  %116 = load i32, ptr %2, align 4, !tbaa !11
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %2, align 4, !tbaa !11
  br label %97, !llvm.loop !18

118:                                              ; preds = %97
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %1, align 4, !tbaa !11
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %1, align 4, !tbaa !11
  br label %73, !llvm.loop !19

122:                                              ; preds = %73
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.78)
  %124 = load ptr, ptr @ginitial, align 8, !tbaa !12
  store ptr %124, ptr %3, align 8, !tbaa !12
  br label %125

125:                                              ; preds = %133, %122
  %126 = load ptr, ptr %3, align 8, !tbaa !12
  %127 = icmp ne ptr %126, null
  br i1 %127, label %128, label %137

128:                                              ; preds = %125
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %130 = load ptr, ptr %3, align 8, !tbaa !12
  %131 = getelementptr inbounds %struct._Facts, ptr %130, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8, !tbaa !20
  call void @print_Fact(ptr noundef %132)
  br label %133

133:                                              ; preds = %128
  %134 = load ptr, ptr %3, align 8, !tbaa !12
  %135 = getelementptr inbounds %struct._Facts, ptr %134, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !22
  store ptr %136, ptr %3, align 8, !tbaa !12
  br label %125, !llvm.loop !23

137:                                              ; preds = %125
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.79)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %139

139:                                              ; preds = %187, %137
  %140 = load i32, ptr %1, align 4, !tbaa !11
  %141 = load i32, ptr @gnum_types, align 4, !tbaa !11
  %142 = icmp slt i32 %140, %141
  br i1 %142, label %143, label %190

143:                                              ; preds = %139
  %144 = load i32, ptr %1, align 4, !tbaa !11
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.80, i32 noundef %144)
  %146 = load i32, ptr %1, align 4, !tbaa !11
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [50 x i32], ptr @gpredicate_to_type, i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !11
  %150 = icmp eq i32 %149, -1
  br i1 %150, label %151, label %157

151:                                              ; preds = %143
  %152 = load i32, ptr %1, align 4, !tbaa !11
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [50 x ptr], ptr @gtype_names, i64 0, i64 %153
  %155 = load ptr, ptr %154, align 8, !tbaa !12
  %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %155)
  br label %166

157:                                              ; preds = %143
  %158 = load i32, ptr %1, align 4, !tbaa !11
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [50 x i32], ptr @gpredicate_to_type, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !11
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %162
  %164 = load ptr, ptr %163, align 8, !tbaa !12
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.81, ptr noundef %164)
  br label %166

166:                                              ; preds = %157, %151
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %167

167:                                              ; preds = %183, %166
  %168 = load i32, ptr %2, align 4, !tbaa !11
  %169 = load i32, ptr %1, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [50 x i32], ptr @gtype_size, i64 0, i64 %170
  %172 = load i32, ptr %171, align 4, !tbaa !11
  %173 = icmp slt i32 %168, %172
  br i1 %173, label %174, label %186

174:                                              ; preds = %167
  %175 = load i32, ptr %1, align 4, !tbaa !11
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [50 x [2000 x i32]], ptr @gtype_consts, i64 0, i64 %176
  %178 = load i32, ptr %2, align 4, !tbaa !11
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [2000 x i32], ptr %177, i64 0, i64 %179
  %181 = load i32, ptr %180, align 4, !tbaa !11
  %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %181)
  br label %183

183:                                              ; preds = %174
  %184 = load i32, ptr %2, align 4, !tbaa !11
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %2, align 4, !tbaa !11
  br label %167, !llvm.loop !24

186:                                              ; preds = %167
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %1, align 4, !tbaa !11
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %1, align 4, !tbaa !11
  br label %139, !llvm.loop !25

190:                                              ; preds = %139
  %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.82)
  store i32 0, ptr %1, align 4, !tbaa !11
  br label %192

192:                                              ; preds = %245, %190
  %193 = load i32, ptr %1, align 4, !tbaa !11
  %194 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %195 = icmp slt i32 %193, %194
  br i1 %195, label %196, label %248

196:                                              ; preds = %192
  %197 = load i32, ptr %1, align 4, !tbaa !11
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [50 x ptr], ptr @gfunctions, i64 0, i64 %198
  %200 = load ptr, ptr %199, align 8, !tbaa !12
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, ptr noundef %200)
  %202 = load i32, ptr %1, align 4, !tbaa !11
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [50 x i8], ptr @gis_changed, i64 0, i64 %203
  %205 = load i8, ptr %204, align 1, !tbaa !14
  %206 = icmp ne i8 %205, 0
  br i1 %206, label %209, label %207

207:                                              ; preds = %196
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.77)
  br label %209

209:                                              ; preds = %207, %196
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %210

210:                                              ; preds = %241, %209
  %211 = load i32, ptr %2, align 4, !tbaa !11
  %212 = load ptr, ptr @gnum_initial_function, align 8, !tbaa !12
  %213 = load i32, ptr %1, align 4, !tbaa !11
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds i32, ptr %212, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !11
  %217 = icmp slt i32 %211, %216
  br i1 %217, label %218, label %244

218:                                              ; preds = %210
  %219 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %220 = load ptr, ptr @ginitial_function, align 8, !tbaa !12
  %221 = load i32, ptr %1, align 4, !tbaa !11
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds ptr, ptr %220, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !12
  %225 = load i32, ptr %2, align 4, !tbaa !11
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds %struct._FluentValue, ptr %224, i64 %226
  %228 = getelementptr inbounds %struct._FluentValue, ptr %227, i32 0, i32 0
  call void @print_Fluent(ptr noundef %228)
  %229 = load ptr, ptr @ginitial_function, align 8, !tbaa !12
  %230 = load i32, ptr %1, align 4, !tbaa !11
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds ptr, ptr %229, i64 %231
  %233 = load ptr, ptr %232, align 8, !tbaa !12
  %234 = load i32, ptr %2, align 4, !tbaa !11
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds %struct._FluentValue, ptr %233, i64 %235
  %237 = getelementptr inbounds %struct._FluentValue, ptr %236, i32 0, i32 1
  %238 = load float, ptr %237, align 4, !tbaa !26
  %239 = fpext float %238 to double
  %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %239)
  br label %241

241:                                              ; preds = %218
  %242 = load i32, ptr %2, align 4, !tbaa !11
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %2, align 4, !tbaa !11
  br label %210, !llvm.loop !29

244:                                              ; preds = %210
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %1, align 4, !tbaa !11
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %1, align 4, !tbaa !11
  br label %192, !llvm.loop !30

248:                                              ; preds = %192
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.78)
  %250 = load ptr, ptr @gf_initial, align 8, !tbaa !12
  store ptr %250, ptr %4, align 8, !tbaa !12
  br label %251

251:                                              ; preds = %263, %248
  %252 = load ptr, ptr %4, align 8, !tbaa !12
  %253 = icmp ne ptr %252, null
  br i1 %253, label %254, label %267

254:                                              ; preds = %251
  %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %256 = load ptr, ptr %4, align 8, !tbaa !12
  %257 = getelementptr inbounds %struct._FluentValues, ptr %256, i32 0, i32 0
  call void @print_Fluent(ptr noundef %257)
  %258 = load ptr, ptr %4, align 8, !tbaa !12
  %259 = getelementptr inbounds %struct._FluentValues, ptr %258, i32 0, i32 1
  %260 = load float, ptr %259, align 8, !tbaa !31
  %261 = fpext float %260 to double
  %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %261)
  br label %263

263:                                              ; preds = %254
  %264 = load ptr, ptr %4, align 8, !tbaa !12
  %265 = getelementptr inbounds %struct._FluentValues, ptr %264, i32 0, i32 2
  %266 = load ptr, ptr %265, align 8, !tbaa !33
  store ptr %266, ptr %4, align 8, !tbaa !12
  br label %251, !llvm.loop !34

267:                                              ; preds = %251
  br label %268

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

; Function Attrs: nounwind uwtable
declare dso_local void @collect_inertia_information() #2

; Function Attrs: nounwind uwtable
declare dso_local void @split_initial_state() #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 768}
!6 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !9, i64 768, !9, i64 772, !9, i64 776, !7, i64 780, !9, i64 784, !10, i64 788}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!9, !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{!21, !13, i64 0}
!21 = !{!"_Facts", !13, i64 0, !13, i64 8}
!22 = !{!21, !13, i64 8}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = !{!27, !10, i64 24}
!27 = !{!"_FluentValue", !28, i64 0, !10, i64 24}
!28 = !{!"_Fluent", !9, i64 0, !7, i64 4}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}
!31 = !{!32, !10, i64 24}
!32 = !{!"_FluentValues", !28, i64 0, !10, i64 24, !13, i64 32}
!33 = !{!32, !13, i64 32}
!34 = distinct !{!34, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct._command_line = type { [256 x i8], [256 x i8], [256 x i8], i32, i32, i32, i8, i32, float }
%struct._Fact = type { i32, [5 x i32] }
%struct._FluentValue = type { %struct._Fluent, float }
%struct._Fluent = type { i32, [5 x i32] }

@gcmd_line = external local_unnamed_addr global %struct._command_line, align 4
@gnum_types = external local_unnamed_addr global i32, align 4
@gtype_names = external local_unnamed_addr global [50 x ptr], align 16
@gtype_size = external local_unnamed_addr global [50 x i32], align 16
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@gtype_consts = external local_unnamed_addr global [50 x [2000 x i32]], align 16
@gnum_predicates = external local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@gpredicates = external local_unnamed_addr global [50 x ptr], align 16
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@gnum_functions = external local_unnamed_addr global i32, align 4
@gfunctions = external local_unnamed_addr global [50 x ptr], align 16
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [11 x i8], align 1
@gis_added = external local_unnamed_addr global [50 x i8], align 16
@.str.66 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [10 x i8], align 1
@gis_deleted = external local_unnamed_addr global [50 x i8], align 16
@.str.68 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@gis_changed = external local_unnamed_addr global [50 x i8], align 16
@.str.72 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [13 x i8], align 1
@gnum_initial_predicate = external local_unnamed_addr global ptr, align 8
@ginitial_predicate = external local_unnamed_addr global ptr, align 8
@.str.78 = external hidden unnamed_addr constant [19 x i8], align 1
@ginitial = external local_unnamed_addr global ptr, align 8
@.str.79 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [9 x i8], align 1
@gpredicate_to_type = external local_unnamed_addr global [50 x i32], align 16
@.str.81 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [23 x i8], align 1
@gnum_initial_function = external local_unnamed_addr global ptr, align 8
@ginitial_function = external local_unnamed_addr global ptr, align 8
@gf_initial = external local_unnamed_addr global ptr, align 8

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

declare void @print_Fact(ptr noundef) local_unnamed_addr #1

declare void @print_Fluent(ptr noundef) local_unnamed_addr #1

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

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

.lr.ph:                                           ; preds = %3, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %3 ]
  %7 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %indvars.iv
  %8 = load ptr, ptr %7, align 8, !tbaa !12
  %9 = trunc nuw nsw i64 %indvars.iv to i32
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %9, ptr noundef %8)
  %11 = getelementptr inbounds [50 x i8], ptr @gis_added, i64 0, i64 %indvars.iv
  %12 = load i8, ptr %11, align 1, !tbaa !14
  %.not60 = icmp eq i8 %12, 0
  %13 = select i1 %.not60, ptr @.str.67, ptr @.str.66
  %14 = getelementptr inbounds [50 x i8], ptr @gis_deleted, i64 0, i64 %indvars.iv
  %15 = load i8, ptr %14, align 1, !tbaa !14
  %.not61 = icmp eq i8 %15, 0
  %16 = select i1 %.not61, ptr @.str.69, ptr @.str.68
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.65, ptr noundef nonnull %13, ptr noundef nonnull %16)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = load i32, ptr @gnum_predicates, align 4, !tbaa !11
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next, %19
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %3
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.70)
  %22 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph65, label %._crit_edge66

.lr.ph65:                                         ; preds = %._crit_edge, %.lr.ph65
  %indvars.iv103 = phi i64 [ %indvars.iv.next104, %.lr.ph65 ], [ 0, %._crit_edge ]
  %24 = getelementptr inbounds [50 x ptr], ptr @gfunctions, i64 0, i64 %indvars.iv103
  %25 = load ptr, ptr %24, align 8, !tbaa !12
  %26 = trunc nuw nsw i64 %indvars.iv103 to i32
  %27 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %26, ptr noundef %25)
  %28 = getelementptr inbounds [50 x i8], ptr @gis_changed, i64 0, i64 %indvars.iv103
  %29 = load i8, ptr %28, align 1, !tbaa !14
  %.not59 = icmp eq i8 %29, 0
  %30 = select i1 %.not59, ptr @.str.73, ptr @.str.72
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.71, ptr noundef nonnull %30)
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %32 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %33 = sext i32 %32 to i64
  %34 = icmp slt i64 %indvars.iv.next104, %33
  br i1 %34, label %.lr.ph65, label %._crit_edge66, !llvm.loop !17

._crit_edge66:                                    ; preds = %.lr.ph65, %._crit_edge
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %36

36:                                               ; preds = %._crit_edge66, %0
  tail call void @split_initial_state()
  %37 = load i32, ptr getelementptr inbounds (i8, ptr @gcmd_line, i64 768), align 4, !tbaa !5
  %38 = icmp eq i32 %37, 106
  br i1 %38, label %39, label %.loopexit

39:                                               ; preds = %36
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.74)
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.75)
  %42 = load i32, ptr @gnum_predicates, align 4, !tbaa !11
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph73, label %._crit_edge74

.lr.ph73:                                         ; preds = %39, %._crit_edge70
  %indvars.iv109 = phi i64 [ %indvars.iv.next110, %._crit_edge70 ], [ 0, %39 ]
  %44 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %indvars.iv109
  %45 = load ptr, ptr %44, align 8, !tbaa !12
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, ptr noundef %45)
  %47 = getelementptr inbounds [50 x i8], ptr @gis_added, i64 0, i64 %indvars.iv109
  %48 = load i8, ptr %47, align 1, !tbaa !14
  %.not57 = icmp eq i8 %48, 0
  br i1 %.not57, label %49, label %54

49:                                               ; preds = %.lr.ph73
  %50 = getelementptr inbounds [50 x i8], ptr @gis_deleted, i64 0, i64 %indvars.iv109
  %51 = load i8, ptr %50, align 1, !tbaa !14
  %.not58 = icmp eq i8 %51, 0
  br i1 %.not58, label %52, label %54

52:                                               ; preds = %49
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.77)
  br label %54

54:                                               ; preds = %52, %49, %.lr.ph73
  %55 = load ptr, ptr @gnum_initial_predicate, align 8, !tbaa !12
  %56 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv109
  %57 = load i32, ptr %56, align 4, !tbaa !11
  %58 = icmp sgt i32 %57, 0
  br i1 %58, label %.lr.ph69, label %._crit_edge70

.lr.ph69:                                         ; preds = %54, %.lr.ph69
  %indvars.iv106 = phi i64 [ %indvars.iv.next107, %.lr.ph69 ], [ 0, %54 ]
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %60 = load ptr, ptr @ginitial_predicate, align 8, !tbaa !12
  %61 = getelementptr inbounds ptr, ptr %60, i64 %indvars.iv109
  %62 = load ptr, ptr %61, align 8, !tbaa !12
  %63 = getelementptr inbounds %struct._Fact, ptr %62, i64 %indvars.iv106
  tail call void @print_Fact(ptr noundef %63) #3
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %64 = load ptr, ptr @gnum_initial_predicate, align 8, !tbaa !12
  %65 = getelementptr inbounds i32, ptr %64, i64 %indvars.iv109
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = sext i32 %66 to i64
  %68 = icmp slt i64 %indvars.iv.next107, %67
  br i1 %68, label %.lr.ph69, label %._crit_edge70, !llvm.loop !18

._crit_edge70:                                    ; preds = %.lr.ph69, %54
  %indvars.iv.next110 = add nuw nsw i64 %indvars.iv109, 1
  %69 = load i32, ptr @gnum_predicates, align 4, !tbaa !11
  %70 = sext i32 %69 to i64
  %71 = icmp slt i64 %indvars.iv.next110, %70
  br i1 %71, label %.lr.ph73, label %._crit_edge74, !llvm.loop !19

._crit_edge74:                                    ; preds = %._crit_edge70, %39
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.78)
  %.04975 = load ptr, ptr @ginitial, align 8, !tbaa !12
  %.not76 = icmp eq ptr %.04975, null
  br i1 %.not76, label %._crit_edge80, label %.lr.ph79

.lr.ph79:                                         ; preds = %._crit_edge74, %.lr.ph79
  %.04977 = phi ptr [ %.049, %.lr.ph79 ], [ %.04975, %._crit_edge74 ]
  %73 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %74 = load ptr, ptr %.04977, align 8, !tbaa !20
  tail call void @print_Fact(ptr noundef %74) #3
  %75 = getelementptr inbounds i8, ptr %.04977, i64 8
  %.049 = load ptr, ptr %75, align 8, !tbaa !12
  %.not = icmp eq ptr %.049, null
  br i1 %.not, label %._crit_edge80, label %.lr.ph79, !llvm.loop !22

._crit_edge80:                                    ; preds = %.lr.ph79, %._crit_edge74
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.79)
  %77 = load i32, ptr @gnum_types, align 4, !tbaa !11
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %.lr.ph87, label %._crit_edge88

.lr.ph87:                                         ; preds = %._crit_edge80, %._crit_edge84
  %indvars.iv115 = phi i64 [ %indvars.iv.next116, %._crit_edge84 ], [ 0, %._crit_edge80 ]
  %79 = trunc nuw nsw i64 %indvars.iv115 to i32
  %80 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.80, i32 noundef %79)
  %81 = getelementptr inbounds [50 x i32], ptr @gpredicate_to_type, i64 0, i64 %indvars.iv115
  %82 = load i32, ptr %81, align 4, !tbaa !11
  %83 = icmp eq i32 %82, -1
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds [50 x ptr], ptr @gpredicates, i64 0, i64 %84
  %86 = getelementptr inbounds [50 x ptr], ptr @gtype_names, i64 0, i64 %indvars.iv115
  %.sink124 = select i1 %83, ptr %86, ptr %85
  %.str.81.sink = select i1 %83, ptr @.str.7, ptr @.str.81
  %87 = load ptr, ptr %.sink124, align 8, !tbaa !12
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.81.sink, ptr noundef %87)
  %89 = getelementptr inbounds [50 x i32], ptr @gtype_size, i64 0, i64 %indvars.iv115
  %90 = load i32, ptr %89, align 4, !tbaa !11
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %.lr.ph83, label %._crit_edge84

.lr.ph83:                                         ; preds = %.lr.ph87, %.lr.ph83
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %.lr.ph83 ], [ 0, %.lr.ph87 ]
  %92 = getelementptr inbounds [50 x [2000 x i32]], ptr @gtype_consts, i64 0, i64 %indvars.iv115, i64 %indvars.iv112
  %93 = load i32, ptr %92, align 4, !tbaa !11
  %94 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %93)
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %95 = load i32, ptr %89, align 4, !tbaa !11
  %96 = sext i32 %95 to i64
  %97 = icmp slt i64 %indvars.iv.next113, %96
  br i1 %97, label %.lr.ph83, label %._crit_edge84, !llvm.loop !23

._crit_edge84:                                    ; preds = %.lr.ph83, %.lr.ph87
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %98 = load i32, ptr @gnum_types, align 4, !tbaa !11
  %99 = sext i32 %98 to i64
  %100 = icmp slt i64 %indvars.iv.next116, %99
  br i1 %100, label %.lr.ph87, label %._crit_edge88, !llvm.loop !24

._crit_edge88:                                    ; preds = %._crit_edge84, %._crit_edge80
  %101 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.82)
  %102 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %103 = icmp sgt i32 %102, 0
  br i1 %103, label %.lr.ph95, label %._crit_edge96

.lr.ph95:                                         ; preds = %._crit_edge88, %._crit_edge92
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %._crit_edge92 ], [ 0, %._crit_edge88 ]
  %104 = getelementptr inbounds [50 x ptr], ptr @gfunctions, i64 0, i64 %indvars.iv121
  %105 = load ptr, ptr %104, align 8, !tbaa !12
  %106 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, ptr noundef %105)
  %107 = getelementptr inbounds [50 x i8], ptr @gis_changed, i64 0, i64 %indvars.iv121
  %108 = load i8, ptr %107, align 1, !tbaa !14
  %.not56 = icmp eq i8 %108, 0
  br i1 %.not56, label %109, label %111

109:                                              ; preds = %.lr.ph95
  %110 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.77)
  br label %111

111:                                              ; preds = %109, %.lr.ph95
  %112 = load ptr, ptr @gnum_initial_function, align 8, !tbaa !12
  %113 = getelementptr inbounds i32, ptr %112, i64 %indvars.iv121
  %114 = load i32, ptr %113, align 4, !tbaa !11
  %115 = icmp sgt i32 %114, 0
  br i1 %115, label %.lr.ph91, label %._crit_edge92

.lr.ph91:                                         ; preds = %111, %.lr.ph91
  %indvars.iv118 = phi i64 [ %indvars.iv.next119, %.lr.ph91 ], [ 0, %111 ]
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  %117 = load ptr, ptr @ginitial_function, align 8, !tbaa !12
  %118 = getelementptr inbounds ptr, ptr %117, i64 %indvars.iv121
  %119 = load ptr, ptr %118, align 8, !tbaa !12
  %120 = getelementptr inbounds %struct._FluentValue, ptr %119, i64 %indvars.iv118
  tail call void @print_Fluent(ptr noundef %120) #3
  %121 = load ptr, ptr @ginitial_function, align 8, !tbaa !12
  %122 = getelementptr inbounds ptr, ptr %121, i64 %indvars.iv121
  %123 = load ptr, ptr %122, align 8, !tbaa !12
  %124 = getelementptr inbounds %struct._FluentValue, ptr %123, i64 %indvars.iv118, i32 1
  %125 = load float, ptr %124, align 4, !tbaa !25
  %126 = fpext float %125 to double
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %126)
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %128 = load ptr, ptr @gnum_initial_function, align 8, !tbaa !12
  %129 = getelementptr inbounds i32, ptr %128, i64 %indvars.iv121
  %130 = load i32, ptr %129, align 4, !tbaa !11
  %131 = sext i32 %130 to i64
  %132 = icmp slt i64 %indvars.iv.next119, %131
  br i1 %132, label %.lr.ph91, label %._crit_edge92, !llvm.loop !28

._crit_edge92:                                    ; preds = %.lr.ph91, %111
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %133 = load i32, ptr @gnum_functions, align 4, !tbaa !11
  %134 = sext i32 %133 to i64
  %135 = icmp slt i64 %indvars.iv.next122, %134
  br i1 %135, label %.lr.ph95, label %._crit_edge96, !llvm.loop !29

._crit_edge96:                                    ; preds = %._crit_edge92, %._crit_edge88
  %136 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.78)
  %.097 = load ptr, ptr @gf_initial, align 8, !tbaa !12
  %.not5598 = icmp eq ptr %.097, null
  br i1 %.not5598, label %.loopexit, label %.lr.ph101

.lr.ph101:                                        ; preds = %._crit_edge96, %.lr.ph101
  %.099 = phi ptr [ %.0, %.lr.ph101 ], [ %.097, %._crit_edge96 ]
  %137 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  tail call void @print_Fluent(ptr noundef nonnull %.099) #3
  %138 = getelementptr inbounds i8, ptr %.099, i64 24
  %139 = load float, ptr %138, align 8, !tbaa !30
  %140 = fpext float %139 to double
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %140)
  %142 = getelementptr inbounds i8, ptr %.099, i64 32
  %.0 = load ptr, ptr %142, align 8, !tbaa !12
  %.not55 = icmp eq ptr %.0, null
  br i1 %.not55, label %.loopexit, label %.lr.ph101, !llvm.loop !32

.loopexit:                                        ; preds = %.lr.ph101, %._crit_edge96, %36
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @collect_inertia_information() local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 768}
!6 = !{!"_command_line", !7, i64 0, !7, i64 256, !7, i64 512, !9, i64 768, !9, i64 772, !9, i64 776, !7, i64 780, !9, i64 784, !10, i64 788}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!9, !9, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = !{!21, !13, i64 0}
!21 = !{!"_Facts", !13, i64 0, !13, i64 8}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = !{!26, !10, i64 24}
!26 = !{!"_FluentValue", !27, i64 0, !10, i64 24}
!27 = !{!"_Fluent", !9, i64 0, !7, i64 4}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = !{!31, !10, i64 24}
!31 = !{!"_FluentValues", !27, i64 0, !10, i64 24, !13, i64 32}
!32 = distinct !{!32, !16}


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