; LLVM IR from CLASS-SZ/class_sz :: class-sz/source (background)

; 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.background = type { double, double, double, double, double, double, double, i32, double, double, double, double, i16, double, double, double, double, double, double, double, double, double, i16, double, double, ptr, i32, i32, double, i32, ptr, ptr, double, ptr, double, ptr, double, ptr, double, ptr, ptr, ptr, double, double, double, double, i32, ptr, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i16, i16, i16, i16, i16, [2048 x i8], i16, [2048 x i8] }

@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [210 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@__func__.background_w_fld = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [104 x i8], align 1

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

declare void @class_protect_sprintf(ptr noundef, 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
declare double @pow(double noundef, double noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @background_w_fld(ptr noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #4 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  %20 = alloca i32, align 4
  %21 = alloca [2048 x i8], align 16
  %22 = alloca [2048 x i8], align 16
  store ptr %0, ptr %7, align 8, !tbaa !5
  store double %1, ptr %8, align 8, !tbaa !9
  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 8, ptr %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.background, ptr %23, i32 0, i32 7
  %25 = load i32, ptr %24, align 8, !tbaa !11
  switch i32 %25, label %246 [
    i32 0, label %26
    i32 1, label %41
  ]

26:                                               ; preds = %5
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.background, ptr %27, i32 0, i32 8
  %29 = load double, ptr %28, align 8, !tbaa !15
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.background, ptr %30, i32 0, i32 9
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = load double, ptr %8, align 8, !tbaa !9
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.background, ptr %34, i32 0, i32 58
  %36 = load double, ptr %35, align 8, !tbaa !17
  %37 = fdiv double %33, %36
  %38 = fsub double 1.000000e+00, %37
  %39 = call double @llvm.fmuladd.f64(double %32, double %38, double %29)
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  store double %39, ptr %40, align 8, !tbaa !9
  br label %246

41:                                               ; preds = %5
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.background, ptr %42, i32 0, i32 6
  %44 = load double, ptr %43, align 8, !tbaa !18
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.background, ptr %45, i32 0, i32 10
  %47 = load double, ptr %46, align 8, !tbaa !19
  %48 = load double, ptr %8, align 8, !tbaa !9
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.background, ptr %49, i32 0, i32 8
  %51 = load double, ptr %50, align 8, !tbaa !15
  %52 = fmul double -3.000000e+00, %51
  %53 = call double @pow(double noundef %48, double noundef %52) #5
  %54 = fsub double 1.000000e+00, %53
  %55 = fneg double %47
  %56 = call double @llvm.fmuladd.f64(double %55, double %54, double %44)
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.background, ptr %57, i32 0, i32 6
  %59 = load double, ptr %58, align 8, !tbaa !18
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.background, ptr %60, i32 0, i32 6
  %62 = load double, ptr %61, align 8, !tbaa !18
  %63 = fsub double 1.000000e+00, %62
  %64 = load double, ptr %8, align 8, !tbaa !9
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.background, ptr %65, i32 0, i32 8
  %67 = load double, ptr %66, align 8, !tbaa !15
  %68 = fmul double 3.000000e+00, %67
  %69 = call double @pow(double noundef %64, double noundef %68) #5
  %70 = call double @llvm.fmuladd.f64(double %63, double %69, double %59)
  %71 = fdiv double %56, %70
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.background, ptr %72, i32 0, i32 10
  %74 = load double, ptr %73, align 8, !tbaa !19
  %75 = load double, ptr %8, align 8, !tbaa !9
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.background, ptr %76, i32 0, i32 8
  %78 = load double, ptr %77, align 8, !tbaa !15
  %79 = fmul double -3.000000e+00, %78
  %80 = call double @pow(double noundef %75, double noundef %79) #5
  %81 = fsub double 1.000000e+00, %80
  %82 = call double @llvm.fmuladd.f64(double %74, double %81, double %71)
  store double %82, ptr %12, align 8, !tbaa !9
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.background, ptr %83, i32 0, i32 10
  %85 = load double, ptr %84, align 8, !tbaa !19
  %86 = fneg double %85
  %87 = fmul double %86, 3.000000e+00
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.background, ptr %88, i32 0, i32 8
  %90 = load double, ptr %89, align 8, !tbaa !15
  %91 = fmul double %87, %90
  %92 = load double, ptr %8, align 8, !tbaa !9
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.background, ptr %93, i32 0, i32 8
  %95 = load double, ptr %94, align 8, !tbaa !15
  %96 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %95, double -1.000000e+00)
  %97 = call double @pow(double noundef %92, double noundef %96) #5
  %98 = fmul double %91, %97
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.background, ptr %99, i32 0, i32 6
  %101 = load double, ptr %100, align 8, !tbaa !18
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.background, ptr %102, i32 0, i32 6
  %104 = load double, ptr %103, align 8, !tbaa !18
  %105 = fsub double 1.000000e+00, %104
  %106 = load double, ptr %8, align 8, !tbaa !9
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.background, ptr %107, i32 0, i32 8
  %109 = load double, ptr %108, align 8, !tbaa !15
  %110 = fmul double 3.000000e+00, %109
  %111 = call double @pow(double noundef %106, double noundef %110) #5
  %112 = call double @llvm.fmuladd.f64(double %105, double %111, double %101)
  %113 = fdiv double %98, %112
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.background, ptr %114, i32 0, i32 6
  %116 = load double, ptr %115, align 8, !tbaa !18
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.background, ptr %117, i32 0, i32 10
  %119 = load double, ptr %118, align 8, !tbaa !19
  %120 = load double, ptr %8, align 8, !tbaa !9
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.background, ptr %121, i32 0, i32 8
  %123 = load double, ptr %122, align 8, !tbaa !15
  %124 = fmul double -3.000000e+00, %123
  %125 = call double @pow(double noundef %120, double noundef %124) #5
  %126 = fsub double 1.000000e+00, %125
  %127 = fneg double %119
  %128 = call double @llvm.fmuladd.f64(double %127, double %126, double %116)
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.background, ptr %129, i32 0, i32 6
  %131 = load double, ptr %130, align 8, !tbaa !18
  %132 = fsub double 1.000000e+00, %131
  %133 = fmul double %128, %132
  %134 = fmul double %133, 3.000000e+00
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.background, ptr %135, i32 0, i32 8
  %137 = load double, ptr %136, align 8, !tbaa !15
  %138 = fmul double %134, %137
  %139 = load double, ptr %8, align 8, !tbaa !9
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.background, ptr %140, i32 0, i32 8
  %142 = load double, ptr %141, align 8, !tbaa !15
  %143 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %142, double -1.000000e+00)
  %144 = call double @pow(double noundef %139, double noundef %143) #5
  %145 = fmul double %138, %144
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.background, ptr %146, i32 0, i32 6
  %148 = load double, ptr %147, align 8, !tbaa !18
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.background, ptr %149, i32 0, i32 6
  %151 = load double, ptr %150, align 8, !tbaa !18
  %152 = fsub double 1.000000e+00, %151
  %153 = load double, ptr %8, align 8, !tbaa !9
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.background, ptr %154, i32 0, i32 8
  %156 = load double, ptr %155, align 8, !tbaa !15
  %157 = fmul double 3.000000e+00, %156
  %158 = call double @pow(double noundef %153, double noundef %157) #5
  %159 = call double @llvm.fmuladd.f64(double %152, double %158, double %148)
  %160 = call double @pow(double noundef %159, double noundef 2.000000e+00) #5
  %161 = fdiv double %145, %160
  %162 = fsub double %113, %161
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.background, ptr %163, i32 0, i32 10
  %165 = load double, ptr %164, align 8, !tbaa !19
  %166 = fmul double %165, 3.000000e+00
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.background, ptr %167, i32 0, i32 8
  %169 = load double, ptr %168, align 8, !tbaa !15
  %170 = fmul double %166, %169
  %171 = load double, ptr %8, align 8, !tbaa !9
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.background, ptr %172, i32 0, i32 8
  %174 = load double, ptr %173, align 8, !tbaa !15
  %175 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %174, double -1.000000e+00)
  %176 = call double @pow(double noundef %171, double noundef %175) #5
  %177 = call double @llvm.fmuladd.f64(double %170, double %176, double %162)
  store double %177, ptr %13, align 8, !tbaa !9
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.background, ptr %178, i32 0, i32 1
  %180 = load double, ptr %179, align 8, !tbaa !20
  %181 = call double @pow(double noundef 0x3FD745D1745D1746, double noundef 0x3FF5555555555555) #5
  %182 = call double @llvm.fmuladd.f64(double 2.665250e+00, double %181, double 1.000000e+00)
  %183 = fmul double %180, %182
  store double %183, ptr %16, align 8, !tbaa !9
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.background, ptr %184, i32 0, i32 3
  %186 = load double, ptr %185, align 8, !tbaa !21
  store double %186, ptr %17, align 8, !tbaa !9
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.background, ptr %187, i32 0, i32 119
  %189 = load i16, ptr %188, align 4, !tbaa !22
  %190 = sext i16 %189 to i32
  %191 = icmp eq i32 %190, 1
  br i1 %191, label %192, label %198

192:                                              ; preds = %41
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.background, ptr %193, i32 0, i32 4
  %195 = load double, ptr %194, align 8, !tbaa !23
  %196 = load double, ptr %17, align 8, !tbaa !9
  %197 = fadd double %196, %195
  store double %197, ptr %17, align 8, !tbaa !9
  br label %198

198:                                              ; preds = %192, %41
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.background, ptr %199, i32 0, i32 128
  %201 = load i16, ptr %200, align 2, !tbaa !24
  %202 = sext i16 %201 to i32
  %203 = icmp eq i32 %202, 1
  br i1 %203, label %204, label %210

204:                                              ; preds = %198
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.background, ptr %205, i32 0, i32 17
  %207 = load double, ptr %206, align 8, !tbaa !25
  %208 = load double, ptr %17, align 8, !tbaa !9
  %209 = fadd double %208, %207
  store double %209, ptr %17, align 8, !tbaa !9
  br label %210

210:                                              ; preds = %204, %198
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.background, ptr %211, i32 0, i32 120
  %213 = load i16, ptr %212, align 2, !tbaa !26
  %214 = sext i16 %213 to i32
  %215 = icmp eq i32 %214, 1
  br i1 %215, label %216, label %224

216:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 2048, ptr %18) #5
  %217 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %217, ptr noundef @.str.20)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %19) #5
  %218 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  %219 = getelementptr inbounds [2048 x i8], ptr %18, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %218, ptr noundef @.str.21, ptr noundef %219)
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.background, ptr %220, i32 0, i32 149
  %222 = getelementptr inbounds [2048 x i8], ptr %221, i64 0, i64 0
  %223 = getelementptr inbounds [2048 x i8], ptr %19, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %222, ptr noundef @.str.3, ptr noundef @__func__.background_w_fld, i32 noundef 553, ptr noundef %223)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %19) #5
  store i32 1, ptr %6, align 4
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %18) #5
  br label %347

