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

; 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.nonlinear = type { i32, i32, i32, double, double, double, i16, i32, i32, i32, ptr, i16, i16, i32, i32, i32, i32, i32, i16, i32, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i16, [2048 x i8] }
%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.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [10 x i8], align 1
@__func__.nonlinear_hmcode_growint = external hidden unnamed_addr constant [25 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [134 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 @exp(double noundef) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

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

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2

declare i32 @array_spline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i16 noundef signext, ptr noundef) #1

declare i32 @array_integrate_all_trapzd_or_spline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @nonlinear_hmcode_growint(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6) #5 {
  %8 = alloca i32, align 4
  %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 ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca [2048 x i8], align 16
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca [2048 x i8], align 16
  %38 = alloca [2048 x i8], align 16
  %39 = alloca [2048 x i8], align 16
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store double %3, ptr %12, align 8, !tbaa !9
  store double %4, ptr %13, align 8, !tbaa !9
  store double %5, ptr %14, align 8, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  store i32 1024, ptr %30, align 4, !tbaa !11
  %40 = load double, ptr %12, align 8, !tbaa !9
  store double %40, ptr %17, align 8, !tbaa !9
  store double 1.000000e+00, ptr %18, align 8, !tbaa !9
  store i32 0, ptr %24, align 4, !tbaa !11
  %41 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %41, ptr %26, align 4, !tbaa !11
  %42 = load i32, ptr %24, align 4, !tbaa !11
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %24, align 4, !tbaa !11
  %44 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %44, ptr %27, align 4, !tbaa !11
  %45 = load i32, ptr %24, align 4, !tbaa !11
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %24, align 4, !tbaa !11
  %47 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %47, ptr %28, align 4, !tbaa !11
  %48 = load i32, ptr %24, align 4, !tbaa !11
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %24, align 4, !tbaa !11
  %50 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %50, ptr %29, align 4, !tbaa !11
  %51 = load i32, ptr %30, align 4, !tbaa !11
  %52 = load i32, ptr %29, align 4, !tbaa !11
  %53 = mul nsw i32 %51, %52
  %54 = sext i32 %53 to i64
  %55 = mul i64 %54, 8
  %56 = call noalias ptr @malloc(i64 noundef %55) #7
  store ptr %56, ptr %32, align 8, !tbaa !5
  %57 = load ptr, ptr %32, align 8, !tbaa !5
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %72

59:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %60 = load i32, ptr %30, align 4, !tbaa !11
  %61 = load i32, ptr %29, align 4, !tbaa !11
  %62 = mul nsw i32 %60, %61
  %63 = sext i32 %62 to i64
  %64 = mul i64 %63, 8
  %65 = trunc i64 %64 to i32
  store i32 %65, ptr %33, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 2048, ptr %34) #6
  %66 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  %67 = load i32, ptr %33, align 4, !tbaa !11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %66, ptr noundef @.str.15, ptr noundef @.str.212, i32 noundef %67)
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.nonlinear, ptr %68, i32 0, i32 45
  %70 = getelementptr inbounds [2048 x i8], ptr %69, i64 0, i64 0
  %71 = getelementptr inbounds [2048 x i8], ptr %34, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %70, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_hmcode_growint, i32 noundef 4021, ptr noundef %71)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %34) #6
  store i32 1, ptr %8, align 4
  store i32 1, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %256

72:                                               ; preds = %7
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.background, ptr %73, i32 0, i32 99
  %75 = load i32, ptr %74, align 8, !tbaa !13
  %76 = sext i32 %75 to i64
  %77 = mul i64 %76, 8
  %78 = call noalias ptr @malloc(i64 noundef %77) #7
  store ptr %78, ptr %31, align 8, !tbaa !5
  %79 = load ptr, ptr %31, align 8, !tbaa !5
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %94

81:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.background, ptr %82, i32 0, i32 99
  %84 = load i32, ptr %83, align 8, !tbaa !13
  %85 = sext i32 %84 to i64
  %86 = mul i64 %85, 8
  %87 = trunc i64 %86 to i32
  store i32 %87, ptr %36, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 2048, ptr %37) #6
  %88 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  %89 = load i32, ptr %36, align 4, !tbaa !11
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %88, ptr noundef @.str.15, ptr noundef @.str.79, i32 noundef %89)
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.nonlinear, ptr %90, i32 0, i32 45
  %92 = getelementptr inbounds [2048 x i8], ptr %91, i64 0, i64 0
  %93 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %92, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_hmcode_growint, i32 noundef 4022, ptr noundef %93)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %37) #6
  store i32 1, ptr %8, align 4
  store i32 1, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %256

94:                                               ; preds = %72
  %95 = load double, ptr %17, align 8, !tbaa !9
  %96 = load double, ptr %18, align 8, !tbaa !9
  %97 = fcmp oeq double %95, %96
  br i1 %97, label %98, label %100

98:                                               ; preds = %94
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  store double 1.000000e+00, ptr %99, align 8, !tbaa !9
  br label %253

100:                                              ; preds = %94
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %101

101:                                              ; preds = %202, %100
  %102 = load i32, ptr %25, align 4, !tbaa !11
  %103 = load i32, ptr %30, align 4, !tbaa !11
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %105, label %205

105:                                              ; preds = %101
  %106 = load double, ptr %17, align 8, !tbaa !9
  %107 = load double, ptr %18, align 8, !tbaa !9
  %108 = load double, ptr %17, align 8, !tbaa !9
  %109 = fsub double %107, %108
  %110 = load i32, ptr %25, align 4, !tbaa !11
  %111 = sitofp i32 %110 to double
  %112 = fmul double %109, %111
  %113 = load i32, ptr %30, align 4, !tbaa !11
  %114 = sub nsw i32 %113, 1
  %115 = sitofp i32 %114 to double
  %116 = fdiv double %112, %115
  %117 = fadd double %106, %116
  store double %117, ptr %19, align 8, !tbaa !9
  %118 = load double, ptr %19, align 8, !tbaa !9
  %119 = fdiv double 1.000000e+00, %118
  %120 = fsub double %119, 1.000000e+00
  store double %120, ptr %16, align 8, !tbaa !9
  %121 = load double, ptr %19, align 8, !tbaa !9
  %122 = load double, ptr %13, align 8, !tbaa !9
  %123 = fadd double 1.000000e+00, %122
  %124 = load double, ptr %14, align 8, !tbaa !9
  %125 = fadd double %123, %124
  %126 = fmul double -3.000000e+00, %125
  %127 = call double @pow(double noundef %121, double noundef %126) #6
  %128 = load double, ptr %14, align 8, !tbaa !9
  %129 = fmul double -3.000000e+00, %128
  %130 = load double, ptr %19, align 8, !tbaa !9
  %131 = fsub double 1.000000e+00, %130
  %132 = fmul double %129, %131
  %133 = call double @exp(double noundef %132) #6
  %134 = fmul double %127, %133
  store double %134, ptr %21, align 8, !tbaa !9
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.background, ptr %135, i32 0, i32 51
  %137 = load double, ptr %136, align 8, !tbaa !16
  %138 = load double, ptr %16, align 8, !tbaa !9
  %139 = fadd double 1.000000e+00, %138
  %140 = call double @pow(double noundef %139, double noundef 3.000000e+00) #6
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.background, ptr %141, i32 0, i32 28
  %143 = load double, ptr %142, align 8, !tbaa !17
  %144 = load double, ptr %16, align 8, !tbaa !9
  %145 = fadd double 1.000000e+00, %144
  %146 = call double @pow(double noundef %145, double noundef 2.000000e+00) #6
  %147 = fmul double %143, %146
  %148 = call double @llvm.fmuladd.f64(double %137, double %140, double %147)
  %149 = load ptr, ptr %10, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.background, ptr %149, i32 0, i32 53
  %151 = load double, ptr %150, align 8, !tbaa !18
  %152 = load double, ptr %21, align 8, !tbaa !9
  %153 = call double @llvm.fmuladd.f64(double %151, double %152, double %148)
  store double %153, ptr %22, align 8, !tbaa !9
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.background, ptr %154, i32 0, i32 51
  %156 = load double, ptr %155, align 8, !tbaa !16
  %157 = load double, ptr %16, align 8, !tbaa !9
  %158 = fadd double 1.000000e+00, %157
  %159 = call double @pow(double noundef %158, double noundef 3.000000e+00) #6
  %160 = fmul double %156, %159
  %161 = load double, ptr %22, align 8, !tbaa !9
  %162 = fdiv double %160, %161
  store double %162, ptr %23, align 8, !tbaa !9
  %163 = load double, ptr %13, align 8, !tbaa !9
  %164 = fcmp oeq double %163, -1.000000e+00
  br i1 %164, label %165, label %166

