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

; 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.transfer_workspace = type { %struct.HypersphericalInterpolationStructure, i32, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, i32, double, i16 }
%struct.HypersphericalInterpolationStructure = type { i32, double, double, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr }
%struct.transfers = type { double, double, double, [100 x double], [100 x double], i16, i16, [256 x i8], i32, ptr, ptr, ptr, i16, i16, [256 x i8], i32, ptr, ptr, ptr, ptr, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, ptr, double, i64, ptr, ptr, i32, ptr, i16, i16, [2048 x i8] }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [110 x i8], align 1
@__func__.transfer_limber = external hidden unnamed_addr constant [16 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [73 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 @asinh(double noundef) #2

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

; Function Attrs: nounwind
declare double @sqrt(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 @transfer_limber(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, ptr noundef %7) #4 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, 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 [2048 x i8], align 16
  %26 = alloca [2048 x i8], align 16
  %27 = alloca [2048 x i8], align 16
  %28 = alloca [2048 x i8], align 16
  %29 = alloca [2048 x i8], align 16
  %30 = alloca [2048 x i8], align 16
  %31 = alloca [2048 x i8], align 16
  %32 = alloca [2048 x i8], align 16
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store i32 %3, ptr %13, align 4, !tbaa !9
  store double %4, ptr %14, align 8, !tbaa !11
  store double %5, ptr %15, align 8, !tbaa !11
  store i32 %6, ptr %16, align 4, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store double 0.000000e+00, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store double 0.000000e+00, ptr %23, align 8, !tbaa !11
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %192

35:                                               ; preds = %8
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.transfer_workspace, ptr %36, i32 0, i32 14
  %38 = load i32, ptr %37, align 8, !tbaa !13
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %45

40:                                               ; preds = %35
  %41 = load double, ptr %14, align 8, !tbaa !11
  %42 = fadd double %41, 5.000000e-01
  %43 = load double, ptr %15, align 8, !tbaa !11
  %44 = fdiv double %42, %43
  store double %44, ptr %22, align 8, !tbaa !11
  br label %96

45:                                               ; preds = %35
  %46 = load ptr, ptr %11, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.transfer_workspace, ptr %46, i32 0, i32 14
  %48 = load i32, ptr %47, align 8, !tbaa !13
  %49 = icmp eq i32 %48, 1
  br i1 %49, label %50, label %70

50:                                               ; preds = %45
  %51 = load double, ptr %14, align 8, !tbaa !11
  %52 = load double, ptr %14, align 8, !tbaa !11
  %53 = fadd double %52, 1.000000e+00
  %54 = fmul double %51, %53
  %55 = call double @sqrt(double noundef %54) #5
  %56 = load double, ptr %15, align 8, !tbaa !11
  %57 = fdiv double %55, %56
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.transfer_workspace, ptr %58, i32 0, i32 13
  %60 = load double, ptr %59, align 8, !tbaa !17
  %61 = call double @sqrt(double noundef %60) #5
  %62 = fmul double %57, %61
  %63 = call double @asin(double noundef %62) #5
  store double %63, ptr %21, align 8, !tbaa !11
  %64 = load double, ptr %21, align 8, !tbaa !11
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.transfer_workspace, ptr %65, i32 0, i32 13
  %67 = load double, ptr %66, align 8, !tbaa !17
  %68 = call double @sqrt(double noundef %67) #5
  %69 = fdiv double %64, %68
  store double %69, ptr %22, align 8, !tbaa !11
  br label %95

70:                                               ; preds = %45
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.transfer_workspace, ptr %71, i32 0, i32 14
  %73 = load i32, ptr %72, align 8, !tbaa !13
  %74 = icmp eq i32 %73, -1
  br i1 %74, label %75, label %94

75:                                               ; preds = %70
  %76 = load double, ptr %14, align 8, !tbaa !11
  %77 = fadd double %76, 5.000000e-01
  %78 = load double, ptr %15, align 8, !tbaa !11
  %79 = fdiv double %77, %78
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.transfer_workspace, ptr %80, i32 0, i32 13
  %82 = load double, ptr %81, align 8, !tbaa !17
  %83 = fneg double %82
  %84 = call double @sqrt(double noundef %83) #5
  %85 = fmul double %79, %84
  %86 = call double @asinh(double noundef %85) #5
  store double %86, ptr %21, align 8, !tbaa !11
  %87 = load double, ptr %21, align 8, !tbaa !11
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.transfer_workspace, ptr %88, i32 0, i32 13
  %90 = load double, ptr %89, align 8, !tbaa !17
  %91 = fneg double %90
  %92 = call double @sqrt(double noundef %91) #5
  %93 = fdiv double %87, %92
  store double %93, ptr %22, align 8, !tbaa !11
  br label %94

94:                                               ; preds = %75, %70
  br label %95

95:                                               ; preds = %94, %50
  br label %96

96:                                               ; preds = %95, %40
  %97 = load double, ptr %22, align 8, !tbaa !11
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.transfer_workspace, ptr %98, i32 0, i32 8
  %100 = load ptr, ptr %99, align 8, !tbaa !18
  %101 = getelementptr inbounds double, ptr %100, i64 0
  %102 = load double, ptr %101, align 8, !tbaa !11
  %103 = fcmp ogt double %97, %102
  br i1 %103, label %117, label %104

104:                                              ; preds = %96
  %105 = load double, ptr %22, align 8, !tbaa !11
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.transfer_workspace, ptr %106, i32 0, i32 8
  %108 = load ptr, ptr %107, align 8, !tbaa !18
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.transfer_workspace, ptr %109, i32 0, i32 4
  %111 = load i32, ptr %110, align 4, !tbaa !19
  %112 = sub nsw i32 %111, 1
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %108, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !11
  %116 = fcmp olt double %105, %115
  br i1 %116, label %117, label %119

117:                                              ; preds = %104, %96
  %118 = load ptr, ptr %17, align 8, !tbaa !5
  store double 0.000000e+00, ptr %118, align 8, !tbaa !11
  store i32 0, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

119:                                              ; preds = %104
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.transfer_workspace, ptr %121, i32 0, i32 8
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = load ptr, ptr %11, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.transfer_workspace, ptr %124, i32 0, i32 7
  %126 = load ptr, ptr %125, align 8, !tbaa !20
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.transfer_workspace, ptr %127, i32 0, i32 4
  %129 = load i32, ptr %128, align 4, !tbaa !19
  %130 = load double, ptr %22, align 8, !tbaa !11
  %131 = call i32 @transfer_limber_interpolate(ptr noundef %120, ptr noundef %123, ptr noundef %126, i32 noundef %129, double noundef %130, ptr noundef %18)
  %132 = icmp eq i32 %131, 1
  br i1 %132, label %133, label %142

133:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 2048, ptr %25) #5
  %134 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.transfers, ptr %135, i32 0, i32 52
  %137 = getelementptr inbounds [2048 x i8], ptr %136, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %134, ptr noundef @.str, ptr noundef @.str.99, ptr noundef %137)
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.transfers, ptr %138, i32 0, i32 52
  %140 = getelementptr inbounds [2048 x i8], ptr %139, i64 0, i64 0
  %141 = getelementptr inbounds [2048 x i8], ptr %25, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %140, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3416, ptr noundef %141)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %25) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