224:                                              ; preds = %210
  %225 = load double, ptr %16, align 8, !tbaa !9
  %226 = load double, ptr %17, align 8, !tbaa !9
  %227 = fdiv double %225, %226
  store double %227, ptr %15, align 8, !tbaa !9
  %228 = load double, ptr %13, align 8, !tbaa !9
  %229 = fneg double %228
  %230 = load double, ptr %8, align 8, !tbaa !9
  %231 = fmul double %229, %230
  %232 = load double, ptr %12, align 8, !tbaa !9
  %233 = fdiv double %231, %232
  %234 = fdiv double %233, 3.000000e+00
  %235 = load double, ptr %12, align 8, !tbaa !9
  %236 = fsub double 1.000000e+00, %235
  %237 = fdiv double %234, %236
  %238 = load double, ptr %15, align 8, !tbaa !9
  %239 = fdiv double %238, 3.000000e+00
  %240 = load double, ptr %8, align 8, !tbaa !9
  %241 = load double, ptr %15, align 8, !tbaa !9
  %242 = fadd double %240, %241
  %243 = fdiv double %239, %242
  %244 = fadd double %237, %243
  %245 = load ptr, ptr %9, align 8, !tbaa !5
  store double %244, ptr %245, align 8, !tbaa !9
  br label %246