165:                                              ; preds = %105
  store double 5.500000e-01, ptr %20, align 8, !tbaa !9
  br label %178

166:                                              ; preds = %105
  %167 = load double, ptr %13, align 8, !tbaa !9
  %168 = fcmp olt double %167, -1.000000e+00
  br i1 %168, label %169, label %173

169:                                              ; preds = %166
  %170 = load double, ptr %13, align 8, !tbaa !9
  %171 = fadd double 1.000000e+00, %170
  %172 = call double @llvm.fmuladd.f64(double 2.000000e-02, double %171, double 5.500000e-01)
  store double %172, ptr %20, align 8, !tbaa !9
  br label %177

173:                                              ; preds = %166
  %174 = load double, ptr %13, align 8, !tbaa !9
  %175 = fadd double 1.000000e+00, %174
  %176 = call double @llvm.fmuladd.f64(double 5.000000e-02, double %175, double 5.500000e-01)
  store double %176, ptr %20, align 8, !tbaa !9
  br label %177

177:                                              ; preds = %173, %169
  br label %178

178:                                              ; preds = %177, %165
  %179 = load double, ptr %19, align 8, !tbaa !9
  %180 = load ptr, ptr %32, align 8, !tbaa !5
  %181 = load i32, ptr %25, align 4, !tbaa !11
  %182 = load i32, ptr %29, align 4, !tbaa !11
  %183 = mul nsw i32 %181, %182
  %184 = load i32, ptr %26, align 4, !tbaa !11
  %185 = add nsw i32 %183, %184
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %180, i64 %186
  store double %179, ptr %187, align 8, !tbaa !9
  %188 = load double, ptr %23, align 8, !tbaa !9
  %189 = load double, ptr %20, align 8, !tbaa !9
  %190 = call double @pow(double noundef %188, double noundef %189) #6
  %191 = fneg double %190
  %192 = load double, ptr %19, align 8, !tbaa !9
  %193 = fdiv double %191, %192
  %194 = load ptr, ptr %32, align 8, !tbaa !5
  %195 = load i32, ptr %25, align 4, !tbaa !11
  %196 = load i32, ptr %29, align 4, !tbaa !11
  %197 = mul nsw i32 %195, %196
  %198 = load i32, ptr %27, align 4, !tbaa !11
  %199 = add nsw i32 %197, %198
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds double, ptr %194, i64 %200
  store double %193, ptr %201, align 8, !tbaa !9
  br label %202

202:                                              ; preds = %178
  %203 = load i32, ptr %25, align 4, !tbaa !11
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %25, align 4, !tbaa !11
  br label %101, !llvm.loop !19

205:                                              ; preds = %101
  %206 = load ptr, ptr %32, align 8, !tbaa !5
  %207 = load i32, ptr %29, align 4, !tbaa !11
  %208 = load i32, ptr %30, align 4, !tbaa !11
  %209 = load i32, ptr %26, align 4, !tbaa !11
  %210 = load i32, ptr %27, align 4, !tbaa !11
  %211 = load i32, ptr %28, align 4, !tbaa !11
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.nonlinear, ptr %212, i32 0, i32 45
  %214 = getelementptr inbounds [2048 x i8], ptr %213, i64 0, i64 0
  %215 = call i32 @array_spline(ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209, i32 noundef %210, i32 noundef %211, i16 noundef signext 1, ptr noundef %214)
  %216 = icmp eq i32 %215, 1
  br i1 %216, label %217, label %226

217:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 2048, ptr %38) #6
  %218 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.nonlinear, ptr %219, i32 0, i32 45
  %221 = getelementptr inbounds [2048 x i8], ptr %220, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %218, ptr noundef @.str.4, ptr noundef @.str.213, ptr noundef %221)
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.nonlinear, ptr %222, i32 0, i32 45
  %224 = getelementptr inbounds [2048 x i8], ptr %223, i64 0, i64 0
  %225 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %224, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_hmcode_growint, i32 noundef 4065, ptr noundef %225)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %38) #6
  store i32 1, ptr %8, align 4
  store i32 1, ptr %35, align 4
  br label %256

226:                                              ; preds = %205
  %227 = load ptr, ptr %32, align 8, !tbaa !5
  %228 = load i32, ptr %29, align 4, !tbaa !11
  %229 = load i32, ptr %30, align 4, !tbaa !11
  %230 = load i32, ptr %26, align 4, !tbaa !11
  %231 = load i32, ptr %27, align 4, !tbaa !11
  %232 = load i32, ptr %28, align 4, !tbaa !11
  %233 = load ptr, ptr %15, align 8, !tbaa !5
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.nonlinear, ptr %234, i32 0, i32 45
  %236 = getelementptr inbounds [2048 x i8], ptr %235, i64 0, i64 0
  %237 = call i32 @array_integrate_all_trapzd_or_spline(ptr noundef %227, i32 noundef %228, i32 noundef %229, i32 noundef 0, i32 noundef %230, i32 noundef %231, i32 noundef %232, ptr noundef %233, ptr noundef %236)
  %238 = icmp eq i32 %237, 1
  br i1 %238, label %239, label %248

239:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 2048, ptr %39) #6
  %240 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  %241 = load ptr, ptr %11, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.nonlinear, ptr %241, i32 0, i32 45
  %243 = getelementptr inbounds [2048 x i8], ptr %242, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %240, ptr noundef @.str.4, ptr noundef @.str.214, ptr noundef %243)
  %244 = load ptr, ptr %11, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.nonlinear, ptr %244, i32 0, i32 45
  %246 = getelementptr inbounds [2048 x i8], ptr %245, i64 0, i64 0
  %247 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %246, ptr noundef @.str.3, ptr noundef @__func__.nonlinear_hmcode_growint, i32 noundef 4077, ptr noundef %247)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %39) #6
  store i32 1, ptr %8, align 4
  store i32 1, ptr %35, align 4
  br label %256

248:                                              ; preds = %226
  %249 = load ptr, ptr %15, align 8, !tbaa !5
  %250 = load double, ptr %249, align 8, !tbaa !9
  %251 = call double @exp(double noundef %250) #6
  %252 = load ptr, ptr %15, align 8, !tbaa !5
  store double %251, ptr %252, align 8, !tbaa !9
  br label %253

253:                                              ; preds = %248, %98
  %254 = load ptr, ptr %31, align 8, !tbaa !5
  call void @free(ptr noundef %254) #6
  %255 = load ptr, ptr %32, align 8, !tbaa !5
  call void @free(ptr noundef %255) #6
  store i32 0, ptr %8, align 4
  store i32 1, ptr %35, align 4
  br label %256

256:                                              ; preds = %253, %239, %217, %81, %59
  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 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %257 = load i32, ptr %8, align 4
  ret i32 %257
}

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 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = { nounwind allocsize(0) }

