; LLVM IR from ERGO-Code/HiGHS :: src/ipm/basiclu (lu_setup_bump)

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

@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__.lu_setup_bump = external hidden unnamed_addr constant [98 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @lu_setup_bump(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca double, align 8
  %48 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.lu, ptr %49, i32 0, i32 13
  %51 = load i32, ptr %50, align 4, !tbaa !9
  store i32 %51, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.lu, ptr %52, i32 0, i32 50
  %54 = load i32, ptr %53, align 4, !tbaa !14
  store i32 %54, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.lu, ptr %55, i32 0, i32 2
  %57 = load i32, ptr %56, align 8, !tbaa !15
  store i32 %57, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.lu, ptr %58, i32 0, i32 49
  %60 = load i32, ptr %59, align 8, !tbaa !16
  store i32 %60, ptr %15, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.lu, ptr %61, i32 0, i32 98
  %63 = load ptr, ptr %62, align 8, !tbaa !17
  %64 = load i32, ptr %13, align 4, !tbaa !13
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds i32, ptr %63, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !13
  %68 = load i32, ptr %13, align 4, !tbaa !13
  %69 = sub nsw i32 %67, %68
  store i32 %69, ptr %16, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.lu, ptr %70, i32 0, i32 99
  %72 = load ptr, ptr %71, align 8, !tbaa !18
  %73 = load i32, ptr %13, align 4, !tbaa !13
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i32, ptr %72, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !13
  store i32 %76, ptr %17, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.lu, ptr %77, i32 0, i32 4
  %79 = load double, ptr %78, align 8, !tbaa !19
  store double %79, ptr %18, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.lu, ptr %80, i32 0, i32 8
  %82 = load i32, ptr %81, align 8, !tbaa !21
  store i32 %82, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.lu, ptr %83, i32 0, i32 9
  %85 = load double, ptr %84, align 8, !tbaa !22
  store double %85, ptr %20, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.lu, ptr %86, i32 0, i32 77
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  store ptr %88, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.lu, ptr %89, i32 0, i32 79
  %91 = load ptr, ptr %90, align 8, !tbaa !24
  store ptr %91, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.lu, ptr %92, i32 0, i32 81
  %94 = load ptr, ptr %93, align 8, !tbaa !25
  store ptr %94, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.lu, ptr %95, i32 0, i32 84
  %97 = load ptr, ptr %96, align 8, !tbaa !26
  store ptr %97, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.lu, ptr %98, i32 0, i32 94
  %100 = load ptr, ptr %99, align 8, !tbaa !27
  store ptr %100, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.lu, ptr %101, i32 0, i32 96
  %103 = load ptr, ptr %102, align 8, !tbaa !28
  store ptr %103, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.lu, ptr %104, i32 0, i32 86
  %106 = load ptr, ptr %105, align 8, !tbaa !29
  store ptr %106, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.lu, ptr %107, i32 0, i32 88
  %109 = load ptr, ptr %108, align 8, !tbaa !30
  store ptr %109, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %110 = load ptr, ptr %27, align 8, !tbaa !5
  %111 = load i32, ptr %12, align 4, !tbaa !13
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i32, ptr %110, i64 %112
  store ptr %113, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %114 = load ptr, ptr %28, align 8, !tbaa !5
  %115 = load i32, ptr %12, align 4, !tbaa !13
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  store ptr %117, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.lu, ptr %118, i32 0, i32 90
  %120 = load ptr, ptr %119, align 8, !tbaa !31
  store ptr %120, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.lu, ptr %121, i32 0, i32 92
  %123 = load ptr, ptr %122, align 8, !tbaa !32
  store ptr %123, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.lu, ptr %124, i32 0, i32 73
  %126 = load ptr, ptr %125, align 8, !tbaa !33
  store ptr %126, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.lu, ptr %127, i32 0, i32 76
  %129 = load ptr, ptr %128, align 8, !tbaa !34
  store ptr %129, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.lu, ptr %130, i32 0, i32 104
  %132 = load ptr, ptr %131, align 8, !tbaa !35
  store ptr %132, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.lu, ptr %133, i32 0, i32 100
  %135 = load ptr, ptr %134, align 8, !tbaa !36
  store ptr %135, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %136 = load i32, ptr %15, align 4, !tbaa !13
  %137 = load i32, ptr %16, align 4, !tbaa !13
  %138 = sub nsw i32 %136, %137
  %139 = load i32, ptr %17, align 4, !tbaa !13
  %140 = sub nsw i32 %138, %139
  %141 = load i32, ptr %13, align 4, !tbaa !13
  %142 = sub nsw i32 %140, %141
  store i32 %142, ptr %37, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %143 = load i32, ptr %16, align 4, !tbaa !13
  %144 = icmp sge i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %5
  br label %147

146:                                              ; preds = %5
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 87, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

147:                                              ; preds = %145
  %148 = load i32, ptr %17, align 4, !tbaa !13
  %149 = icmp sge i32 %148, 0
  br i1 %149, label %150, label %151

150:                                              ; preds = %147
  br label %152

151:                                              ; preds = %147
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 88, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

152:                                              ; preds = %150
  %153 = load i32, ptr %37, align 4, !tbaa !13
  %154 = icmp sge i32 %153, 0
  br i1 %154, label %155, label %156

155:                                              ; preds = %152
  br label %157

156:                                              ; preds = %152
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 89, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

157:                                              ; preds = %155
  store i32 0, ptr %38, align 4, !tbaa !13
  br label %158

158:                                              ; preds = %172, %157
  %159 = load i32, ptr %38, align 4, !tbaa !13
  %160 = load i32, ptr %12, align 4, !tbaa !13
  %161 = icmp slt i32 %159, %160
  br i1 %161, label %162, label %175

162:                                              ; preds = %158
  %163 = load ptr, ptr %36, align 8, !tbaa !5
  %164 = load i32, ptr %38, align 4, !tbaa !13
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !13
  %168 = icmp eq i32 %167, 0
  br i1 %168, label %169, label %170

169:                                              ; preds = %162
  br label %171

170:                                              ; preds = %162
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 92, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

171:                                              ; preds = %169
  br label %172

172:                                              ; preds = %171
  %173 = load i32, ptr %38, align 4, !tbaa !13
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %38, align 4, !tbaa !13
  br label %158, !llvm.loop !37

175:                                              ; preds = %158
  %176 = load i32, ptr %37, align 4, !tbaa !13
  %177 = sitofp i32 %176 to double
  %178 = load double, ptr %20, align 8, !tbaa !20
  %179 = load i32, ptr %37, align 4, !tbaa !13
  %180 = sitofp i32 %179 to double
  %181 = call double @llvm.fmuladd.f64(double %178, double %180, double %177)
  %182 = load i32, ptr %12, align 4, !tbaa !13
  %183 = load i32, ptr %13, align 4, !tbaa !13
  %184 = sub nsw i32 %182, %183
  %185 = load i32, ptr %19, align 4, !tbaa !13
  %186 = mul nsw i32 %184, %185
  %187 = sitofp i32 %186 to double
  %188 = fadd double %181, %187
  %189 = fptosi double %188 to i32
  store i32 %189, ptr %44, align 4, !tbaa !13
  %190 = load i32, ptr %44, align 4, !tbaa !13
  %191 = mul nsw i32 2, %190
  store i32 %191, ptr %44, align 4, !tbaa !13
  %192 = load i32, ptr %44, align 4, !tbaa !13
  %193 = load i32, ptr %14, align 4, !tbaa !13
  %194 = icmp sgt i32 %192, %193
  br i1 %194, label %195, label %201

195:                                              ; preds = %175
  %196 = load i32, ptr %44, align 4, !tbaa !13
  %197 = load i32, ptr %14, align 4, !tbaa !13
  %198 = sub nsw i32 %196, %197
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.lu, ptr %199, i32 0, i32 16
  store i32 %198, ptr %200, align 8, !tbaa !39
  store i32 1, ptr %6, align 4
  store i32 1, ptr %48, align 4
  br label %562

201:                                              ; preds = %175
  %202 = load i32, ptr %12, align 4, !tbaa !13
  %203 = mul nsw i32 2, %202
  %204 = load ptr, ptr %27, align 8, !tbaa !5
  %205 = load ptr, ptr %28, align 8, !tbaa !5
  %206 = load ptr, ptr %31, align 8, !tbaa !5
  %207 = load ptr, ptr %32, align 8, !tbaa !5
  %208 = load i32, ptr %14, align 4, !tbaa !13
  call void @lu_file_empty(i32 noundef %203, ptr noundef %204, ptr noundef %205, ptr noundef %206, ptr noundef %207, i32 noundef %208)
  %209 = load ptr, ptr %21, align 8, !tbaa !5
  %210 = load ptr, ptr %22, align 8, !tbaa !5
  %211 = load i32, ptr %12, align 4, !tbaa !13
  %212 = load i32, ptr %12, align 4, !tbaa !13
  %213 = add nsw i32 %212, 2
  call void @lu_list_init(ptr noundef %209, ptr noundef %210, i32 noundef %211, i32 noundef %213, ptr noundef %46)
  store i32 0, ptr %41, align 4, !tbaa !13
  store i32 0, ptr %39, align 4, !tbaa !13
  br label %214

214:                                              ; preds = %375, %201
  %215 = load i32, ptr %39, align 4, !tbaa !13
  %216 = load i32, ptr %12, align 4, !tbaa !13
  %217 = icmp slt i32 %215, %216
  br i1 %217, label %218, label %378

218:                                              ; preds = %214
  %219 = load ptr, ptr %26, align 8, !tbaa !5
  %220 = load i32, ptr %39, align 4, !tbaa !13
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds i32, ptr %219, i64 %221
  %223 = load i32, ptr %222, align 4, !tbaa !13
  %224 = icmp sge i32 %223, 0
  br i1 %224, label %225, label %226

225:                                              ; preds = %218
  br label %375

226:                                              ; preds = %218
  store i32 0, ptr %42, align 4, !tbaa !13
  store double 0.000000e+00, ptr %47, align 8, !tbaa !20
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = load i32, ptr %39, align 4, !tbaa !13
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds i32, ptr %227, i64 %229
  %231 = load i32, ptr %230, align 4, !tbaa !13
  store i32 %231, ptr %40, align 4, !tbaa !13
  br label %232

232:                                              ; preds = %264, %226
  %233 = load i32, ptr %40, align 4, !tbaa !13
  %234 = load ptr, ptr %9, align 8, !tbaa !5
  %235 = load i32, ptr %39, align 4, !tbaa !13
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds i32, ptr %234, i64 %236
  %238 = load i32, ptr %237, align 4, !tbaa !13
  %239 = icmp slt i32 %233, %238
  br i1 %239, label %240, label %267

240:                                              ; preds = %232
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = load i32, ptr %40, align 4, !tbaa !13
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i32, ptr %241, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !13
  store i32 %245, ptr %38, align 4, !tbaa !13
  %246 = load ptr, ptr %25, align 8, !tbaa !5
  %247 = load i32, ptr %38, align 4, !tbaa !13
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds i32, ptr %246, i64 %248
  %250 = load i32, ptr %249, align 4, !tbaa !13
  %251 = icmp sge i32 %250, 0
  br i1 %251, label %252, label %253

252:                                              ; preds = %240
  br label %264

253:                                              ; preds = %240
  %254 = load double, ptr %47, align 8, !tbaa !20
  %255 = load ptr, ptr %11, align 8, !tbaa !5
  %256 = load i32, ptr %40, align 4, !tbaa !13
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds double, ptr %255, i64 %257
  %259 = load double, ptr %258, align 8, !tbaa !20
  %260 = call double @llvm.fabs.f64(double %259)
  %261 = call double @llvm.maxnum.f64(double %254, double %260)
  store double %261, ptr %47, align 8, !tbaa !20
  %262 = load i32, ptr %42, align 4, !tbaa !13
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %42, align 4, !tbaa !13
  br label %264

264:                                              ; preds = %253, %252
  %265 = load i32, ptr %40, align 4, !tbaa !13
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %40, align 4, !tbaa !13
  br label %232, !llvm.loop !40

267:                                              ; preds = %232
  %268 = load double, ptr %47, align 8, !tbaa !20
  %269 = fcmp oeq double %268, 0.000000e+00
  br i1 %269, label %274, label %270

270:                                              ; preds = %267
  %271 = load double, ptr %47, align 8, !tbaa !20
  %272 = load double, ptr %18, align 8, !tbaa !20
  %273 = fcmp olt double %271, %272
  br i1 %273, label %274, label %286

274:                                              ; preds = %270, %267
  %275 = load ptr, ptr %35, align 8, !tbaa !5
  %276 = load i32, ptr %39, align 4, !tbaa !13
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds double, ptr %275, i64 %277
  store double 0.000000e+00, ptr %278, align 8, !tbaa !20
  %279 = load i32, ptr %39, align 4, !tbaa !13
  %280 = load ptr, ptr %21, align 8, !tbaa !5
  %281 = load ptr, ptr %22, align 8, !tbaa !5
  %282 = load i32, ptr %12, align 4, !tbaa !13
  call void @lu_list_add(i32 noundef %279, i32 noundef 0, ptr noundef %280, ptr noundef %281, i32 noundef %282, ptr noundef %46)
  %283 = load i32, ptr %42, align 4, !tbaa !13
  %284 = load i32, ptr %37, align 4, !tbaa !13
  %285 = sub nsw i32 %284, %283
  store i32 %285, ptr %37, align 4, !tbaa !13
  br label %374

286:                                              ; preds = %270
  %287 = load double, ptr %47, align 8, !tbaa !20
  %288 = load ptr, ptr %35, align 8, !tbaa !5
  %289 = load i32, ptr %39, align 4, !tbaa !13
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds double, ptr %288, i64 %290
  store double %287, ptr %291, align 8, !tbaa !20
  %292 = load i32, ptr %39, align 4, !tbaa !13
  %293 = load i32, ptr %42, align 4, !tbaa !13
  %294 = load ptr, ptr %21, align 8, !tbaa !5
  %295 = load ptr, ptr %22, align 8, !tbaa !5
  %296 = load i32, ptr %12, align 4, !tbaa !13
  call void @lu_list_add(i32 noundef %292, i32 noundef %293, ptr noundef %294, ptr noundef %295, i32 noundef %296, ptr noundef %46)
  %297 = load i32, ptr %41, align 4, !tbaa !13
  %298 = load ptr, ptr %27, align 8, !tbaa !5
  %299 = load i32, ptr %39, align 4, !tbaa !13
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds i32, ptr %298, i64 %300
  store i32 %297, ptr %301, align 4, !tbaa !13
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = load i32, ptr %39, align 4, !tbaa !13
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds i32, ptr %302, i64 %304
  %306 = load i32, ptr %305, align 4, !tbaa !13
  store i32 %306, ptr %40, align 4, !tbaa !13
  br label %307

307:                                              ; preds = %350, %286
  %308 = load i32, ptr %40, align 4, !tbaa !13
  %309 = load ptr, ptr %9, align 8, !tbaa !5
  %310 = load i32, ptr %39, align 4, !tbaa !13
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds i32, ptr %309, i64 %311
  %313 = load i32, ptr %312, align 4, !tbaa !13
  %314 = icmp slt i32 %308, %313
  br i1 %314, label %315, label %353

315:                                              ; preds = %307
  %316 = load ptr, ptr %10, align 8, !tbaa !5
  %317 = load i32, ptr %40, align 4, !tbaa !13
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds i32, ptr %316, i64 %318
  %320 = load i32, ptr %319, align 4, !tbaa !13
  store i32 %320, ptr %38, align 4, !tbaa !13
  %321 = load ptr, ptr %25, align 8, !tbaa !5
  %322 = load i32, ptr %38, align 4, !tbaa !13
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds i32, ptr %321, i64 %323
  %325 = load i32, ptr %324, align 4, !tbaa !13
  %326 = icmp sge i32 %325, 0
  br i1 %326, label %327, label %328

327:                                              ; preds = %315
  br label %350

328:                                              ; preds = %315
  %329 = load i32, ptr %38, align 4, !tbaa !13
  %330 = load ptr, ptr %33, align 8, !tbaa !5
  %331 = load i32, ptr %41, align 4, !tbaa !13
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds i32, ptr %330, i64 %332
  store i32 %329, ptr %333, align 4, !tbaa !13
  %334 = load ptr, ptr %11, align 8, !tbaa !5
  %335 = load i32, ptr %40, align 4, !tbaa !13
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds double, ptr %334, i64 %336
  %338 = load double, ptr %337, align 8, !tbaa !20
  %339 = load ptr, ptr %34, align 8, !tbaa !5
  %340 = load i32, ptr %41, align 4, !tbaa !13
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %41, align 4, !tbaa !13
  %342 = sext i32 %340 to i64
  %343 = getelementptr inbounds double, ptr %339, i64 %342
  store double %338, ptr %343, align 8, !tbaa !20
  %344 = load ptr, ptr %36, align 8, !tbaa !5
  %345 = load i32, ptr %38, align 4, !tbaa !13
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds i32, ptr %344, i64 %346
  %348 = load i32, ptr %347, align 4, !tbaa !13
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %347, align 4, !tbaa !13
  br label %350

350:                                              ; preds = %328, %327
  %351 = load i32, ptr %40, align 4, !tbaa !13
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %40, align 4, !tbaa !13
  br label %307, !llvm.loop !41

353:                                              ; preds = %307
  %354 = load i32, ptr %41, align 4, !tbaa !13
  %355 = load ptr, ptr %28, align 8, !tbaa !5
  %356 = load i32, ptr %39, align 4, !tbaa !13
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds i32, ptr %355, i64 %357
  store i32 %354, ptr %358, align 4, !tbaa !13
  %359 = load double, ptr %20, align 8, !tbaa !20
  %360 = load i32, ptr %42, align 4, !tbaa !13
  %361 = sitofp i32 %360 to double
  %362 = load i32, ptr %19, align 4, !tbaa !13
  %363 = sitofp i32 %362 to double
  %364 = call double @llvm.fmuladd.f64(double %359, double %361, double %363)
  %365 = load i32, ptr %41, align 4, !tbaa !13
  %366 = sitofp i32 %365 to double
  %367 = fadd double %366, %364
  %368 = fptosi double %367 to i32
  store i32 %368, ptr %41, align 4, !tbaa !13
  %369 = load i32, ptr %39, align 4, !tbaa !13
  %370 = load ptr, ptr %31, align 8, !tbaa !5
  %371 = load ptr, ptr %32, align 8, !tbaa !5
  %372 = load i32, ptr %12, align 4, !tbaa !13
  %373 = mul nsw i32 2, %372
  call void @lu_list_move(i32 noundef %369, i32 noundef 0, ptr noundef %370, ptr noundef %371, i32 noundef %373, ptr noundef null)
  br label %374

374:                                              ; preds = %353, %274
  br label %375

375:                                              ; preds = %374, %225
  %376 = load i32, ptr %39, align 4, !tbaa !13
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr %39, align 4, !tbaa !13
  br label %214, !llvm.loop !42

378:                                              ; preds = %214
  %379 = load ptr, ptr %23, align 8, !tbaa !5
  %380 = load ptr, ptr %24, align 8, !tbaa !5
  %381 = load i32, ptr %12, align 4, !tbaa !13
  %382 = load i32, ptr %12, align 4, !tbaa !13
  %383 = add nsw i32 %382, 2
  call void @lu_list_init(ptr noundef %379, ptr noundef %380, i32 noundef %381, i32 noundef %383, ptr noundef %45)
  store i32 0, ptr %38, align 4, !tbaa !13
  br label %384

384:                                              ; preds = %440, %378
  %385 = load i32, ptr %38, align 4, !tbaa !13
  %386 = load i32, ptr %12, align 4, !tbaa !13
  %387 = icmp slt i32 %385, %386
  br i1 %387, label %388, label %443

388:                                              ; preds = %384
  %389 = load ptr, ptr %25, align 8, !tbaa !5
  %390 = load i32, ptr %38, align 4, !tbaa !13
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds i32, ptr %389, i64 %391
  %393 = load i32, ptr %392, align 4, !tbaa !13
  %394 = icmp sge i32 %393, 0
  br i1 %394, label %395, label %396

395:                                              ; preds = %388
  br label %440

396:                                              ; preds = %388
  %397 = load ptr, ptr %36, align 8, !tbaa !5
  %398 = load i32, ptr %38, align 4, !tbaa !13
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds i32, ptr %397, i64 %399
  %401 = load i32, ptr %400, align 4, !tbaa !13
  store i32 %401, ptr %43, align 4, !tbaa !13
  %402 = load ptr, ptr %36, align 8, !tbaa !5
  %403 = load i32, ptr %38, align 4, !tbaa !13
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds i32, ptr %402, i64 %404
  store i32 0, ptr %405, align 4, !tbaa !13
  %406 = load i32, ptr %38, align 4, !tbaa !13
  %407 = load i32, ptr %43, align 4, !tbaa !13
  %408 = load ptr, ptr %23, align 8, !tbaa !5
  %409 = load ptr, ptr %24, align 8, !tbaa !5
  %410 = load i32, ptr %12, align 4, !tbaa !13
  call void @lu_list_add(i32 noundef %406, i32 noundef %407, ptr noundef %408, ptr noundef %409, i32 noundef %410, ptr noundef %45)
  %411 = load i32, ptr %41, align 4, !tbaa !13
  %412 = load ptr, ptr %30, align 8, !tbaa !5
  %413 = load i32, ptr %38, align 4, !tbaa !13
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds i32, ptr %412, i64 %414
  store i32 %411, ptr %415, align 4, !tbaa !13
  %416 = load ptr, ptr %29, align 8, !tbaa !5
  %417 = load i32, ptr %38, align 4, !tbaa !13
  %418 = sext i32 %417 to i64
  %419 = getelementptr inbounds i32, ptr %416, i64 %418
  store i32 %411, ptr %419, align 4, !tbaa !13
  %420 = load i32, ptr %43, align 4, !tbaa !13
  %421 = load i32, ptr %41, align 4, !tbaa !13
  %422 = add nsw i32 %421, %420
  store i32 %422, ptr %41, align 4, !tbaa !13
  %423 = load i32, ptr %12, align 4, !tbaa !13
  %424 = load i32, ptr %38, align 4, !tbaa !13
  %425 = add nsw i32 %423, %424
  %426 = load ptr, ptr %31, align 8, !tbaa !5
  %427 = load ptr, ptr %32, align 8, !tbaa !5
  %428 = load i32, ptr %12, align 4, !tbaa !13
  %429 = mul nsw i32 2, %428
  call void @lu_list_move(i32 noundef %425, i32 noundef 0, ptr noundef %426, ptr noundef %427, i32 noundef %429, ptr noundef null)
  %430 = load double, ptr %20, align 8, !tbaa !20
  %431 = load i32, ptr %43, align 4, !tbaa !13
  %432 = sitofp i32 %431 to double
  %433 = load i32, ptr %19, align 4, !tbaa !13
  %434 = sitofp i32 %433 to double
  %435 = call double @llvm.fmuladd.f64(double %430, double %432, double %434)
  %436 = load i32, ptr %41, align 4, !tbaa !13
  %437 = sitofp i32 %436 to double
  %438 = fadd double %437, %435
  %439 = fptosi double %438 to i32
  store i32 %439, ptr %41, align 4, !tbaa !13
  br label %440

440:                                              ; preds = %396, %395
  %441 = load i32, ptr %38, align 4, !tbaa !13
  %442 = add nsw i32 %441, 1
  store i32 %442, ptr %38, align 4, !tbaa !13
  br label %384, !llvm.loop !43

443:                                              ; preds = %384
  store i32 0, ptr %39, align 4, !tbaa !13
  br label %444

444:                                              ; preds = %482, %443
  %445 = load i32, ptr %39, align 4, !tbaa !13
  %446 = load i32, ptr %12, align 4, !tbaa !13
  %447 = icmp slt i32 %445, %446
  br i1 %447, label %448, label %485

448:                                              ; preds = %444
  %449 = load ptr, ptr %27, align 8, !tbaa !5
  %450 = load i32, ptr %39, align 4, !tbaa !13
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds i32, ptr %449, i64 %451
  %453 = load i32, ptr %452, align 4, !tbaa !13
  store i32 %453, ptr %40, align 4, !tbaa !13
  br label %454

454:                                              ; preds = %478, %448
  %455 = load i32, ptr %40, align 4, !tbaa !13
  %456 = load ptr, ptr %28, align 8, !tbaa !5
  %457 = load i32, ptr %39, align 4, !tbaa !13
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds i32, ptr %456, i64 %458
  %460 = load i32, ptr %459, align 4, !tbaa !13
  %461 = icmp slt i32 %455, %460
  br i1 %461, label %462, label %481

462:                                              ; preds = %454
  %463 = load ptr, ptr %33, align 8, !tbaa !5
  %464 = load i32, ptr %40, align 4, !tbaa !13
  %465 = sext i32 %464 to i64
  %466 = getelementptr inbounds i32, ptr %463, i64 %465
  %467 = load i32, ptr %466, align 4, !tbaa !13
  store i32 %467, ptr %38, align 4, !tbaa !13
  %468 = load i32, ptr %39, align 4, !tbaa !13
  %469 = load ptr, ptr %33, align 8, !tbaa !5
  %470 = load ptr, ptr %30, align 8, !tbaa !5
  %471 = load i32, ptr %38, align 4, !tbaa !13
  %472 = sext i32 %471 to i64
  %473 = getelementptr inbounds i32, ptr %470, i64 %472
  %474 = load i32, ptr %473, align 4, !tbaa !13
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr %473, align 4, !tbaa !13
  %476 = sext i32 %474 to i64
  %477 = getelementptr inbounds i32, ptr %469, i64 %476
  store i32 %468, ptr %477, align 4, !tbaa !13
  br label %478

478:                                              ; preds = %462
  %479 = load i32, ptr %40, align 4, !tbaa !13
  %480 = add nsw i32 %479, 1
  store i32 %480, ptr %40, align 4, !tbaa !13
  br label %454, !llvm.loop !44

481:                                              ; preds = %454
  br label %482

482:                                              ; preds = %481
  %483 = load i32, ptr %39, align 4, !tbaa !13
  %484 = add nsw i32 %483, 1
  store i32 %484, ptr %39, align 4, !tbaa !13
  br label %444, !llvm.loop !45

485:                                              ; preds = %444
  %486 = load i32, ptr %41, align 4, !tbaa !13
  %487 = load ptr, ptr %27, align 8, !tbaa !5
  %488 = load i32, ptr %12, align 4, !tbaa !13
  %489 = mul nsw i32 2, %488
  %490 = sext i32 %489 to i64
  %491 = getelementptr inbounds i32, ptr %487, i64 %490
  store i32 %486, ptr %491, align 4, !tbaa !13
  %492 = load ptr, ptr %27, align 8, !tbaa !5
  %493 = load i32, ptr %12, align 4, !tbaa !13
  %494 = mul nsw i32 2, %493
  %495 = sext i32 %494 to i64
  %496 = getelementptr inbounds i32, ptr %492, i64 %495
  %497 = load i32, ptr %496, align 4, !tbaa !13
  %498 = load ptr, ptr %28, align 8, !tbaa !5
  %499 = load i32, ptr %12, align 4, !tbaa !13
  %500 = mul nsw i32 2, %499
  %501 = sext i32 %500 to i64
  %502 = getelementptr inbounds i32, ptr %498, i64 %501
  %503 = load i32, ptr %502, align 4, !tbaa !13
  %504 = icmp sle i32 %497, %503
  br i1 %504, label %505, label %506

505:                                              ; preds = %485
  br label %507

506:                                              ; preds = %485
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 183, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

507:                                              ; preds = %505
  %508 = load i32, ptr %12, align 4, !tbaa !13
  %509 = load ptr, ptr %27, align 8, !tbaa !5
  %510 = load ptr, ptr %28, align 8, !tbaa !5
  %511 = load ptr, ptr %29, align 8, !tbaa !5
  %512 = load ptr, ptr %30, align 8, !tbaa !5
  %513 = load ptr, ptr %33, align 8, !tbaa !5
  %514 = call i32 @lu_file_diff(i32 noundef %508, ptr noundef %509, ptr noundef %510, ptr noundef %511, ptr noundef %512, ptr noundef %513, ptr noundef null)
  %515 = icmp eq i32 %514, 0
  br i1 %515, label %516, label %517

516:                                              ; preds = %507
  br label %518

517:                                              ; preds = %507
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 185, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

518:                                              ; preds = %516
  %519 = load i32, ptr %12, align 4, !tbaa !13
  %520 = load ptr, ptr %29, align 8, !tbaa !5
  %521 = load ptr, ptr %30, align 8, !tbaa !5
  %522 = load ptr, ptr %27, align 8, !tbaa !5
  %523 = load ptr, ptr %28, align 8, !tbaa !5
  %524 = load ptr, ptr %33, align 8, !tbaa !5
  %525 = call i32 @lu_file_diff(i32 noundef %519, ptr noundef %520, ptr noundef %521, ptr noundef %522, ptr noundef %523, ptr noundef %524, ptr noundef null)
  %526 = icmp eq i32 %525, 0
  br i1 %526, label %527, label %528

527:                                              ; preds = %518
  br label %529

528:                                              ; preds = %518
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 186, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

529:                                              ; preds = %527
  store i32 0, ptr %38, align 4, !tbaa !13
  br label %530

530:                                              ; preds = %544, %529
  %531 = load i32, ptr %38, align 4, !tbaa !13
  %532 = load i32, ptr %12, align 4, !tbaa !13
  %533 = icmp slt i32 %531, %532
  br i1 %533, label %534, label %547

534:                                              ; preds = %530
  %535 = load ptr, ptr %36, align 8, !tbaa !5
  %536 = load i32, ptr %38, align 4, !tbaa !13
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds i32, ptr %535, i64 %537
  %539 = load i32, ptr %538, align 4, !tbaa !13
  %540 = icmp eq i32 %539, 0
  br i1 %540, label %541, label %542

541:                                              ; preds = %534
  br label %543

542:                                              ; preds = %534
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 190, ptr noundef @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

543:                                              ; preds = %541
  br label %544

544:                                              ; preds = %543
  %545 = load i32, ptr %38, align 4, !tbaa !13
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr %38, align 4, !tbaa !13
  br label %530, !llvm.loop !46

547:                                              ; preds = %530
  %548 = load i32, ptr %37, align 4, !tbaa !13
  %549 = load ptr, ptr %7, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.lu, ptr %549, i32 0, i32 52
  store i32 %548, ptr %550, align 4, !tbaa !47
  %551 = load i32, ptr %12, align 4, !tbaa !13
  %552 = load i32, ptr %13, align 4, !tbaa !13
  %553 = sub nsw i32 %551, %552
  %554 = load ptr, ptr %7, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.lu, ptr %554, i32 0, i32 51
  store i32 %553, ptr %555, align 8, !tbaa !48
  %556 = load i32, ptr %46, align 4, !tbaa !13
  %557 = load ptr, ptr %7, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.lu, ptr %557, i32 0, i32 69
  store i32 %556, ptr %558, align 8, !tbaa !49
  %559 = load i32, ptr %45, align 4, !tbaa !13
  %560 = load ptr, ptr %7, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.lu, ptr %560, i32 0, i32 70
  store i32 %559, ptr %561, align 4, !tbaa !50
  store i32 0, ptr %6, align 4
  store i32 1, ptr %48, align 4
  br label %562

562:                                              ; preds = %547, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %563 = load i32, ptr %6, align 4
  ret i32 %563
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

declare void @lu_file_empty(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.maxnum.f64(double, double) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_add(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_move(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

declare i32 @lu_file_diff(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "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 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { 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 84}
!10 = !{!"lu", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !11, i64 224, !11, i64 228, !11, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !12, i64 344, !12, i64 352, !12, i64 360, !12, i64 368, !11, i64 376, !11, i64 380, !11, i64 384, !11, i64 388, !11, i64 392, !11, i64 396, !11, i64 400, !11, i64 404, !11, i64 408, !11, i64 412, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !6, i64 608, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !6, i64 672, !6, i64 680, !6, i64 688}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 316}
!15 = !{!10, !11, i64 8}
!16 = !{!10, !11, i64 312}
!17 = !{!10, !6, i64 632}
!18 = !{!10, !6, i64 640}
!19 = !{!10, !12, i64 24}
!20 = !{!12, !12, i64 0}
!21 = !{!10, !11, i64 48}
!22 = !{!10, !12, i64 56}
!23 = !{!10, !6, i64 464}
!24 = !{!10, !6, i64 480}
!25 = !{!10, !6, i64 496}
!26 = !{!10, !6, i64 520}
!27 = !{!10, !6, i64 600}
!28 = !{!10, !6, i64 616}
!29 = !{!10, !6, i64 536}
!30 = !{!10, !6, i64 552}
!31 = !{!10, !6, i64 568}
!32 = !{!10, !6, i64 584}
!33 = !{!10, !6, i64 432}
!34 = !{!10, !6, i64 456}
!35 = !{!10, !6, i64 680}
!36 = !{!10, !6, i64 648}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!10, !11, i64 96}
!40 = distinct !{!40, !38}
!41 = distinct !{!41, !38}
!42 = distinct !{!42, !38}
!43 = distinct !{!43, !38}
!44 = distinct !{!44, !38}
!45 = distinct !{!45, !38}
!46 = distinct !{!46, !38}
!47 = !{!10, !11, i64 324}
!48 = !{!10, !11, i64 320}
!49 = !{!10, !11, i64 408}
!50 = !{!10, !11, i64 412}


; 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 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__.lu_setup_bump = external hidden unnamed_addr constant [98 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @lu_setup_bump(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4) local_unnamed_addr #0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = getelementptr inbounds i8, ptr %0, i64 84
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 316
  %11 = load i32, ptr %10, align 4, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %0, i64 312
  %15 = load i32, ptr %14, align 8, !tbaa !14
  %16 = getelementptr inbounds i8, ptr %0, i64 632
  %17 = load ptr, ptr %16, align 8, !tbaa !15
  %18 = sext i32 %11 to i64
  %19 = getelementptr inbounds i32, ptr %17, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %0, i64 640
  %22 = load ptr, ptr %21, align 8, !tbaa !17
  %23 = getelementptr inbounds i32, ptr %22, i64 %18
  %24 = load i32, ptr %23, align 4, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %0, i64 24
  %26 = load double, ptr %25, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %0, i64 48
  %28 = load i32, ptr %27, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = load double, ptr %29, align 8, !tbaa !20
  %31 = getelementptr inbounds i8, ptr %0, i64 464
  %32 = load ptr, ptr %31, align 8, !tbaa !21
  %33 = getelementptr inbounds i8, ptr %0, i64 480
  %34 = load ptr, ptr %33, align 8, !tbaa !22
  %35 = getelementptr inbounds i8, ptr %0, i64 496
  %36 = load ptr, ptr %35, align 8, !tbaa !23
  %37 = getelementptr inbounds i8, ptr %0, i64 520
  %38 = load ptr, ptr %37, align 8, !tbaa !24
  %39 = getelementptr inbounds i8, ptr %0, i64 600
  %40 = load ptr, ptr %39, align 8, !tbaa !25
  %41 = getelementptr inbounds i8, ptr %0, i64 616
  %42 = load ptr, ptr %41, align 8, !tbaa !26
  %43 = getelementptr inbounds i8, ptr %0, i64 536
  %44 = load ptr, ptr %43, align 8, !tbaa !27
  %45 = getelementptr inbounds i8, ptr %0, i64 552
  %46 = load ptr, ptr %45, align 8, !tbaa !28
  %47 = sext i32 %9 to i64
  %48 = getelementptr inbounds i32, ptr %44, i64 %47
  %49 = getelementptr inbounds i32, ptr %46, i64 %47
  %50 = getelementptr inbounds i8, ptr %0, i64 568
  %51 = load ptr, ptr %50, align 8, !tbaa !29
  %52 = getelementptr inbounds i8, ptr %0, i64 584
  %53 = load ptr, ptr %52, align 8, !tbaa !30
  %54 = getelementptr inbounds i8, ptr %0, i64 432
  %55 = load ptr, ptr %54, align 8, !tbaa !31
  %56 = getelementptr inbounds i8, ptr %0, i64 456
  %57 = load ptr, ptr %56, align 8, !tbaa !32
  %58 = getelementptr inbounds i8, ptr %0, i64 680
  %59 = load ptr, ptr %58, align 8, !tbaa !33
  %60 = getelementptr inbounds i8, ptr %0, i64 648
  %61 = load ptr, ptr %60, align 8, !tbaa !34
  %62 = add i32 %20, %24
  %63 = sub i32 %15, %62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %.not = icmp slt i32 %20, %11
  br i1 %.not, label %64, label %65

64:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 87, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

65:                                               ; preds = %5
  %66 = icmp sgt i32 %24, -1
  br i1 %66, label %68, label %67

67:                                               ; preds = %65
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 88, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

68:                                               ; preds = %65
  %69 = icmp sgt i32 %63, -1
  br i1 %69, label %.preheader239, label %71

.preheader239:                                    ; preds = %68
  %70 = icmp sgt i32 %9, 0
  br i1 %70, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader239
  %wide.trip.count = zext nneg i32 %9 to i64
  br label %.lr.ph

71:                                               ; preds = %68
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 89, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

72:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !35

.lr.ph:                                           ; preds = %.lr.ph.preheader, %72
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %72 ]
  %73 = getelementptr inbounds i32, ptr %61, i64 %indvars.iv
  %74 = load i32, ptr %73, align 4, !tbaa !16
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %72, label %76

76:                                               ; preds = %.lr.ph
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 92, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

._crit_edge:                                      ; preds = %72, %.preheader239
  %77 = uitofp nneg i32 %63 to double
  %78 = tail call double @llvm.fmuladd.f64(double %30, double %77, double %77)
  %79 = sub nsw i32 %9, %11
  %80 = mul nsw i32 %28, %79
  %81 = sitofp i32 %80 to double
  %82 = fadd double %78, %81
  %83 = fptosi double %82 to i32
  %84 = shl nsw i32 %83, 1
  %85 = icmp sgt i32 %84, %13
  br i1 %85, label %86, label %89

86:                                               ; preds = %._crit_edge
  %87 = sub nsw i32 %84, %13
  %88 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %87, ptr %88, align 8, !tbaa !37
  br label %221

89:                                               ; preds = %._crit_edge
  %90 = shl nsw i32 %9, 1
  tail call void @lu_file_empty(i32 noundef %90, ptr noundef %44, ptr noundef %46, ptr noundef %51, ptr noundef %53, i32 noundef %13) #6
  %91 = add nsw i32 %9, 2
  call void @lu_list_init(ptr noundef %32, ptr noundef %34, i32 noundef %9, i32 noundef %91, ptr noundef nonnull %7)
  br i1 %70, label %.lr.ph258, label %._crit_edge259.thread

._crit_edge259.thread:                            ; preds = %89
  call void @lu_list_init(ptr noundef %36, ptr noundef %38, i32 noundef %9, i32 noundef %91, ptr noundef nonnull %6)
  br label %._crit_edge273

.lr.ph258:                                        ; preds = %89
  %92 = sitofp i32 %28 to double
  %wide.trip.count289 = zext nneg i32 %9 to i64
  br label %93

93:                                               ; preds = %.lr.ph258, %157
  %indvars.iv286 = phi i64 [ 0, %.lr.ph258 ], [ %indvars.iv.next287, %157 ]
  %.0218256 = phi i32 [ 0, %.lr.ph258 ], [ %.3, %157 ]
  %.0228254 = phi i32 [ %63, %.lr.ph258 ], [ %.1229, %157 ]
  %94 = getelementptr inbounds i32, ptr %42, i64 %indvars.iv286
  %95 = load i32, ptr %94, align 4, !tbaa !16
  %96 = icmp sgt i32 %95, -1
  br i1 %96, label %157, label %97

97:                                               ; preds = %93
  %98 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv286
  %99 = load i32, ptr %98, align 4, !tbaa !16
  %100 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv286
  %101 = load i32, ptr %100, align 4, !tbaa !16
  %102 = icmp slt i32 %99, %101
  br i1 %102, label %.lr.ph245.preheader, label %._crit_edge246.thread

.lr.ph245.preheader:                              ; preds = %97
  %103 = sext i32 %99 to i64
  %wide.trip.count281 = sext i32 %101 to i64
  br label %.lr.ph245

.lr.ph245:                                        ; preds = %.lr.ph245.preheader, %116
  %indvars.iv278 = phi i64 [ %103, %.lr.ph245.preheader ], [ %indvars.iv.next279, %116 ]
  %.0243 = phi double [ 0.000000e+00, %.lr.ph245.preheader ], [ %.1, %116 ]
  %.0216242 = phi i32 [ 0, %.lr.ph245.preheader ], [ %.1217, %116 ]
  %104 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv278
  %105 = load i32, ptr %104, align 4, !tbaa !16
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds i32, ptr %40, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !16
  %109 = icmp sgt i32 %108, -1
  br i1 %109, label %116, label %110

110:                                              ; preds = %.lr.ph245
  %111 = getelementptr inbounds double, ptr %4, i64 %indvars.iv278
  %112 = load double, ptr %111, align 8, !tbaa !38
  %113 = call double @llvm.fabs.f64(double %112)
  %114 = call double @llvm.maxnum.f64(double %.0243, double %113)
  %115 = add nsw i32 %.0216242, 1
  br label %116

116:                                              ; preds = %.lr.ph245, %110
  %.1217 = phi i32 [ %.0216242, %.lr.ph245 ], [ %115, %110 ]
  %.1 = phi double [ %.0243, %.lr.ph245 ], [ %114, %110 ]
  %indvars.iv.next279 = add nsw i64 %indvars.iv278, 1
  %exitcond282.not = icmp eq i64 %indvars.iv.next279, %wide.trip.count281
  br i1 %exitcond282.not, label %._crit_edge246, label %.lr.ph245, !llvm.loop !39

._crit_edge246:                                   ; preds = %116
  %117 = fcmp oeq double %.1, 0.000000e+00
  %118 = fcmp olt double %.1, %26
  %or.cond = select i1 %117, i1 true, i1 %118
  br i1 %or.cond, label %._crit_edge246.thread, label %122

._crit_edge246.thread:                            ; preds = %97, %._crit_edge246
  %.0216.lcssa312 = phi i32 [ %.1217, %._crit_edge246 ], [ 0, %97 ]
  %119 = getelementptr inbounds double, ptr %59, i64 %indvars.iv286
  store double 0.000000e+00, ptr %119, align 8, !tbaa !38
  %120 = trunc nuw nsw i64 %indvars.iv286 to i32
  call void @lu_list_add(i32 noundef %120, i32 noundef 0, ptr noundef %32, ptr noundef %34, i32 noundef %9, ptr noundef nonnull %7)
  %121 = sub nsw i32 %.0228254, %.0216.lcssa312
  br label %157

122:                                              ; preds = %._crit_edge246
  %123 = getelementptr inbounds double, ptr %59, i64 %indvars.iv286
  store double %.1, ptr %123, align 8, !tbaa !38
  %124 = trunc nuw nsw i64 %indvars.iv286 to i32
  call void @lu_list_add(i32 noundef %124, i32 noundef %.1217, ptr noundef %32, ptr noundef %34, i32 noundef %9, ptr noundef nonnull %7)
  %125 = getelementptr inbounds i32, ptr %44, i64 %indvars.iv286
  store i32 %.0218256, ptr %125, align 4, !tbaa !16
  %126 = load i32, ptr %98, align 4, !tbaa !16
  %127 = load i32, ptr %100, align 4, !tbaa !16
  %128 = icmp slt i32 %126, %127
  br i1 %128, label %.lr.ph251.preheader, label %._crit_edge252

.lr.ph251.preheader:                              ; preds = %122
  %129 = sext i32 %126 to i64
  br label %.lr.ph251

.lr.ph251:                                        ; preds = %.lr.ph251.preheader, %147
  %130 = phi i32 [ %127, %.lr.ph251.preheader ], [ %148, %147 ]
  %indvars.iv283 = phi i64 [ %129, %.lr.ph251.preheader ], [ %indvars.iv.next284, %147 ]
  %.1219249 = phi i32 [ %.0218256, %.lr.ph251.preheader ], [ %.2, %147 ]
  %131 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv283
  %132 = load i32, ptr %131, align 4, !tbaa !16
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds i32, ptr %40, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !16
  %136 = icmp sgt i32 %135, -1
  br i1 %136, label %147, label %137

137:                                              ; preds = %.lr.ph251
  %138 = sext i32 %.1219249 to i64
  %139 = getelementptr inbounds i32, ptr %55, i64 %138
  store i32 %132, ptr %139, align 4, !tbaa !16
  %140 = getelementptr inbounds double, ptr %4, i64 %indvars.iv283
  %141 = load double, ptr %140, align 8, !tbaa !38
  %142 = add nsw i32 %.1219249, 1
  %143 = getelementptr inbounds double, ptr %57, i64 %138
  store double %141, ptr %143, align 8, !tbaa !38
  %144 = getelementptr inbounds i32, ptr %61, i64 %133
  %145 = load i32, ptr %144, align 4, !tbaa !16
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %144, align 4, !tbaa !16
  %.pre = load i32, ptr %100, align 4, !tbaa !16
  br label %147

147:                                              ; preds = %.lr.ph251, %137
  %148 = phi i32 [ %130, %.lr.ph251 ], [ %.pre, %137 ]
  %.2 = phi i32 [ %.1219249, %.lr.ph251 ], [ %142, %137 ]
  %indvars.iv.next284 = add nsw i64 %indvars.iv283, 1
  %149 = sext i32 %148 to i64
  %150 = icmp slt i64 %indvars.iv.next284, %149
  br i1 %150, label %.lr.ph251, label %._crit_edge252, !llvm.loop !40

._crit_edge252:                                   ; preds = %147, %122
  %.1219.lcssa = phi i32 [ %.0218256, %122 ], [ %.2, %147 ]
  %151 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv286
  store i32 %.1219.lcssa, ptr %151, align 4, !tbaa !16
  %152 = sitofp i32 %.1217 to double
  %153 = call double @llvm.fmuladd.f64(double %30, double %152, double %92)
  %154 = sitofp i32 %.1219.lcssa to double
  %155 = fadd double %153, %154
  %156 = fptosi double %155 to i32
  call void @lu_list_move(i32 noundef %124, i32 noundef 0, ptr noundef %51, ptr noundef %53, i32 noundef %90, ptr noundef null)
  br label %157

157:                                              ; preds = %._crit_edge246.thread, %._crit_edge252, %93
  %.1229 = phi i32 [ %.0228254, %93 ], [ %121, %._crit_edge246.thread ], [ %.0228254, %._crit_edge252 ]
  %.3 = phi i32 [ %.0218256, %93 ], [ %.0218256, %._crit_edge246.thread ], [ %156, %._crit_edge252 ]
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %exitcond290.not = icmp eq i64 %indvars.iv.next287, %wide.trip.count289
  br i1 %exitcond290.not, label %._crit_edge259, label %93, !llvm.loop !41

._crit_edge259:                                   ; preds = %157
  call void @lu_list_init(ptr noundef %36, ptr noundef %38, i32 noundef %9, i32 noundef %91, ptr noundef nonnull %6)
  br i1 %70, label %.lr.ph265, label %._crit_edge273

.lr.ph265:                                        ; preds = %._crit_edge259
  %158 = sitofp i32 %28 to double
  %159 = zext nneg i32 %9 to i64
  br label %160

.preheader238:                                    ; preds = %178
  br i1 %70, label %.lr.ph272.preheader, label %._crit_edge273

.lr.ph272.preheader:                              ; preds = %.preheader238
  %wide.trip.count302 = zext nneg i32 %9 to i64
  br label %.lr.ph272

160:                                              ; preds = %.lr.ph265, %178
  %indvars.iv291 = phi i64 [ 0, %.lr.ph265 ], [ %indvars.iv.next292, %178 ]
  %.4263 = phi i32 [ %.3, %.lr.ph265 ], [ %.5, %178 ]
  %161 = getelementptr inbounds i32, ptr %40, i64 %indvars.iv291
  %162 = load i32, ptr %161, align 4, !tbaa !16
  %163 = icmp sgt i32 %162, -1
  br i1 %163, label %178, label %164

164:                                              ; preds = %160
  %165 = getelementptr inbounds i32, ptr %61, i64 %indvars.iv291
  %166 = load i32, ptr %165, align 4, !tbaa !16
  store i32 0, ptr %165, align 4, !tbaa !16
  %167 = trunc nuw nsw i64 %indvars.iv291 to i32
  call void @lu_list_add(i32 noundef %167, i32 noundef %166, ptr noundef %36, ptr noundef %38, i32 noundef %9, ptr noundef nonnull %6)
  %168 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv291
  store i32 %.4263, ptr %168, align 4, !tbaa !16
  %169 = getelementptr inbounds i32, ptr %48, i64 %indvars.iv291
  store i32 %.4263, ptr %169, align 4, !tbaa !16
  %170 = add nsw i32 %166, %.4263
  %171 = trunc i64 %indvars.iv291 to i32
  %172 = add i32 %9, %171
  call void @lu_list_move(i32 noundef %172, i32 noundef 0, ptr noundef %51, ptr noundef %53, i32 noundef %90, ptr noundef null)
  %173 = sitofp i32 %166 to double
  %174 = call double @llvm.fmuladd.f64(double %30, double %173, double %158)
  %175 = sitofp i32 %170 to double
  %176 = fadd double %174, %175
  %177 = fptosi double %176 to i32
  br label %178

178:                                              ; preds = %160, %164
  %.5 = phi i32 [ %.4263, %160 ], [ %177, %164 ]
  %indvars.iv.next292 = add nuw nsw i64 %indvars.iv291, 1
  %exitcond295.not = icmp eq i64 %indvars.iv.next292, %159
  br i1 %exitcond295.not, label %.preheader238, label %160, !llvm.loop !42

.lr.ph272:                                        ; preds = %.lr.ph272.preheader, %._crit_edge270
  %indvars.iv299 = phi i64 [ 0, %.lr.ph272.preheader ], [ %indvars.iv.next300, %._crit_edge270 ]
  %179 = getelementptr inbounds i32, ptr %44, i64 %indvars.iv299
  %180 = load i32, ptr %179, align 4, !tbaa !16
  %181 = getelementptr inbounds i32, ptr %46, i64 %indvars.iv299
  %182 = load i32, ptr %181, align 4, !tbaa !16
  %183 = icmp slt i32 %180, %182
  br i1 %183, label %.lr.ph269.preheader, label %._crit_edge270

.lr.ph269.preheader:                              ; preds = %.lr.ph272
  %184 = sext i32 %180 to i64
  %185 = trunc nuw nsw i64 %indvars.iv299 to i32
  br label %.lr.ph269

.lr.ph269:                                        ; preds = %.lr.ph269.preheader, %.lr.ph269
  %indvars.iv296 = phi i64 [ %184, %.lr.ph269.preheader ], [ %indvars.iv.next297, %.lr.ph269 ]
  %186 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv296
  %187 = load i32, ptr %186, align 4, !tbaa !16
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds i32, ptr %49, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !16
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %189, align 4, !tbaa !16
  %192 = sext i32 %190 to i64
  %193 = getelementptr inbounds i32, ptr %55, i64 %192
  store i32 %185, ptr %193, align 4, !tbaa !16
  %indvars.iv.next297 = add nsw i64 %indvars.iv296, 1
  %194 = load i32, ptr %181, align 4, !tbaa !16
  %195 = sext i32 %194 to i64
  %196 = icmp slt i64 %indvars.iv.next297, %195
  br i1 %196, label %.lr.ph269, label %._crit_edge270, !llvm.loop !43

._crit_edge270:                                   ; preds = %.lr.ph269, %.lr.ph272
  %indvars.iv.next300 = add nuw nsw i64 %indvars.iv299, 1
  %exitcond303.not = icmp eq i64 %indvars.iv.next300, %wide.trip.count302
  br i1 %exitcond303.not, label %._crit_edge273, label %.lr.ph272, !llvm.loop !44

._crit_edge273:                                   ; preds = %._crit_edge270, %._crit_edge259, %._crit_edge259.thread, %.preheader238
  %.4.lcssa319 = phi i32 [ %.5, %.preheader238 ], [ 0, %._crit_edge259.thread ], [ %.3, %._crit_edge259 ], [ %.5, %._crit_edge270 ]
  %.0228.lcssa315318 = phi i32 [ %.1229, %.preheader238 ], [ %63, %._crit_edge259.thread ], [ %.1229, %._crit_edge259 ], [ %.1229, %._crit_edge270 ]
  %197 = sext i32 %90 to i64
  %198 = getelementptr inbounds i32, ptr %44, i64 %197
  store i32 %.4.lcssa319, ptr %198, align 4, !tbaa !16
  %199 = getelementptr inbounds i32, ptr %46, i64 %197
  %200 = load i32, ptr %199, align 4, !tbaa !16
  %.not235 = icmp sgt i32 %.4.lcssa319, %200
  br i1 %.not235, label %201, label %202

201:                                              ; preds = %._crit_edge273
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 183, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

202:                                              ; preds = %._crit_edge273
  %203 = call i32 @lu_file_diff(i32 noundef %9, ptr noundef nonnull %44, ptr noundef nonnull %46, ptr noundef nonnull %48, ptr noundef nonnull %49, ptr noundef %55, ptr noundef null) #6
  %204 = icmp eq i32 %203, 0
  br i1 %204, label %206, label %205

205:                                              ; preds = %202
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 185, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

206:                                              ; preds = %202
  %207 = call i32 @lu_file_diff(i32 noundef %9, ptr noundef nonnull %48, ptr noundef nonnull %49, ptr noundef nonnull %44, ptr noundef nonnull %46, ptr noundef %55, ptr noundef null) #6
  %208 = icmp eq i32 %207, 0
  br i1 %208, label %.preheader, label %209

.preheader:                                       ; preds = %206
  br i1 %70, label %.lr.ph275.preheader, label %._crit_edge276

.lr.ph275.preheader:                              ; preds = %.preheader
  %wide.trip.count307 = zext nneg i32 %9 to i64
  br label %.lr.ph275

209:                                              ; preds = %206
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 186, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

210:                                              ; preds = %.lr.ph275
  %indvars.iv.next305 = add nuw nsw i64 %indvars.iv304, 1
  %exitcond308.not = icmp eq i64 %indvars.iv.next305, %wide.trip.count307
  br i1 %exitcond308.not, label %._crit_edge276, label %.lr.ph275, !llvm.loop !45

.lr.ph275:                                        ; preds = %.lr.ph275.preheader, %210
  %indvars.iv304 = phi i64 [ 0, %.lr.ph275.preheader ], [ %indvars.iv.next305, %210 ]
  %211 = getelementptr inbounds i32, ptr %61, i64 %indvars.iv304
  %212 = load i32, ptr %211, align 4, !tbaa !16
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %210, label %214

214:                                              ; preds = %.lr.ph275
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 190, ptr noundef nonnull @__PRETTY_FUNCTION__.lu_setup_bump) #7
  unreachable

._crit_edge276:                                   ; preds = %210, %.preheader
  %215 = getelementptr inbounds i8, ptr %0, i64 324
  store i32 %.0228.lcssa315318, ptr %215, align 4, !tbaa !46
  %216 = getelementptr inbounds i8, ptr %0, i64 320
  store i32 %79, ptr %216, align 8, !tbaa !47
  %217 = load i32, ptr %7, align 4, !tbaa !16
  %218 = getelementptr inbounds i8, ptr %0, i64 408
  store i32 %217, ptr %218, align 8, !tbaa !48
  %219 = load i32, ptr %6, align 4, !tbaa !16
  %220 = getelementptr inbounds i8, ptr %0, i64 412
  store i32 %219, ptr %220, align 4, !tbaa !49
  br label %221

221:                                              ; preds = %._crit_edge276, %86
  %.0215 = phi i32 [ 1, %86 ], [ 0, %._crit_edge276 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  ret i32 %.0215
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

declare void @lu_file_empty(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_init(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.maxnum.f64(double, double) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_add(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @lu_list_move(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

declare i32 @lu_file_diff(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 84}
!6 = !{!"lu", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !7, i64 316}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 312}
!15 = !{!6, !11, i64 632}
!16 = !{!7, !7, i64 0}
!17 = !{!6, !11, i64 640}
!18 = !{!6, !10, i64 24}
!19 = !{!6, !7, i64 48}
!20 = !{!6, !10, i64 56}
!21 = !{!6, !11, i64 464}
!22 = !{!6, !11, i64 480}
!23 = !{!6, !11, i64 496}
!24 = !{!6, !11, i64 520}
!25 = !{!6, !11, i64 600}
!26 = !{!6, !11, i64 616}
!27 = !{!6, !11, i64 536}
!28 = !{!6, !11, i64 552}
!29 = !{!6, !11, i64 568}
!30 = !{!6, !11, i64 584}
!31 = !{!6, !11, i64 432}
!32 = !{!6, !11, i64 456}
!33 = !{!6, !11, i64 680}
!34 = !{!6, !11, i64 648}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!6, !7, i64 96}
!38 = !{!10, !10, i64 0}
!39 = distinct !{!39, !36}
!40 = distinct !{!40, !36}
!41 = distinct !{!41, !36}
!42 = distinct !{!42, !36}
!43 = distinct !{!43, !36}
!44 = distinct !{!44, !36}
!45 = distinct !{!45, !36}
!46 = !{!6, !7, i64 324}
!47 = !{!6, !7, i64 320}
!48 = !{!6, !7, i64 408}
!49 = !{!6, !7, i64 412}


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