246:                                              ; preds = %224, %26, %5
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.background, ptr %247, i32 0, i32 7
  %249 = load i32, ptr %248, align 8, !tbaa !11
  switch i32 %249, label %306 [
    i32 0, label %250
    i32 1, label %260
  ]

250:                                              ; preds = %246
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.background, ptr %251, i32 0, i32 9
  %253 = load double, ptr %252, align 8, !tbaa !16
  %254 = fneg double %253
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.background, ptr %255, i32 0, i32 58
  %257 = load double, ptr %256, align 8, !tbaa !17
  %258 = fdiv double %254, %257
  %259 = load ptr, ptr %10, align 8, !tbaa !5
  store double %258, ptr %259, align 8, !tbaa !9
  br label %306

260:                                              ; preds = %246
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  %261 = load double, ptr %14, align 8, !tbaa !9
  %262 = fneg double %261
  %263 = load double, ptr %8, align 8, !tbaa !9
  %264 = fmul double %262, %263
  %265 = fdiv double %264, 3.000000e+00
  %266 = load double, ptr %12, align 8, !tbaa !9
  %267 = fsub double 1.000000e+00, %266
  %268 = fdiv double %265, %267
  %269 = load double, ptr %12, align 8, !tbaa !9
  %270 = fdiv double %268, %269
  %271 = load double, ptr %13, align 8, !tbaa !9
  %272 = fdiv double %271, 3.000000e+00
  %273 = load double, ptr %12, align 8, !tbaa !9
  %274 = fsub double 1.000000e+00, %273
  %275 = fdiv double %272, %274
  %276 = load double, ptr %12, align 8, !tbaa !9
  %277 = fdiv double %275, %276
  %278 = fsub double %270, %277
  %279 = load double, ptr %13, align 8, !tbaa !9
  %280 = load double, ptr %13, align 8, !tbaa !9
  %281 = fmul double %279, %280
  %282 = load double, ptr %8, align 8, !tbaa !9
  %283 = fmul double %281, %282
  %284 = fdiv double %283, 3.000000e+00
  %285 = load double, ptr %12, align 8, !tbaa !9
  %286 = fsub double 1.000000e+00, %285
  %287 = fdiv double %284, %286
  %288 = load double, ptr %12, align 8, !tbaa !9
  %289 = fsub double 1.000000e+00, %288
  %290 = fdiv double %287, %289
  %291 = load double, ptr %12, align 8, !tbaa !9
  %292 = fdiv double %290, %291
  %293 = fadd double %278, %292
  %294 = load double, ptr %15, align 8, !tbaa !9
  %295 = fdiv double %294, 3.000000e+00
  %296 = load double, ptr %8, align 8, !tbaa !9
  %297 = load double, ptr %15, align 8, !tbaa !9
  %298 = fadd double %296, %297
  %299 = fdiv double %295, %298
  %300 = load double, ptr %8, align 8, !tbaa !9
  %301 = load double, ptr %15, align 8, !tbaa !9
  %302 = fadd double %300, %301
  %303 = fdiv double %299, %302
  %304 = fadd double %293, %303
  %305 = load ptr, ptr %10, align 8, !tbaa !5
  store double %304, ptr %305, align 8, !tbaa !9
  br label %306