142:                                              ; preds = %119
  %143 = load double, ptr %14, align 8, !tbaa !11
  %144 = fmul double 2.000000e+00, %143
  %145 = fdiv double 0x400921FB54442D18, %144
  %146 = call double @sqrt(double noundef %145) #5
  %147 = load double, ptr %14, align 8, !tbaa !11
  %148 = fdiv double 2.500000e-01, %147
  %149 = fsub double 1.000000e+00, %148
  %150 = load double, ptr %14, align 8, !tbaa !11
  %151 = load double, ptr %14, align 8, !tbaa !11
  %152 = fmul double %150, %151
  %153 = fdiv double 3.125000e-02, %152
  %154 = fadd double %149, %153
  %155 = fmul double %146, %154
  store double %155, ptr %23, align 8, !tbaa !11
  %156 = load double, ptr %23, align 8, !tbaa !11
  %157 = load double, ptr %18, align 8, !tbaa !11
  %158 = fmul double %156, %157
  %159 = load ptr, ptr %17, align 8, !tbaa !5
  store double %158, ptr %159, align 8, !tbaa !11
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.transfer_workspace, ptr %160, i32 0, i32 14
  %162 = load i32, ptr %161, align 8, !tbaa !13
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %170

164:                                              ; preds = %142
  %165 = load double, ptr %14, align 8, !tbaa !11
  %166 = fadd double %165, 5.000000e-01
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = load double, ptr %167, align 8, !tbaa !11
  %169 = fdiv double %168, %166
  store double %169, ptr %167, align 8, !tbaa !11
  br label %191

170:                                              ; preds = %142
  %171 = load ptr, ptr %11, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.transfer_workspace, ptr %171, i32 0, i32 13
  %173 = load double, ptr %172, align 8, !tbaa !17
  %174 = load double, ptr %14, align 8, !tbaa !11
  %175 = fmul double %173, %174
  %176 = load double, ptr %14, align 8, !tbaa !11
  %177 = fmul double %175, %176
  %178 = load double, ptr %15, align 8, !tbaa !11
  %179 = fdiv double %177, %178
  %180 = load double, ptr %15, align 8, !tbaa !11
  %181 = fdiv double %179, %180
  %182 = fsub double 1.000000e+00, %181
  %183 = call double @pow(double noundef %182, double noundef -2.500000e-01) #5
  %184 = load double, ptr %22, align 8, !tbaa !11
  %185 = load double, ptr %15, align 8, !tbaa !11
  %186 = fmul double %184, %185
  %187 = fdiv double %183, %186
  %188 = load ptr, ptr %17, align 8, !tbaa !5
  %189 = load double, ptr %188, align 8, !tbaa !11
  %190 = fmul double %189, %187
  store double %190, ptr %188, align 8, !tbaa !11
  br label %191

191:                                              ; preds = %170, %164
  br label %499

192:                                              ; preds = %8
  %193 = load i32, ptr %16, align 4, !tbaa !9
  %194 = icmp eq i32 %193, 1
  br i1 %194, label %195, label %309

195:                                              ; preds = %192
  %196 = load double, ptr %14, align 8, !tbaa !11
  %197 = fadd double %196, 1.500000e+00
  %198 = load double, ptr %15, align 8, !tbaa !11
  %199 = fdiv double %197, %198
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.transfer_workspace, ptr %200, i32 0, i32 8
  %202 = load ptr, ptr %201, align 8, !tbaa !18
  %203 = getelementptr inbounds double, ptr %202, i64 0
  %204 = load double, ptr %203, align 8, !tbaa !11
  %205 = fcmp ogt double %199, %204
  br i1 %205, label %222, label %206

206:                                              ; preds = %195
  %207 = load double, ptr %14, align 8, !tbaa !11
  %208 = fsub double %207, 5.000000e-01
  %209 = load double, ptr %15, align 8, !tbaa !11
  %210 = fdiv double %208, %209
  %211 = load ptr, ptr %11, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.transfer_workspace, ptr %211, i32 0, i32 8
  %213 = load ptr, ptr %212, align 8, !tbaa !18
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.transfer_workspace, ptr %214, i32 0, i32 4
  %216 = load i32, ptr %215, align 4, !tbaa !19
  %217 = sub nsw i32 %216, 1
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds double, ptr %213, i64 %218
  %220 = load double, ptr %219, align 8, !tbaa !11
  %221 = fcmp olt double %210, %220
  br i1 %221, label %222, label %224