!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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 624}
!14 = !{!"background", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !15, 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, !15, i64 176, !10, i64 184, !10, i64 192, !6, i64 200, !12, i64 208, !12, i64 212, !10, i64 216, !12, 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, !12, 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, !12, i64 464, !12, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !12, i64 488, !12, i64 492, !12, i64 496, !12, i64 500, !12, i64 504, !12, i64 508, !12, i64 512, !12, i64 516, !12, i64 520, !12, i64 524, !12, i64 528, !12, i64 532, !12, i64 536, !12, i64 540, !12, i64 544, !12, i64 548, !12, i64 552, !12, i64 556, !12, i64 560, !12, i64 564, !12, i64 568, !12, i64 572, !12, i64 576, !12, i64 580, !12, i64 584, !12, i64 588, !12, i64 592, !12, i64 596, !12, i64 600, !12, i64 604, !12, i64 608, !12, i64 612, !12, i64 616, !12, i64 620, !12, i64 624, !12, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !12, i64 672, !12, i64 676, !12, i64 680, !12, i64 684, !12, i64 688, !12, i64 692, !12, i64 696, !12, i64 700, !12, i64 704, !12, i64 708, !12, i64 712, !12, i64 716, !12, i64 720, !15, i64 724, !15, i64 726, !15, i64 728, !15, i64 730, !15, i64 732, !15, i64 734, !15, i64 736, !15, i64 738, !15, i64 740, !15, i64 742, !15, 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, !15, i64 840, !15, i64 842, !15, i64 844, !15, i64 846, !15, i64 848, !15, i64 850, !7, i64 852, !15, i64 2900, !7, i64 2902}
!15 = !{!"short", !7, i64 0}
!16 = !{!14, !10, i64 400}
!17 = !{!14, !10, i64 216}
!18 = !{!14, !10, i64 416}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


; 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.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [10 x i8], align 1
@__func__.nonlinear_hmcode_growint = external hidden unnamed_addr constant [25 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [134 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 @exp(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

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

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

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

declare i32 @array_spline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i16 noundef signext, ptr noundef) local_unnamed_addr #1

declare i32 @array_integrate_all_trapzd_or_spline(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @nonlinear_hmcode_growint(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, ptr noundef %2, double noundef %3, double noundef %4, double noundef %5, ptr noundef %6) local_unnamed_addr #6 {
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [2048 x i8], align 16
  %10 = alloca [2048 x i8], align 16
  %11 = tail call noalias dereferenceable_or_null(24576) ptr @malloc(i64 noundef 24576) #7
  %12 = icmp eq ptr %11, null
  br i1 %12, label %13, label %15

13:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %8) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %8, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.212, i32 noundef 24576) #8
  %14 = getelementptr inbounds i8, ptr %2, i64 266
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_hmcode_growint, i32 noundef 4021, ptr noundef nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %8) #8
  br label %128

15:                                               ; preds = %7
  %16 = fcmp oeq double %3, 1.000000e+00
  br i1 %16, label %127, label %.preheader

.preheader:                                       ; preds = %15
  %17 = fsub double 1.000000e+00, %3
  %18 = fadd double %4, 1.000000e+00
  %19 = fadd double %18, %5
  %20 = fmul double %19, -3.000000e+00
  %21 = fmul double %5, -3.000000e+00
  %22 = getelementptr inbounds i8, ptr %1, i64 400
  %23 = getelementptr inbounds i8, ptr %1, i64 216
  %24 = getelementptr inbounds i8, ptr %1, i64 416
  %25 = fcmp oeq double %4, -1.000000e+00
  %26 = tail call double @llvm.fmuladd.f64(double %18, double 5.000000e-02, double 5.500000e-01)
  %27 = tail call double @llvm.fmuladd.f64(double %18, double 2.000000e-02, double 5.500000e-01)
  br i1 %25, label %.preheader.split.us, label %.preheader.split