306:                                              ; preds = %260, %250, %246
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.background, ptr %307, i32 0, i32 7
  %309 = load i32, ptr %308, align 8, !tbaa !11
  switch i32 %309, label %346 [
    i32 0, label %310
    i32 1, label %338
  ]

310:                                              ; preds = %306
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.background, ptr %311, i32 0, i32 8
  %313 = load double, ptr %312, align 8, !tbaa !15
  %314 = fadd double 1.000000e+00, %313
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.background, ptr %315, i32 0, i32 9
  %317 = load double, ptr %316, align 8, !tbaa !16
  %318 = fadd double %314, %317
  %319 = load ptr, ptr %7, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.background, ptr %319, i32 0, i32 58
  %321 = load double, ptr %320, align 8, !tbaa !17
  %322 = load double, ptr %8, align 8, !tbaa !9
  %323 = fdiv double %321, %322
  %324 = call double @log(double noundef %323) #5
  %325 = load ptr, ptr %7, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.background, ptr %325, i32 0, i32 9
  %327 = load double, ptr %326, align 8, !tbaa !16
  %328 = load double, ptr %8, align 8, !tbaa !9
  %329 = load ptr, ptr %7, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.background, ptr %329, i32 0, i32 58
  %331 = load double, ptr %330, align 8, !tbaa !17
  %332 = fdiv double %328, %331
  %333 = fsub double %332, 1.000000e+00
  %334 = fmul double %327, %333
  %335 = call double @llvm.fmuladd.f64(double %318, double %324, double %334)
  %336 = fmul double 3.000000e+00, %335
  %337 = load ptr, ptr %11, align 8, !tbaa !5
  store double %336, ptr %337, align 8, !tbaa !9
  br label %346

338:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 2048, ptr %21) #5
  %339 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %339, ptr noundef @.str.22)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %22) #5
  %340 = getelementptr inbounds [2048 x i8], ptr %22, i64 0, i64 0
  %341 = getelementptr inbounds [2048 x i8], ptr %21, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %340, ptr noundef @.str.21, ptr noundef %341)
  %342 = load ptr, ptr %7, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.background, ptr %342, i32 0, i32 149
  %344 = getelementptr inbounds [2048 x i8], ptr %343, i64 0, i64 0
  %345 = getelementptr inbounds [2048 x i8], ptr %22, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %344, ptr noundef @.str.3, ptr noundef @__func__.background_w_fld, i32 noundef 595, ptr noundef %345)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %22) #5
  store i32 1, ptr %6, align 4
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %21) #5
  br label %347

346:                                              ; preds = %310, %306
  store i32 0, ptr %6, align 4
  store i32 1, ptr %20, align 4
  br label %347

347:                                              ; preds = %346, %338, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %348 = load i32, ptr %6, align 4
  ret i32 %348
}

; Function Attrs: nounwind
declare double @log(double noundef) #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 "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 56}
!12 = !{!"background", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !13, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !14, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !14, i64 176, !10, i64 184, !10, i64 192, !6, i64 200, !13, i64 208, !13, i64 212, !10, i64 216, !13, i64 224, !6, i64 232, !6, i64 240, !10, i64 248, !6, i64 256, !10, i64 264, !6, i64 272, !10, i64 280, !6, i64 288, !10, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !13, i64 360, !6, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !13, i64 464, !13, i64 468, !13, i64 472, !13, i64 476, !13, i64 480, !13, i64 484, !13, i64 488, !13, i64 492, !13, i64 496, !13, i64 500, !13, i64 504, !13, i64 508, !13, i64 512, !13, i64 516, !13, i64 520, !13, i64 524, !13, i64 528, !13, i64 532, !13, i64 536, !13, i64 540, !13, i64 544, !13, i64 548, !13, i64 552, !13, i64 556, !13, i64 560, !13, i64 564, !13, i64 568, !13, i64 572, !13, i64 576, !13, i64 580, !13, i64 584, !13, i64 588, !13, i64 592, !13, i64 596, !13, i64 600, !13, i64 604, !13, i64 608, !13, i64 612, !13, i64 616, !13, i64 620, !13, i64 624, !13, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !13, i64 672, !13, i64 676, !13, i64 680, !13, i64 684, !13, i64 688, !13, i64 692, !13, i64 696, !13, i64 700, !13, i64 704, !13, i64 708, !13, i64 712, !13, i64 716, !13, i64 720, !14, i64 724, !14, i64 726, !14, i64 728, !14, i64 730, !14, i64 732, !14, i64 734, !14, i64 736, !14, i64 738, !14, i64 740, !14, i64 742, !14, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !14, i64 840, !14, i64 842, !14, i64 844, !14, i64 846, !14, i64 848, !14, i64 850, !7, i64 852, !14, i64 2900, !7, i64 2902}
!13 = !{!"int", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !10, i64 64}
!16 = !{!12, !10, i64 72}
!17 = !{!12, !10, i64 456}
!18 = !{!12, !10, i64 48}
!19 = !{!12, !10, i64 80}
!20 = !{!12, !10, i64 8}
!21 = !{!12, !10, i64 24}
!22 = !{!12, !14, i64 724}
!23 = !{!12, !10, i64 32}
!24 = !{!12, !14, i64 742}
!25 = !{!12, !10, i64 136}
!26 = !{!12, !14, i64 726}