222:                                              ; preds = %206, %195
  %223 = load ptr, ptr %17, align 8, !tbaa !5
  store double 0.000000e+00, ptr %223, align 8, !tbaa !11
  store i32 0, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

224:                                              ; preds = %206
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.transfer_workspace, ptr %226, i32 0, i32 8
  %228 = load ptr, ptr %227, align 8, !tbaa !18
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.transfer_workspace, ptr %229, i32 0, i32 7
  %231 = load ptr, ptr %230, align 8, !tbaa !20
  %232 = load ptr, ptr %11, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.transfer_workspace, ptr %232, i32 0, i32 4
  %234 = load i32, ptr %233, align 4, !tbaa !19
  %235 = load double, ptr %14, align 8, !tbaa !11
  %236 = fadd double %235, 1.500000e+00
  %237 = load double, ptr %15, align 8, !tbaa !11
  %238 = fdiv double %236, %237
  %239 = call i32 @transfer_limber_interpolate(ptr noundef %225, ptr noundef %228, ptr noundef %231, i32 noundef %234, double noundef %238, ptr noundef %19)
  %240 = icmp eq i32 %239, 1
  br i1 %240, label %241, label %250

241:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 2048, ptr %26) #5
  %242 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.transfers, ptr %243, i32 0, i32 52
  %245 = getelementptr inbounds [2048 x i8], ptr %244, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %242, ptr noundef @.str, ptr noundef @.str.100, ptr noundef %245)
  %246 = load ptr, ptr %10, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.transfers, ptr %246, i32 0, i32 52
  %248 = getelementptr inbounds [2048 x i8], ptr %247, i64 0, i64 0
  %249 = getelementptr inbounds [2048 x i8], ptr %26, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %248, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3450, ptr noundef %249)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %26) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

250:                                              ; preds = %224
  %251 = load ptr, ptr %10, align 8, !tbaa !5
  %252 = load ptr, ptr %11, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.transfer_workspace, ptr %252, i32 0, i32 8
  %254 = load ptr, ptr %253, align 8, !tbaa !18
  %255 = load ptr, ptr %11, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.transfer_workspace, ptr %255, i32 0, i32 7
  %257 = load ptr, ptr %256, align 8, !tbaa !20
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.transfer_workspace, ptr %258, i32 0, i32 4
  %260 = load i32, ptr %259, align 4, !tbaa !19
  %261 = load double, ptr %14, align 8, !tbaa !11
  %262 = fsub double %261, 5.000000e-01
  %263 = load double, ptr %15, align 8, !tbaa !11
  %264 = fdiv double %262, %263
  %265 = call i32 @transfer_limber_interpolate(ptr noundef %251, ptr noundef %254, ptr noundef %257, i32 noundef %260, double noundef %264, ptr noundef %20)
  %266 = icmp eq i32 %265, 1
  br i1 %266, label %267, label %276

267:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #5
  %268 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %269 = load ptr, ptr %10, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.transfers, ptr %269, i32 0, i32 52
  %271 = getelementptr inbounds [2048 x i8], ptr %270, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %268, ptr noundef @.str, ptr noundef @.str.101, ptr noundef %271)
  %272 = load ptr, ptr %10, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.transfers, ptr %272, i32 0, i32 52
  %274 = getelementptr inbounds [2048 x i8], ptr %273, i64 0, i64 0
  %275 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %274, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3459, ptr noundef %275)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

276:                                              ; preds = %250
  %277 = load double, ptr %14, align 8, !tbaa !11
  %278 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %277, double 3.000000e+00)
  %279 = fdiv double 0x400921FB54442D18, %278
  %280 = call double @sqrt(double noundef %279) #5
  %281 = fneg double %280
  %282 = load double, ptr %19, align 8, !tbaa !11
  %283 = fmul double %281, %282
  %284 = load double, ptr %14, align 8, !tbaa !11
  %285 = fadd double %284, 1.500000e+00
  %286 = fdiv double %283, %285
  %287 = load double, ptr %14, align 8, !tbaa !11
  %288 = fadd double %287, 1.000000e+00
  %289 = fmul double %286, %288
  %290 = load double, ptr %14, align 8, !tbaa !11
  %291 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %290, double 1.000000e+00)
  %292 = fdiv double %289, %291
  %293 = load double, ptr %14, align 8, !tbaa !11
  %294 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %293, double -1.000000e+00)
  %295 = fdiv double 0x400921FB54442D18, %294
  %296 = call double @sqrt(double noundef %295) #5
  %297 = load double, ptr %20, align 8, !tbaa !11
  %298 = fmul double %296, %297
  %299 = load double, ptr %14, align 8, !tbaa !11
  %300 = fsub double %299, 5.000000e-01
  %301 = fdiv double %298, %300
  %302 = load double, ptr %14, align 8, !tbaa !11
  %303 = fmul double %301, %302
  %304 = load double, ptr %14, align 8, !tbaa !11
  %305 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %304, double 1.000000e+00)
  %306 = fdiv double %303, %305
  %307 = fadd double %292, %306
  %308 = load ptr, ptr %17, align 8, !tbaa !5
  store double %307, ptr %308, align 8, !tbaa !11
  br label %498

309:                                              ; preds = %192
  %310 = load i32, ptr %16, align 4, !tbaa !9
  %311 = icmp eq i32 %310, 11
  br i1 %311, label %312, label %488