.preheader.split.us:                              ; preds = %.preheader, %.preheader.split.us
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %.preheader.split.us ], [ 0, %.preheader ]
  %28 = trunc nuw nsw i64 %indvars.iv102 to i32
  %29 = uitofp nneg i32 %28 to double
  %30 = fmul double %17, %29
  %31 = fdiv double %30, 1.023000e+03
  %32 = fadd double %31, %3
  %33 = fdiv double 1.000000e+00, %32
  %34 = fadd double %33, -1.000000e+00
  %35 = tail call double @pow(double noundef %32, double noundef %20) #8
  %36 = fsub double 1.000000e+00, %32
  %37 = fmul double %21, %36
  %38 = tail call double @exp(double noundef %37) #8
  %39 = fmul double %35, %38
  %40 = load double, ptr %22, align 8, !tbaa !5
  %41 = fadd double %34, 1.000000e+00
  %42 = tail call double @pow(double noundef %41, double noundef 3.000000e+00) #8
  %43 = load double, ptr %23, align 8, !tbaa !13
  %square.us = fmul double %41, %41
  %44 = fmul double %square.us, %43
  %45 = tail call double @llvm.fmuladd.f64(double %40, double %42, double %44)
  %46 = load double, ptr %24, align 8, !tbaa !14
  %47 = tail call double @llvm.fmuladd.f64(double %46, double %39, double %45)
  %48 = load double, ptr %22, align 8, !tbaa !5
  %49 = tail call double @pow(double noundef %41, double noundef 3.000000e+00) #8
  %50 = fmul double %48, %49
  %51 = fdiv double %50, %47
  %.idx107 = mul i64 %indvars.iv102, 24
  %52 = getelementptr inbounds i8, ptr %11, i64 %.idx107
  store double %32, ptr %52, align 8, !tbaa !15
  %53 = tail call double @pow(double noundef %51, double noundef 5.500000e-01) #8
  %54 = fneg double %53
  %55 = fdiv double %54, %32
  %56 = getelementptr inbounds i8, ptr %52, i64 8
  store double %55, ptr %56, align 8, !tbaa !15
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond105.not = icmp eq i64 %indvars.iv.next103, 1024
  br i1 %exitcond105.not, label %.split.us, label %.preheader.split.us, !llvm.loop !16

.preheader.split:                                 ; preds = %.preheader
  %57 = fcmp olt double %4, -1.000000e+00
  br i1 %57, label %.preheader.split.split.us, label %.preheader.split.split

.preheader.split.split.us:                        ; preds = %.preheader.split, %.preheader.split.split.us
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %.preheader.split.split.us ], [ 0, %.preheader.split ]
  %58 = trunc nuw nsw i64 %indvars.iv98 to i32
  %59 = uitofp nneg i32 %58 to double
  %60 = fmul double %17, %59
  %61 = fdiv double %60, 1.023000e+03
  %62 = fadd double %61, %3
  %63 = fdiv double 1.000000e+00, %62
  %64 = fadd double %63, -1.000000e+00
  %65 = tail call double @pow(double noundef %62, double noundef %20) #8
  %66 = fsub double 1.000000e+00, %62
  %67 = fmul double %21, %66
  %68 = tail call double @exp(double noundef %67) #8
  %69 = fmul double %65, %68
  %70 = load double, ptr %22, align 8, !tbaa !5
  %71 = fadd double %64, 1.000000e+00
  %72 = tail call double @pow(double noundef %71, double noundef 3.000000e+00) #8
  %73 = load double, ptr %23, align 8, !tbaa !13
  %square.us93 = fmul double %71, %71
  %74 = fmul double %square.us93, %73
  %75 = tail call double @llvm.fmuladd.f64(double %70, double %72, double %74)
  %76 = load double, ptr %24, align 8, !tbaa !14
  %77 = tail call double @llvm.fmuladd.f64(double %76, double %69, double %75)
  %78 = load double, ptr %22, align 8, !tbaa !5
  %79 = tail call double @pow(double noundef %71, double noundef 3.000000e+00) #8
  %80 = fmul double %78, %79
  %81 = fdiv double %80, %77
  %.idx106 = mul i64 %indvars.iv98, 24
  %82 = getelementptr inbounds i8, ptr %11, i64 %.idx106
  store double %62, ptr %82, align 8, !tbaa !15
  %83 = tail call double @pow(double noundef %81, double noundef %27) #8
  %84 = fneg double %83
  %85 = fdiv double %84, %62
  %86 = getelementptr inbounds i8, ptr %82, i64 8
  store double %85, ptr %86, align 8, !tbaa !15
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next99, 1024
  br i1 %exitcond101.not, label %.split.us, label %.preheader.split.split.us, !llvm.loop !16