; 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.3 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [210 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [10 x i8], align 1
@__func__.background_w_fld = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [104 x i8], align 1

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

declare void @class_protect_sprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double 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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @background_w_fld(ptr noundef %0, double noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #4 {
  %6 = alloca [2048 x i8], align 16
  %7 = alloca [2048 x i8], align 16
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = load i32, ptr %10, align 8, !tbaa !5
  switch i32 %11, label %136 [
    i32 0, label %12
    i32 1, label %22
  ]

12:                                               ; preds = %5
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = load double, ptr %13, align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = load double, ptr %15, align 8, !tbaa !14
  %17 = getelementptr inbounds i8, ptr %0, i64 456
  %18 = load double, ptr %17, align 8, !tbaa !15
  %19 = fdiv double %1, %18
  %20 = fsub double 1.000000e+00, %19
  %21 = tail call double @llvm.fmuladd.f64(double %16, double %20, double %14)
  br label %thread-pre-split

22:                                               ; preds = %5
  %23 = getelementptr inbounds i8, ptr %0, i64 48
  %24 = load double, ptr %23, align 8, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %0, i64 80
  %26 = load double, ptr %25, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %0, i64 64
  %28 = load double, ptr %27, align 8, !tbaa !13
  %29 = fmul double %28, -3.000000e+00
  %30 = tail call double @pow(double noundef %1, double noundef %29) #5
  %31 = fsub double 1.000000e+00, %30
  %32 = fneg double %26
  %33 = tail call double @llvm.fmuladd.f64(double %32, double %31, double %24)
  %34 = load double, ptr %23, align 8, !tbaa !16
  %35 = fsub double 1.000000e+00, %34
  %36 = load double, ptr %27, align 8, !tbaa !13
  %37 = fmul double %36, 3.000000e+00
  %38 = tail call double @pow(double noundef %1, double noundef %37) #5
  %39 = tail call double @llvm.fmuladd.f64(double %35, double %38, double %34)
  %40 = fdiv double %33, %39
  %41 = load double, ptr %25, align 8, !tbaa !17
  %42 = load double, ptr %27, align 8, !tbaa !13
  %43 = fmul double %42, -3.000000e+00
  %44 = tail call double @pow(double noundef %1, double noundef %43) #5
  %45 = fsub double 1.000000e+00, %44
  %46 = tail call double @llvm.fmuladd.f64(double %41, double %45, double %40)
  %47 = load double, ptr %25, align 8, !tbaa !17
  %48 = fmul double %47, -3.000000e+00
  %49 = load double, ptr %27, align 8, !tbaa !13
  %50 = fmul double %48, %49
  %51 = tail call double @llvm.fmuladd.f64(double %49, double -3.000000e+00, double -1.000000e+00)
  %52 = tail call double @pow(double noundef %1, double noundef %51) #5
  %53 = fmul double %50, %52
  %54 = load double, ptr %23, align 8, !tbaa !16
  %55 = fsub double 1.000000e+00, %54
  %56 = load double, ptr %27, align 8, !tbaa !13
  %57 = fmul double %56, 3.000000e+00
  %58 = tail call double @pow(double noundef %1, double noundef %57) #5
  %59 = tail call double @llvm.fmuladd.f64(double %55, double %58, double %54)
  %60 = fdiv double %53, %59
  %61 = load double, ptr %23, align 8, !tbaa !16
  %62 = load double, ptr %25, align 8, !tbaa !17
  %63 = load double, ptr %27, align 8, !tbaa !13
  %64 = fmul double %63, -3.000000e+00
  %65 = tail call double @pow(double noundef %1, double noundef %64) #5
  %66 = fsub double 1.000000e+00, %65
  %67 = fneg double %62
  %68 = tail call double @llvm.fmuladd.f64(double %67, double %66, double %61)
  %69 = load double, ptr %23, align 8, !tbaa !16
  %70 = fsub double 1.000000e+00, %69
  %71 = fmul double %68, %70
  %72 = fmul double %71, 3.000000e+00
  %73 = load double, ptr %27, align 8, !tbaa !13
  %74 = fmul double %73, %72
  %75 = tail call double @llvm.fmuladd.f64(double %73, double 3.000000e+00, double -1.000000e+00)
  %76 = tail call double @pow(double noundef %1, double noundef %75) #5
  %77 = fmul double %76, %74
  %78 = load double, ptr %23, align 8, !tbaa !16
  %79 = fsub double 1.000000e+00, %78
  %80 = load double, ptr %27, align 8, !tbaa !13
  %81 = fmul double %80, 3.000000e+00
  %82 = tail call double @pow(double noundef %1, double noundef %81) #5
  %83 = tail call double @llvm.fmuladd.f64(double %79, double %82, double %78)
  %square = fmul double %83, %83
  %84 = fdiv double %77, %square
  %85 = fsub double %60, %84
  %86 = load double, ptr %25, align 8, !tbaa !17
  %87 = fmul double %86, 3.000000e+00
  %88 = load double, ptr %27, align 8, !tbaa !13
  %89 = fmul double %87, %88
  %90 = tail call double @llvm.fmuladd.f64(double %88, double -3.000000e+00, double -1.000000e+00)
  %91 = tail call double @pow(double noundef %1, double noundef %90) #5
  %92 = tail call double @llvm.fmuladd.f64(double %89, double %91, double %85)
  %93 = getelementptr inbounds i8, ptr %0, i64 8
  %94 = load double, ptr %93, align 8, !tbaa !18
  %95 = fmul double %94, 0x3FFB117C415314AC
  %96 = getelementptr inbounds i8, ptr %0, i64 24
  %97 = load double, ptr %96, align 8, !tbaa !19
  %98 = getelementptr inbounds i8, ptr %0, i64 724
  %99 = load i16, ptr %98, align 4, !tbaa !20
  %100 = icmp eq i16 %99, 1
  br i1 %100, label %101, label %105

101:                                              ; preds = %22
  %102 = getelementptr inbounds i8, ptr %0, i64 32
  %103 = load double, ptr %102, align 8, !tbaa !21
  %104 = fadd double %97, %103
  br label %105

105:                                              ; preds = %101, %22
  %.0 = phi double [ %104, %101 ], [ %97, %22 ]
  %106 = getelementptr inbounds i8, ptr %0, i64 742
  %107 = load i16, ptr %106, align 2, !tbaa !22
  %108 = icmp eq i16 %107, 1
  br i1 %108, label %109, label %113

109:                                              ; preds = %105
  %110 = getelementptr inbounds i8, ptr %0, i64 136
  %111 = load double, ptr %110, align 8, !tbaa !23
  %112 = fadd double %.0, %111
  br label %113

113:                                              ; preds = %109, %105
  %.1 = phi double [ %112, %109 ], [ %.0, %105 ]
  %114 = getelementptr inbounds i8, ptr %0, i64 726
  %115 = load i16, ptr %114, align 2, !tbaa !24
  %116 = icmp eq i16 %115, 1
  br i1 %116, label %117, label %119

117:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %6) #5
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.20) #5
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %7) #5
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.21, ptr noundef nonnull %6) #5
  %118 = getelementptr inbounds i8, ptr %0, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %118, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_w_fld, i32 noundef 553, ptr noundef nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %6) #5
  br label %186