312:                                              ; preds = %309
  %313 = load double, ptr %14, align 8, !tbaa !11
  %314 = fadd double %313, 2.500000e+00
  %315 = load double, ptr %15, align 8, !tbaa !11
  %316 = fdiv double %314, %315
  %317 = load ptr, ptr %11, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.transfer_workspace, ptr %317, i32 0, i32 8
  %319 = load ptr, ptr %318, align 8, !tbaa !18
  %320 = getelementptr inbounds double, ptr %319, i64 0
  %321 = load double, ptr %320, align 8, !tbaa !11
  %322 = fcmp ogt double %316, %321
  br i1 %322, label %339, label %323

323:                                              ; preds = %312
  %324 = load double, ptr %14, align 8, !tbaa !11
  %325 = fsub double %324, 1.500000e+00
  %326 = load double, ptr %15, align 8, !tbaa !11
  %327 = fdiv double %325, %326
  %328 = load ptr, ptr %11, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.transfer_workspace, ptr %328, i32 0, i32 8
  %330 = load ptr, ptr %329, align 8, !tbaa !18
  %331 = load ptr, ptr %11, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.transfer_workspace, ptr %331, i32 0, i32 4
  %333 = load i32, ptr %332, align 4, !tbaa !19
  %334 = sub nsw i32 %333, 1
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds double, ptr %330, i64 %335
  %337 = load double, ptr %336, align 8, !tbaa !11
  %338 = fcmp olt double %327, %337
  br i1 %338, label %339, label %341

339:                                              ; preds = %323, %312
  %340 = load ptr, ptr %17, align 8, !tbaa !5
  store double 0.000000e+00, ptr %340, align 8, !tbaa !11
  store i32 0, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

341:                                              ; preds = %323
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  %343 = load ptr, ptr %11, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.transfer_workspace, ptr %343, i32 0, i32 8
  %345 = load ptr, ptr %344, align 8, !tbaa !18
  %346 = load ptr, ptr %11, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.transfer_workspace, ptr %346, i32 0, i32 7
  %348 = load ptr, ptr %347, align 8, !tbaa !20
  %349 = load ptr, ptr %11, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.transfer_workspace, ptr %349, i32 0, i32 4
  %351 = load i32, ptr %350, align 4, !tbaa !19
  %352 = load double, ptr %14, align 8, !tbaa !11
  %353 = fadd double %352, 2.500000e+00
  %354 = load double, ptr %15, align 8, !tbaa !11
  %355 = fdiv double %353, %354
  %356 = call i32 @transfer_limber_interpolate(ptr noundef %342, ptr noundef %345, ptr noundef %348, i32 noundef %351, double noundef %355, ptr noundef %19)
  %357 = icmp eq i32 %356, 1
  br i1 %357, label %358, label %367

358:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 2048, ptr %28) #5
  %359 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  %360 = load ptr, ptr %10, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.transfers, ptr %360, i32 0, i32 52
  %362 = getelementptr inbounds [2048 x i8], ptr %361, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %359, ptr noundef @.str, ptr noundef @.str.102, ptr noundef %362)
  %363 = load ptr, ptr %10, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.transfers, ptr %363, i32 0, i32 52
  %365 = getelementptr inbounds [2048 x i8], ptr %364, i64 0, i64 0
  %366 = getelementptr inbounds [2048 x i8], ptr %28, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %365, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3482, ptr noundef %366)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %28) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

367:                                              ; preds = %341
  %368 = load ptr, ptr %10, align 8, !tbaa !5
  %369 = load ptr, ptr %11, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.transfer_workspace, ptr %369, i32 0, i32 8
  %371 = load ptr, ptr %370, align 8, !tbaa !18
  %372 = load ptr, ptr %11, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.transfer_workspace, ptr %372, i32 0, i32 7
  %374 = load ptr, ptr %373, align 8, !tbaa !20
  %375 = load ptr, ptr %11, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.transfer_workspace, ptr %375, i32 0, i32 4
  %377 = load i32, ptr %376, align 4, !tbaa !19
  %378 = load double, ptr %14, align 8, !tbaa !11
  %379 = fsub double %378, 1.500000e+00
  %380 = load double, ptr %15, align 8, !tbaa !11
  %381 = fdiv double %379, %380
  %382 = call i32 @transfer_limber_interpolate(ptr noundef %368, ptr noundef %371, ptr noundef %374, i32 noundef %377, double noundef %381, ptr noundef %20)
  %383 = icmp eq i32 %382, 1
  br i1 %383, label %384, label %393

384:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #5
  %385 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %386 = load ptr, ptr %10, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.transfers, ptr %386, i32 0, i32 52
  %388 = getelementptr inbounds [2048 x i8], ptr %387, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %385, ptr noundef @.str, ptr noundef @.str.103, ptr noundef %388)
  %389 = load ptr, ptr %10, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.transfers, ptr %389, i32 0, i32 52
  %391 = getelementptr inbounds [2048 x i8], ptr %390, i64 0, i64 0
  %392 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %391, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3491, ptr noundef %392)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

393:                                              ; preds = %367
  %394 = load ptr, ptr %10, align 8, !tbaa !5
  %395 = load ptr, ptr %11, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.transfer_workspace, ptr %395, i32 0, i32 8
  %397 = load ptr, ptr %396, align 8, !tbaa !18
  %398 = load ptr, ptr %11, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.transfer_workspace, ptr %398, i32 0, i32 7
  %400 = load ptr, ptr %399, align 8, !tbaa !20
  %401 = load ptr, ptr %11, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.transfer_workspace, ptr %401, i32 0, i32 4
  %403 = load i32, ptr %402, align 4, !tbaa !19
  %404 = load double, ptr %14, align 8, !tbaa !11
  %405 = fadd double %404, 5.000000e-01
  %406 = load double, ptr %15, align 8, !tbaa !11
  %407 = fdiv double %405, %406
  %408 = call i32 @transfer_limber_interpolate(ptr noundef %394, ptr noundef %397, ptr noundef %400, i32 noundef %403, double noundef %407, ptr noundef %18)
  %409 = icmp eq i32 %408, 1
  br i1 %409, label %410, label %419

410:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #5
  %411 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  %412 = load ptr, ptr %10, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.transfers, ptr %412, i32 0, i32 52
  %414 = getelementptr inbounds [2048 x i8], ptr %413, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %411, ptr noundef @.str, ptr noundef @.str.104, ptr noundef %414)
  %415 = load ptr, ptr %10, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.transfers, ptr %415, i32 0, i32 52
  %417 = getelementptr inbounds [2048 x i8], ptr %416, i64 0, i64 0
  %418 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %417, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3500, ptr noundef %418)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

419:                                              ; preds = %393
  %420 = load double, ptr %14, align 8, !tbaa !11
  %421 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %420, double 5.000000e+00)
  %422 = fdiv double 0x400921FB54442D18, %421
  %423 = call double @sqrt(double noundef %422) #5
  %424 = load double, ptr %19, align 8, !tbaa !11
  %425 = fmul double %423, %424
  %426 = load double, ptr %14, align 8, !tbaa !11
  %427 = fadd double %426, 2.500000e+00
  %428 = fdiv double %425, %427
  %429 = load double, ptr %14, align 8, !tbaa !11
  %430 = fmul double %428, %429
  %431 = load double, ptr %14, align 8, !tbaa !11
  %432 = fadd double %431, 2.000000e+00
  %433 = fmul double %430, %432
  %434 = load double, ptr %14, align 8, !tbaa !11
  %435 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %434, double 1.000000e+00)
  %436 = fdiv double %433, %435
  %437 = load double, ptr %14, align 8, !tbaa !11
  %438 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %437, double 3.000000e+00)
  %439 = fdiv double %436, %438
  %440 = load double, ptr %14, align 8, !tbaa !11
  %441 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %440, double 1.000000e+00)
  %442 = fdiv double 0x400921FB54442D18, %441
  %443 = call double @sqrt(double noundef %442) #5
  %444 = load double, ptr %18, align 8, !tbaa !11
  %445 = fmul double %443, %444
  %446 = load double, ptr %14, align 8, !tbaa !11
  %447 = fadd double %446, 5.000000e-01
  %448 = fdiv double %445, %447
  %449 = load double, ptr %14, align 8, !tbaa !11
  %450 = fmul double %448, %449
  %451 = load double, ptr %14, align 8, !tbaa !11
  %452 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %451, double 1.000000e+00)
  %453 = fdiv double %450, %452
  %454 = load double, ptr %14, align 8, !tbaa !11
  %455 = load double, ptr %14, align 8, !tbaa !11
  %456 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %455, double -1.000000e+00)
  %457 = fdiv double %454, %456
  %458 = load double, ptr %14, align 8, !tbaa !11
  %459 = fadd double %458, 1.000000e+00
  %460 = load double, ptr %14, align 8, !tbaa !11
  %461 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %460, double 3.000000e+00)
  %462 = fdiv double %459, %461
  %463 = fadd double %457, %462
  %464 = fneg double %453
  %465 = call double @llvm.fmuladd.f64(double %464, double %463, double %439)
  %466 = load double, ptr %14, align 8, !tbaa !11
  %467 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %466, double -3.000000e+00)
  %468 = fdiv double 0x400921FB54442D18, %467
  %469 = call double @sqrt(double noundef %468) #5
  %470 = load double, ptr %20, align 8, !tbaa !11
  %471 = fmul double %469, %470
  %472 = load double, ptr %14, align 8, !tbaa !11
  %473 = fsub double %472, 1.500000e+00
  %474 = fdiv double %471, %473
  %475 = load double, ptr %14, align 8, !tbaa !11
  %476 = fmul double %474, %475
  %477 = load double, ptr %14, align 8, !tbaa !11
  %478 = fsub double %477, 1.000000e+00
  %479 = fmul double %476, %478
  %480 = load double, ptr %14, align 8, !tbaa !11
  %481 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %480, double 1.000000e+00)
  %482 = fdiv double %479, %481
  %483 = load double, ptr %14, align 8, !tbaa !11
  %484 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %483, double -1.000000e+00)
  %485 = fdiv double %482, %484
  %486 = fadd double %465, %485
  %487 = load ptr, ptr %17, align 8, !tbaa !5
  store double %486, ptr %487, align 8, !tbaa !11
  br label %497

488:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #5
  %489 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %490 = load i32, ptr %16, align 4, !tbaa !9
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %489, ptr noundef @.str.105, i32 noundef %490)
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #5
  %491 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %492 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %491, ptr noundef @.str.52, ptr noundef %492)
  %493 = load ptr, ptr %10, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.transfers, ptr %493, i32 0, i32 52
  %495 = getelementptr inbounds [2048 x i8], ptr %494, i64 0, i64 0
  %496 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %495, ptr noundef @.str.2, ptr noundef @__func__.transfer_limber, i32 noundef 3513, ptr noundef %496)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #5
  store i32 1, ptr %9, align 4
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #5
  br label %500

497:                                              ; preds = %419
  br label %498

498:                                              ; preds = %497, %276
  br label %499

499:                                              ; preds = %498, %191
  store i32 0, ptr %9, align 4
  store i32 1, ptr %24, align 4
  br label %500