.preheader.split.split:                           ; preds = %.preheader.split, %.preheader.split.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader.split.split ], [ 0, %.preheader.split ]
  %87 = trunc nuw nsw i64 %indvars.iv to i32
  %88 = uitofp nneg i32 %87 to double
  %89 = fmul double %17, %88
  %90 = fdiv double %89, 1.023000e+03
  %91 = fadd double %90, %3
  %92 = fdiv double 1.000000e+00, %91
  %93 = fadd double %92, -1.000000e+00
  %94 = tail call double @pow(double noundef %91, double noundef %20) #8
  %95 = fsub double 1.000000e+00, %91
  %96 = fmul double %21, %95
  %97 = tail call double @exp(double noundef %96) #8
  %98 = fmul double %94, %97
  %99 = load double, ptr %22, align 8, !tbaa !5
  %100 = fadd double %93, 1.000000e+00
  %101 = tail call double @pow(double noundef %100, double noundef 3.000000e+00) #8
  %102 = load double, ptr %23, align 8, !tbaa !13
  %square = fmul double %100, %100
  %103 = fmul double %square, %102
  %104 = tail call double @llvm.fmuladd.f64(double %99, double %101, double %103)
  %105 = load double, ptr %24, align 8, !tbaa !14
  %106 = tail call double @llvm.fmuladd.f64(double %105, double %98, double %104)
  %107 = load double, ptr %22, align 8, !tbaa !5
  %108 = tail call double @pow(double noundef %100, double noundef 3.000000e+00) #8
  %109 = fmul double %107, %108
  %110 = fdiv double %109, %106
  %.idx = mul i64 %indvars.iv, 24
  %111 = getelementptr inbounds i8, ptr %11, i64 %.idx
  store double %91, ptr %111, align 8, !tbaa !15
  %112 = tail call double @pow(double noundef %110, double noundef %26) #8
  %113 = fneg double %112
  %114 = fdiv double %113, %91
  %115 = getelementptr inbounds i8, ptr %111, i64 8
  store double %114, ptr %115, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1024
  br i1 %exitcond.not, label %.split.us, label %.preheader.split.split, !llvm.loop !16

.split.us:                                        ; preds = %.preheader.split.split, %.preheader.split.split.us, %.preheader.split.us
  %116 = getelementptr inbounds i8, ptr %2, i64 266
  %117 = tail call i32 @array_spline(ptr noundef nonnull %11, i32 noundef 3, i32 noundef 1024, i32 noundef 0, i32 noundef 1, i32 noundef 2, i16 noundef signext 1, ptr noundef nonnull %116) #8
  %118 = icmp eq i32 %117, 1
  br i1 %118, label %119, label %120

119:                                              ; preds = %.split.us
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %9) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.213, ptr noundef nonnull %116) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %116, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_hmcode_growint, i32 noundef 4065, ptr noundef nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %9) #8
  br label %128

120:                                              ; preds = %.split.us
  %121 = tail call i32 @array_integrate_all_trapzd_or_spline(ptr noundef nonnull %11, i32 noundef 3, i32 noundef 1024, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 2, ptr noundef %6, ptr noundef nonnull %116) #8
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %123, label %124

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.214, ptr noundef nonnull %116) #8
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %116, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.nonlinear_hmcode_growint, i32 noundef 4077, ptr noundef nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #8
  br label %128

124:                                              ; preds = %120
  %125 = load double, ptr %6, align 8, !tbaa !15
  %126 = tail call double @exp(double noundef %125) #8
  br label %127

127:                                              ; preds = %15, %124
  %storemerge = phi double [ %126, %124 ], [ 1.000000e+00, %15 ]
  store double %storemerge, ptr %6, align 8, !tbaa !15
  tail call void @free(ptr noundef nonnull %11) #8
  br label %128

128:                                              ; preds = %127, %123, %119, %13
  %.0 = phi i32 [ 1, %13 ], [ 0, %127 ], [ 1, %119 ], [ 1, %123 ]
  ret i32 %.0
}

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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 #7 = { nounwind allocsize(0) }
attributes #8 = { 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 400}
!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 216}
!14 = !{!6, !7, i64 416}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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