119:                                              ; preds = %113
  %120 = fneg double %92
  %121 = fmul double %120, %1
  %122 = fsub double 1.000000e+00, %46
  %123 = insertelement <2 x double> poison, double %121, i64 0
  %124 = insertelement <2 x double> %123, double %95, i64 1
  %125 = insertelement <2 x double> poison, double %46, i64 0
  %126 = insertelement <2 x double> %125, double %.1, i64 1
  %127 = fdiv <2 x double> %124, %126
  %128 = fdiv <2 x double> %127, <double 3.000000e+00, double 3.000000e+00>
  %129 = extractelement <2 x double> %127, i64 1
  %130 = fadd double %129, %1
  %131 = insertelement <2 x double> poison, double %122, i64 0
  %132 = insertelement <2 x double> %131, double %130, i64 1
  %133 = fdiv <2 x double> %128, %132
  %shift = shufflevector <2 x double> %133, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %134 = fadd <2 x double> %133, %shift
  %135 = extractelement <2 x double> %134, i64 0
  %.pr.pre = load i32, ptr %10, align 8, !tbaa !5
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %12, %119
  %.pr = phi i32 [ %.pr.pre, %119 ], [ 0, %12 ]
  %storemerge = phi double [ %135, %119 ], [ %21, %12 ]
  %.097.ph = phi double [ %46, %119 ], [ 0.000000e+00, %12 ]
  %.096.ph = phi double [ %92, %119 ], [ 0.000000e+00, %12 ]
  %.095.ph = phi double [ %129, %119 ], [ undef, %12 ]
  store double %storemerge, ptr %2, align 8, !tbaa !25
  br label %136

136:                                              ; preds = %thread-pre-split, %5
  %137 = phi i32 [ %.pr, %thread-pre-split ], [ %11, %5 ]
  %.097 = phi double [ %.097.ph, %thread-pre-split ], [ 0.000000e+00, %5 ]
  %.096 = phi double [ %.096.ph, %thread-pre-split ], [ 0.000000e+00, %5 ]
  %.095 = phi double [ %.095.ph, %thread-pre-split ], [ undef, %5 ]
  switch i32 %137, label %186 [
    i32 0, label %.thread
    i32 1, label %.thread98
  ]