500:                                              ; preds = %499, %488, %410, %384, %358, %339, %267, %241, %222, %133, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %501 = load i32, ptr %9, align 4
  ret i32 %501
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_limber_interpolate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) #4

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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 192}
!14 = !{!"transfer_workspace", !15, i64 0, !10, i64 96, !6, i64 104, !10, i64 112, !10, i64 116, !10, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !12, i64 184, !10, i64 192, !12, i64 200, !16, i64 208}
!15 = !{!"HypersphericalInterpolationStructure", !10, i64 0, !12, i64 8, !12, i64 16, !10, i64 24, !10, i64 28, !6, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!16 = !{!"short", !7, i64 0}
!17 = !{!14, !12, i64 184}
!18 = !{!14, !6, i64 144}
!19 = !{!14, !10, i64 116}
!20 = !{!14, !6, i64 136}


; 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 [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [110 x i8], align 1
@__func__.transfer_limber = external hidden unnamed_addr constant [16 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [73 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 @asinh(double noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(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 @transfer_limber(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, double noundef %4, double noundef %5, i32 noundef %6, ptr nocapture noundef %7) local_unnamed_addr #4 {
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca [2048 x i8], align 16
  %13 = alloca [2048 x i8], align 16
  %14 = alloca [2048 x i8], align 16
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  switch i32 %6, label %251 [
    i32 0, label %20
    i32 1, label %103
    i32 11, label %164
  ]

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %1, i64 192
  %22 = load i32, ptr %21, align 8, !tbaa !5
  switch i32 %22, label %52 [
    i32 0, label %23
    i32 1, label %26
    i32 -1, label %39
  ]

23:                                               ; preds = %20
  %24 = fadd double %4, 5.000000e-01
  %25 = fdiv double %24, %5
  br label %52

26:                                               ; preds = %20
  %27 = fadd double %4, 1.000000e+00
  %28 = fmul double %27, %4
  %29 = tail call double @sqrt(double noundef %28) #6
  %30 = fdiv double %29, %5
  %31 = getelementptr inbounds i8, ptr %1, i64 184
  %32 = load double, ptr %31, align 8, !tbaa !14
  %33 = tail call double @sqrt(double noundef %32) #6
  %34 = fmul double %30, %33
  %35 = tail call double @asin(double noundef %34) #6
  %36 = load double, ptr %31, align 8, !tbaa !14
  %37 = tail call double @sqrt(double noundef %36) #6
  %38 = fdiv double %35, %37
  br label %52

39:                                               ; preds = %20
  %40 = fadd double %4, 5.000000e-01
  %41 = fdiv double %40, %5
  %42 = getelementptr inbounds i8, ptr %1, i64 184
  %43 = load double, ptr %42, align 8, !tbaa !14
  %44 = fneg double %43
  %45 = tail call double @sqrt(double noundef %44) #6
  %46 = fmul double %41, %45
  %47 = tail call double @asinh(double noundef %46) #6
  %48 = load double, ptr %42, align 8, !tbaa !14
  %49 = fneg double %48
  %50 = tail call double @sqrt(double noundef %49) #6
  %51 = fdiv double %47, %50
  br label %52

52:                                               ; preds = %20, %26, %39, %23
  %.0 = phi double [ %25, %23 ], [ %38, %26 ], [ %51, %39 ], [ 0.000000e+00, %20 ]
  %53 = getelementptr inbounds i8, ptr %1, i64 144
  %54 = load ptr, ptr %53, align 8, !tbaa !15
  %55 = load double, ptr %54, align 8, !tbaa !16
  %56 = fcmp ogt double %.0, %55
  br i1 %56, label %65, label %57

57:                                               ; preds = %52
  %58 = getelementptr inbounds i8, ptr %1, i64 116
  %59 = load i32, ptr %58, align 4, !tbaa !17
  %60 = sext i32 %59 to i64
  %61 = getelementptr double, ptr %54, i64 %60
  %62 = getelementptr i8, ptr %61, i64 -8
  %63 = load double, ptr %62, align 8, !tbaa !16
  %64 = fcmp olt double %.0, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %57, %52
  store double 0.000000e+00, ptr %7, align 8, !tbaa !16
  br label %253

66:                                               ; preds = %57
  %67 = getelementptr inbounds i8, ptr %1, i64 136
  %68 = load ptr, ptr %67, align 8, !tbaa !18
  %69 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef nonnull %54, ptr noundef %68, i32 noundef %59, double noundef %.0, ptr noundef nonnull %9)
  %70 = icmp eq i32 %69, 1
  br i1 %70, label %71, label %73

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #6
  %72 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str, ptr noundef nonnull @.str.99, ptr noundef nonnull %72) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3416, ptr noundef nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #6
  br label %253

73:                                               ; preds = %66
  %74 = fmul double %4, 2.000000e+00
  %75 = fdiv double 0x400921FB54442D18, %74
  %76 = call double @sqrt(double noundef %75) #6
  %77 = fdiv double 2.500000e-01, %4
  %78 = fsub double 1.000000e+00, %77
  %79 = fmul double %4, %4
  %80 = fdiv double 3.125000e-02, %79
  %81 = fadd double %78, %80
  %82 = fmul double %81, %76
  %83 = load double, ptr %9, align 8, !tbaa !16
  %84 = fmul double %82, %83
  store double %84, ptr %7, align 8, !tbaa !16
  %85 = load i32, ptr %21, align 8, !tbaa !5
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %90

87:                                               ; preds = %73
  %88 = fadd double %4, 5.000000e-01
  %89 = fdiv double %84, %88
  store double %89, ptr %7, align 8, !tbaa !16
  br label %253

90:                                               ; preds = %73
  %91 = getelementptr inbounds i8, ptr %1, i64 184
  %92 = load double, ptr %91, align 8, !tbaa !14
  %93 = fmul double %92, %4
  %94 = fmul double %93, %4
  %95 = fdiv double %94, %5
  %96 = fdiv double %95, %5
  %97 = fsub double 1.000000e+00, %96
  %98 = call double @pow(double noundef %97, double noundef -2.500000e-01) #6
  %99 = fmul double %.0, %5
  %100 = fdiv double %98, %99
  %101 = load double, ptr %7, align 8, !tbaa !16
  %102 = fmul double %101, %100
  store double %102, ptr %7, align 8, !tbaa !16
  br label %253

103:                                              ; preds = %8
  %104 = fadd double %4, 1.500000e+00
  %105 = fdiv double %104, %5
  %106 = getelementptr inbounds i8, ptr %1, i64 144
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  %108 = load double, ptr %107, align 8, !tbaa !16
  %109 = fcmp ogt double %105, %108
  br i1 %109, label %120, label %110

110:                                              ; preds = %103
  %111 = fadd double %4, -5.000000e-01
  %112 = fdiv double %111, %5
  %113 = getelementptr inbounds i8, ptr %1, i64 116
  %114 = load i32, ptr %113, align 4, !tbaa !17
  %115 = sext i32 %114 to i64
  %116 = getelementptr double, ptr %107, i64 %115
  %117 = getelementptr i8, ptr %116, i64 -8
  %118 = load double, ptr %117, align 8, !tbaa !16
  %119 = fcmp olt double %112, %118
  br i1 %119, label %120, label %121

120:                                              ; preds = %110, %103
  store double 0.000000e+00, ptr %7, align 8, !tbaa !16
  br label %253

121:                                              ; preds = %110
  %122 = getelementptr inbounds i8, ptr %1, i64 136
  %123 = load ptr, ptr %122, align 8, !tbaa !18
  %124 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef nonnull %107, ptr noundef %123, i32 noundef %114, double noundef %105, ptr noundef nonnull %10)
  %125 = icmp eq i32 %124, 1
  br i1 %125, label %126, label %128

126:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #6
  %127 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str, ptr noundef nonnull @.str.100, ptr noundef nonnull %127) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %127, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3450, ptr noundef nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #6
  br label %253

128:                                              ; preds = %121
  %129 = load ptr, ptr %106, align 8, !tbaa !15
  %130 = load ptr, ptr %122, align 8, !tbaa !18
  %131 = load i32, ptr %113, align 4, !tbaa !17
  %132 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef %129, ptr noundef %130, i32 noundef %131, double noundef %112, ptr noundef nonnull %11)
  %133 = icmp eq i32 %132, 1
  br i1 %133, label %134, label %136

134:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #6
  %135 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str, ptr noundef nonnull @.str.101, ptr noundef nonnull %135) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %135, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3459, ptr noundef nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #6
  br label %253

136:                                              ; preds = %128
  %137 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double 3.000000e+00)
  %138 = fdiv double 0x400921FB54442D18, %137
  %139 = call double @sqrt(double noundef %138) #6
  %140 = fneg double %139
  %141 = load double, ptr %10, align 8, !tbaa !16
  %142 = fadd double %4, 1.000000e+00
  %143 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double 1.000000e+00)
  %144 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double -1.000000e+00)
  %145 = fdiv double 0x400921FB54442D18, %144
  %146 = call double @sqrt(double noundef %145) #6
  %147 = load double, ptr %11, align 8, !tbaa !16
  %148 = insertelement <2 x double> poison, double %141, i64 0
  %149 = insertelement <2 x double> %148, double %146, i64 1
  %150 = insertelement <2 x double> poison, double %140, i64 0
  %151 = insertelement <2 x double> %150, double %147, i64 1
  %152 = fmul <2 x double> %149, %151
  %153 = insertelement <2 x double> poison, double %104, i64 0
  %154 = insertelement <2 x double> %153, double %111, i64 1
  %155 = fdiv <2 x double> %152, %154
  %156 = insertelement <2 x double> poison, double %142, i64 0
  %157 = insertelement <2 x double> %156, double %4, i64 1
  %158 = fmul <2 x double> %155, %157
  %159 = insertelement <2 x double> poison, double %143, i64 0
  %160 = shufflevector <2 x double> %159, <2 x double> poison, <2 x i32> zeroinitializer
  %161 = fdiv <2 x double> %158, %160
  %shift = shufflevector <2 x double> %161, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %162 = fadd <2 x double> %161, %shift
  %163 = extractelement <2 x double> %162, i64 0
  store double %163, ptr %7, align 8, !tbaa !16
  br label %253

164:                                              ; preds = %8
  %165 = fadd double %4, 2.500000e+00
  %166 = fdiv double %165, %5
  %167 = getelementptr inbounds i8, ptr %1, i64 144
  %168 = load ptr, ptr %167, align 8, !tbaa !15
  %169 = load double, ptr %168, align 8, !tbaa !16
  %170 = fcmp ogt double %166, %169
  br i1 %170, label %181, label %171

171:                                              ; preds = %164
  %172 = fadd double %4, -1.500000e+00
  %173 = fdiv double %172, %5
  %174 = getelementptr inbounds i8, ptr %1, i64 116
  %175 = load i32, ptr %174, align 4, !tbaa !17
  %176 = sext i32 %175 to i64
  %177 = getelementptr double, ptr %168, i64 %176
  %178 = getelementptr i8, ptr %177, i64 -8
  %179 = load double, ptr %178, align 8, !tbaa !16
  %180 = fcmp olt double %173, %179
  br i1 %180, label %181, label %182

181:                                              ; preds = %171, %164
  store double 0.000000e+00, ptr %7, align 8, !tbaa !16
  br label %253

182:                                              ; preds = %171
  %183 = getelementptr inbounds i8, ptr %1, i64 136
  %184 = load ptr, ptr %183, align 8, !tbaa !18
  %185 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef nonnull %168, ptr noundef %184, i32 noundef %175, double noundef %166, ptr noundef nonnull %10)
  %186 = icmp eq i32 %185, 1
  br i1 %186, label %187, label %189

187:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #6
  %188 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.102, ptr noundef nonnull %188) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %188, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3482, ptr noundef nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #6
  br label %253

189:                                              ; preds = %182
  %190 = load ptr, ptr %167, align 8, !tbaa !15
  %191 = load ptr, ptr %183, align 8, !tbaa !18
  %192 = load i32, ptr %174, align 4, !tbaa !17
  %193 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef %190, ptr noundef %191, i32 noundef %192, double noundef %173, ptr noundef nonnull %11)
  %194 = icmp eq i32 %193, 1
  br i1 %194, label %195, label %197

195:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #6
  %196 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.103, ptr noundef nonnull %196) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %196, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3491, ptr noundef nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #6
  br label %253

197:                                              ; preds = %189
  %198 = load ptr, ptr %167, align 8, !tbaa !15
  %199 = load ptr, ptr %183, align 8, !tbaa !18
  %200 = load i32, ptr %174, align 4, !tbaa !17
  %201 = fadd double %4, 5.000000e-01
  %202 = fdiv double %201, %5
  %203 = call i32 @transfer_limber_interpolate(ptr noundef %0, ptr noundef %198, ptr noundef %199, i32 noundef %200, double noundef %202, ptr noundef nonnull %9)
  %204 = icmp eq i32 %203, 1
  br i1 %204, label %205, label %207

205:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #6
  %206 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.104, ptr noundef nonnull %206) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %206, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3500, ptr noundef nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #6
  br label %253

207:                                              ; preds = %197
  %208 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double 5.000000e+00)
  %209 = fdiv double 0x400921FB54442D18, %208
  %210 = call double @sqrt(double noundef %209) #6
  %211 = load double, ptr %10, align 8, !tbaa !16
  %212 = fmul double %210, %211
  %213 = fdiv double %212, %165
  %214 = fmul double %213, %4
  %215 = fadd double %4, 2.000000e+00
  %216 = fmul double %215, %214
  %217 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double 1.000000e+00)
  %218 = fdiv double %216, %217
  %219 = insertelement <2 x double> poison, double %4, i64 0
  %220 = shufflevector <2 x double> %219, <2 x double> poison, <2 x i32> zeroinitializer
  %221 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %220, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> <double -1.000000e+00, double 3.000000e+00>)
  %222 = extractelement <2 x double> %221, i64 1
  %223 = fdiv double %218, %222
  %224 = fdiv double 0x400921FB54442D18, %217
  %225 = call double @sqrt(double noundef %224) #6
  %226 = load double, ptr %9, align 8, !tbaa !16
  %227 = fadd double %4, 1.000000e+00
  %228 = insertelement <2 x double> %220, double %227, i64 1
  %229 = fdiv <2 x double> %228, %221
  %shift144 = shufflevector <2 x double> %229, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %230 = fadd <2 x double> %229, %shift144
  %231 = extractelement <2 x double> %230, i64 0
  %232 = fneg double %225
  %233 = fmul double %226, %232
  %234 = fdiv double %233, %201
  %235 = fmul double %234, %4
  %236 = fdiv double %235, %217
  %237 = call double @llvm.fmuladd.f64(double %236, double %231, double %223)
  %238 = call double @llvm.fmuladd.f64(double %4, double 2.000000e+00, double -3.000000e+00)
  %239 = fdiv double 0x400921FB54442D18, %238
  %240 = call double @sqrt(double noundef %239) #6
  %241 = load double, ptr %11, align 8, !tbaa !16
  %242 = fmul double %240, %241
  %243 = fdiv double %242, %172
  %244 = fmul double %243, %4
  %245 = fadd double %4, -1.000000e+00
  %246 = fmul double %245, %244
  %247 = fdiv double %246, %217
  %248 = extractelement <2 x double> %221, i64 0
  %249 = fdiv double %247, %248
  %250 = fadd double %237, %249
  store double %250, ptr %7, align 8, !tbaa !16
  br label %253

251:                                              ; preds = %8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str.105, i32 noundef %6) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #6
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str.52, ptr noundef nonnull %18) #6
  %252 = getelementptr inbounds i8, ptr %0, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %252, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_limber, i32 noundef 3513, ptr noundef nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #6
  br label %253

253:                                              ; preds = %90, %87, %207, %136, %251, %205, %195, %187, %181, %134, %126, %120, %71, %65
  %.0137 = phi i32 [ 0, %65 ], [ 1, %71 ], [ 0, %120 ], [ 1, %126 ], [ 1, %134 ], [ 0, %181 ], [ 1, %187 ], [ 1, %195 ], [ 1, %205 ], [ 1, %251 ], [ 0, %136 ], [ 0, %207 ], [ 0, %87 ], [ 0, %90 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  ret i32 %.0137
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_limber_interpolate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #5

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !8, i64 192}
!6 = !{!"transfer_workspace", !7, i64 0, !8, i64 96, !12, i64 104, !8, i64 112, !8, i64 116, !8, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !11, i64 184, !8, i64 192, !11, i64 200, !13, i64 208}
!7 = !{!"HypersphericalInterpolationStructure", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !12, i64 32, !12, i64 40, !8, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!"short", !9, i64 0}
!14 = !{!6, !11, i64 184}
!15 = !{!6, !12, i64 144}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !8, i64 116}
!18 = !{!6, !12, i64 136}


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