.thread:                                          ; preds = %136
  %138 = getelementptr inbounds i8, ptr %0, i64 72
  %139 = load double, ptr %138, align 8, !tbaa !14
  %140 = fneg double %139
  %141 = getelementptr inbounds i8, ptr %0, i64 456
  %142 = load double, ptr %141, align 8, !tbaa !15
  %143 = fdiv double %140, %142
  store double %143, ptr %3, align 8, !tbaa !25
  %144 = getelementptr inbounds i8, ptr %0, i64 64
  %145 = load double, ptr %144, align 8, !tbaa !13
  %146 = fadd double %145, 1.000000e+00
  %147 = load double, ptr %138, align 8, !tbaa !14
  %148 = fadd double %146, %147
  %149 = load double, ptr %141, align 8, !tbaa !15
  %150 = fdiv double %149, %1
  %151 = tail call double @log(double noundef %150) #5
  %152 = load double, ptr %138, align 8, !tbaa !14
  %153 = load double, ptr %141, align 8, !tbaa !15
  %154 = fdiv double %1, %153
  %155 = fadd double %154, -1.000000e+00
  %156 = fmul double %152, %155
  %157 = tail call double @llvm.fmuladd.f64(double %148, double %151, double %156)
  %158 = fmul double %157, 3.000000e+00
  store double %158, ptr %4, align 8, !tbaa !25
  br label %186

.thread98:                                        ; preds = %136
  %159 = fmul double %1, -0.000000e+00
  %160 = fsub double 1.000000e+00, %.097
  %161 = fdiv double %.096, 3.000000e+00
  %162 = fdiv double %161, %160
  %163 = fdiv double %162, %.097
  %164 = fmul double %.096, %.096
  %165 = fmul double %164, %1
  %166 = fdiv double %165, 3.000000e+00
  %167 = insertelement <2 x double> poison, double %159, i64 0
  %168 = insertelement <2 x double> %167, double %166, i64 1
  %169 = insertelement <2 x double> <double 3.000000e+00, double poison>, double %160, i64 1
  %170 = fdiv <2 x double> %168, %169
  %171 = shufflevector <2 x double> %169, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %172 = fdiv <2 x double> %170, %171
  %173 = insertelement <2 x double> poison, double %.097, i64 0
  %174 = shufflevector <2 x double> %173, <2 x double> poison, <2 x i32> zeroinitializer
  %175 = fdiv <2 x double> %172, %174
  %176 = extractelement <2 x double> %175, i64 0
  %177 = fsub double %176, %163
  %178 = extractelement <2 x double> %175, i64 1
  %179 = fadd double %177, %178
  %180 = fdiv double %.095, 3.000000e+00
  %181 = fadd double %.095, %1
  %182 = fdiv double %180, %181
  %183 = fdiv double %182, %181
  %184 = fadd double %183, %179
  store double %184, ptr %3, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #5
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.22) #5
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #5
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.21, ptr noundef nonnull %8) #5
  %185 = getelementptr inbounds i8, ptr %0, i64 2902
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %185, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.background_w_fld, i32 noundef 595, ptr noundef nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #5
  br label %186

186:                                              ; preds = %136, %.thread, %.thread98, %117
  %.094 = phi i32 [ 1, %.thread98 ], [ 1, %117 ], [ 0, %.thread ], [ 0, %136 ]
  ret i32 %.094
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !10, i64 56}
!6 = !{!"background", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !11, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !11, i64 176, !7, i64 184, !7, i64 192, !12, i64 200, !10, i64 208, !10, i64 212, !7, i64 216, !10, i64 224, !12, i64 232, !12, i64 240, !7, i64 248, !12, i64 256, !7, i64 264, !12, i64 272, !7, i64 280, !12, i64 288, !7, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !10, i64 360, !12, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !11, i64 724, !11, i64 726, !11, i64 728, !11, i64 730, !11, i64 732, !11, i64 734, !11, i64 736, !11, i64 738, !11, i64 740, !11, i64 742, !11, i64 744, !12, i64 752, !12, i64 760, !12, i64 768, !12, i64 776, !12, i64 784, !12, i64 792, !12, i64 800, !12, i64 808, !12, i64 816, !12, i64 824, !12, i64 832, !11, i64 840, !11, i64 842, !11, i64 844, !11, i64 846, !11, i64 848, !11, i64 850, !8, i64 852, !11, i64 2900, !8, i64 2902}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 64}
!14 = !{!6, !7, i64 72}
!15 = !{!6, !7, i64 456}
!16 = !{!6, !7, i64 48}
!17 = !{!6, !7, i64 80}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !7, i64 24}
!20 = !{!6, !11, i64 724}
!21 = !{!6, !7, i64 32}
!22 = !{!6, !11, i64 742}
!23 = !{!6, !7, i64 136}
!24 = !{!6, !11, i64 726}
!25 = !{!7, !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass