; 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] }
%struct.perturbs = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i32, i32, i32, i32, double, i32, i32, [100 x double], [100 x double], i32, i32, i32, i32, i32, double, i32, i32, [30 x double], double, double, double, ptr, ptr, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, 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, i32, i32, ptr, ptr, ptr, ptr, ptr, double, double, ptr, i32, double, double, double, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, [8000 x i8], [8000 x i8], [8000 x i8], i32, i32, i32, [30 x ptr], [30 x ptr], [30 x ptr], [30 x i32], [30 x i32], [30 x i32], 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 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [307 x i8], align 1
@__func__.transfer_compute_for_each_q = external hidden unnamed_addr constant [28 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [163 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [154 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [128 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 uwtable
define dso_local i32 @transfer_compute_for_each_q(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #2 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca double, align 8
  %36 = alloca i32, align 4
  %37 = alloca double, align 8
  %38 = alloca i16, align 2
  %39 = alloca i32, align 4
  %40 = alloca [2048 x i8], align 16
  %41 = alloca i32, align 4
  %42 = alloca [2048 x i8], align 16
  %43 = alloca [2048 x i8], align 16
  %44 = alloca [2048 x i8], align 16
  %45 = alloca [2048 x i8], align 16
  %46 = alloca [2048 x i8], align 16
  %47 = alloca [2048 x i8], align 16
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store ptr %4, ptr %18, align 8, !tbaa !5
  store i32 %5, ptr %19, align 4, !tbaa !9
  store i32 %6, ptr %20, align 4, !tbaa !9
  store double %7, ptr %21, align 8, !tbaa !11
  store ptr %8, ptr %22, align 8, !tbaa !5
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store ptr %11, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  %48 = load ptr, ptr %25, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.transfer_workspace, ptr %48, i32 0, i32 6
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  store ptr %50, ptr %30, align 8, !tbaa !5
  %51 = load ptr, ptr %25, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.transfer_workspace, ptr %51, i32 0, i32 8
  %53 = load ptr, ptr %52, align 8, !tbaa !17
  store ptr %53, ptr %31, align 8, !tbaa !5
  %54 = load ptr, ptr %25, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.transfer_workspace, ptr %54, i32 0, i32 9
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  store ptr %56, ptr %32, align 8, !tbaa !5
  %57 = load ptr, ptr %25, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.transfer_workspace, ptr %57, i32 0, i32 4
  store ptr %58, ptr %33, align 8, !tbaa !5
  %59 = load ptr, ptr %25, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.transfer_workspace, ptr %59, i32 0, i32 7
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  store ptr %61, ptr %34, align 8, !tbaa !5
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %603, %12
  %63 = load i32, ptr %26, align 4, !tbaa !9
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.transfers, ptr %64, i32 0, i32 21
  %66 = load i32, ptr %65, align 4, !tbaa !20
  %67 = icmp slt i32 %63, %66
  br i1 %67, label %68, label %606

68:                                               ; preds = %62
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.transfers, ptr %69, i32 0, i32 47
  %71 = load ptr, ptr %70, align 8, !tbaa !23
  %72 = load i32, ptr %26, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds ptr, ptr %71, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = load i32, ptr %19, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds double, ptr %75, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !11
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.perturbs, ptr %80, i32 0, i32 155
  %82 = load ptr, ptr %81, align 8, !tbaa !24
  %83 = load i32, ptr %26, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds ptr, ptr %82, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.perturbs, ptr %87, i32 0, i32 153
  %89 = load ptr, ptr %88, align 8, !tbaa !26
  %90 = load i32, ptr %26, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds i32, ptr %89, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = sub nsw i32 %93, 1
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds double, ptr %86, i64 %95
  %97 = load double, ptr %96, align 8, !tbaa !11
  %98 = fcmp ole double %79, %97
  br i1 %98, label %99, label %519

99:                                               ; preds = %68
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %515, %99
  %101 = load i32, ptr %27, align 4, !tbaa !9
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.perturbs, ptr %102, i32 0, i32 66
  %104 = load ptr, ptr %103, align 8, !tbaa !27
  %105 = load i32, ptr %26, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds i32, ptr %104, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !9
  %109 = icmp slt i32 %101, %108
  br i1 %109, label %110, label %518

110:                                              ; preds = %100
  store i32 -1, ptr %36, align 4, !tbaa !9
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %111

111:                                              ; preds = %511, %110
  %112 = load i32, ptr %28, align 4, !tbaa !9
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.transfers, ptr %113, i32 0, i32 39
  %115 = load ptr, ptr %114, align 8, !tbaa !28
  %116 = load i32, ptr %26, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %115, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = icmp slt i32 %112, %119
  br i1 %120, label %121, label %514

121:                                              ; preds = %111
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds ptr, ptr %122, i64 %124
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = load i32, ptr %28, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i32, ptr %126, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = load i32, ptr %36, align 4, !tbaa !9
  %132 = icmp ne i32 %130, %131
  br i1 %132, label %133, label %215

133:                                              ; preds = %121
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  %136 = load i32, ptr %19, align 4, !tbaa !9
  %137 = load i32, ptr %26, align 4, !tbaa !9
  %138 = load i32, ptr %27, align 4, !tbaa !9
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = load i32, ptr %26, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds ptr, ptr %139, i64 %141
  %143 = load ptr, ptr %142, align 8, !tbaa !5
  %144 = load i32, ptr %28, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds i32, ptr %143, i64 %145
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = load ptr, ptr %22, align 8, !tbaa !5
  %149 = load i32, ptr %26, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds ptr, ptr %148, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !5
  %153 = load i32, ptr %27, align 4, !tbaa !9
  %154 = load ptr, ptr %16, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.perturbs, ptr %154, i32 0, i32 151
  %156 = load ptr, ptr %155, align 8, !tbaa !29
  %157 = load i32, ptr %26, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds i32, ptr %156, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !9
  %161 = mul nsw i32 %153, %160
  %162 = load ptr, ptr %18, align 8, !tbaa !5
  %163 = load i32, ptr %26, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds ptr, ptr %162, i64 %164
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = load i32, ptr %28, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds i32, ptr %166, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !9
  %171 = add nsw i32 %161, %170
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds ptr, ptr %152, i64 %172
  %174 = load ptr, ptr %173, align 8, !tbaa !5
  %175 = load ptr, ptr %23, align 8, !tbaa !5
  %176 = load i32, ptr %26, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds ptr, ptr %175, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !5
  %180 = load i32, ptr %27, align 4, !tbaa !9
  %181 = load ptr, ptr %16, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.perturbs, ptr %181, i32 0, i32 151
  %183 = load ptr, ptr %182, align 8, !tbaa !29
  %184 = load i32, ptr %26, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds i32, ptr %183, i64 %185
  %187 = load i32, ptr %186, align 4, !tbaa !9
  %188 = mul nsw i32 %180, %187
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = load i32, ptr %26, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds ptr, ptr %189, i64 %191
  %193 = load ptr, ptr %192, align 8, !tbaa !5
  %194 = load i32, ptr %28, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %193, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !9
  %198 = add nsw i32 %188, %197
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds ptr, ptr %179, i64 %199
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = load ptr, ptr %30, align 8, !tbaa !5
  %203 = call i32 @transfer_interpolate_sources(ptr noundef %134, ptr noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef %138, i32 noundef %147, ptr noundef %174, ptr noundef %201, ptr noundef %202)
  %204 = icmp eq i32 %203, 1
  br i1 %204, label %205, label %214

205:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 2048, ptr %40) #4
  %206 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  %207 = load ptr, ptr %17, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.transfers, ptr %207, i32 0, i32 52
  %209 = getelementptr inbounds [2048 x i8], ptr %208, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %206, ptr noundef @.str, ptr noundef @.str.58, ptr noundef %209)
  %210 = load ptr, ptr %17, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.transfers, ptr %210, i32 0, i32 52
  %212 = getelementptr inbounds [2048 x i8], ptr %211, i64 0, i64 0
  %213 = getelementptr inbounds [2048 x i8], ptr %40, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %212, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1786, ptr noundef %213)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %40) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

214:                                              ; preds = %133
  br label %215

215:                                              ; preds = %214, %121
  %216 = load ptr, ptr %18, align 8, !tbaa !5
  %217 = load i32, ptr %26, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds ptr, ptr %216, i64 %218
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  %221 = load i32, ptr %28, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds i32, ptr %220, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !9
  store i32 %224, ptr %36, align 4, !tbaa !9
  %225 = load ptr, ptr %14, align 8, !tbaa !5
  %226 = load ptr, ptr %15, align 8, !tbaa !5
  %227 = load ptr, ptr %16, align 8, !tbaa !5
  %228 = load ptr, ptr %17, align 8, !tbaa !5
  %229 = load ptr, ptr %30, align 8, !tbaa !5
  %230 = load double, ptr %21, align 8, !tbaa !11
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = load i32, ptr %26, align 4, !tbaa !9
  %233 = load i32, ptr %28, align 4, !tbaa !9
  %234 = load ptr, ptr %34, align 8, !tbaa !5
  %235 = load ptr, ptr %24, align 8, !tbaa !5
  %236 = load i32, ptr %20, align 4, !tbaa !9
  %237 = load ptr, ptr %31, align 8, !tbaa !5
  %238 = load ptr, ptr %32, align 8, !tbaa !5
  %239 = load ptr, ptr %33, align 8, !tbaa !5
  %240 = call i32 @transfer_sources(ptr noundef %225, ptr noundef %226, ptr noundef %227, ptr noundef %228, ptr noundef %229, double noundef %230, i32 noundef %231, i32 noundef %232, i32 noundef %233, ptr noundef %234, ptr noundef %235, i32 noundef %236, ptr noundef %237, ptr noundef %238, ptr noundef %239)
  %241 = icmp eq i32 %240, 1
  br i1 %241, label %242, label %251

242:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 2048, ptr %42) #4
  %243 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  %244 = load ptr, ptr %17, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.transfers, ptr %244, i32 0, i32 52
  %246 = getelementptr inbounds [2048 x i8], ptr %245, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %243, ptr noundef @.str, ptr noundef @.str.59, ptr noundef %246)
  %247 = load ptr, ptr %17, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.transfers, ptr %247, i32 0, i32 52
  %249 = getelementptr inbounds [2048 x i8], ptr %248, i64 0, i64 0
  %250 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %249, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1817, ptr noundef %250)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %42) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

251:                                              ; preds = %215
  %252 = load ptr, ptr %17, align 8, !tbaa !5
  %253 = load ptr, ptr %25, align 8, !tbaa !5
  %254 = load i32, ptr %26, align 4, !tbaa !9
  %255 = load i32, ptr %19, align 4, !tbaa !9
  %256 = call i32 @transfer_radial_coordinates(ptr noundef %252, ptr noundef %253, i32 noundef %254, i32 noundef %255)
  %257 = icmp eq i32 %256, 1
  br i1 %257, label %258, label %267

258:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #4
  %259 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %260 = load ptr, ptr %17, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.transfers, ptr %260, i32 0, i32 52
  %262 = getelementptr inbounds [2048 x i8], ptr %261, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %259, ptr noundef @.str, ptr noundef @.str.60, ptr noundef %262)
  %263 = load ptr, ptr %17, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.transfers, ptr %263, i32 0, i32 52
  %265 = getelementptr inbounds [2048 x i8], ptr %264, i64 0, i64 0
  %266 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %265, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1825, ptr noundef %266)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

267:                                              ; preds = %251
  %268 = load ptr, ptr %16, align 8, !tbaa !5
  %269 = load ptr, ptr %17, align 8, !tbaa !5
  %270 = load i32, ptr %26, align 4, !tbaa !9
  %271 = load i32, ptr %28, align 4, !tbaa !9
  %272 = call i32 @transfer_select_radial_function(ptr noundef %268, ptr noundef %269, i32 noundef %270, i32 noundef %271, ptr noundef %39)
  %273 = icmp eq i32 %272, 1
  br i1 %273, label %274, label %283

274:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 2048, ptr %44) #4
  %275 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  %276 = load ptr, ptr %17, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.transfers, ptr %276, i32 0, i32 52
  %278 = getelementptr inbounds [2048 x i8], ptr %277, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %275, ptr noundef @.str, ptr noundef @.str.61, ptr noundef %278)
  %279 = load ptr, ptr %17, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.transfers, ptr %279, i32 0, i32 52
  %281 = getelementptr inbounds [2048 x i8], ptr %280, i64 0, i64 0
  %282 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %281, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1835, ptr noundef %282)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %44) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

283:                                              ; preds = %267
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %284

284:                                              ; preds = %507, %283
  %285 = load i32, ptr %29, align 4, !tbaa !9
  %286 = load ptr, ptr %17, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.transfers, ptr %286, i32 0, i32 41
  %288 = load ptr, ptr %287, align 8, !tbaa !30
  %289 = load i32, ptr %26, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds i32, ptr %288, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !9
  %293 = icmp slt i32 %285, %292
  br i1 %293, label %294, label %510

294:                                              ; preds = %284
  %295 = load ptr, ptr %17, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.transfers, ptr %295, i32 0, i32 43
  %297 = load ptr, ptr %296, align 8, !tbaa !31
  %298 = load i32, ptr %29, align 4, !tbaa !9
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds i32, ptr %297, i64 %299
  %301 = load i32, ptr %300, align 4, !tbaa !9
  %302 = sitofp i32 %301 to double
  store double %302, ptr %37, align 8, !tbaa !11
  %303 = load ptr, ptr %14, align 8, !tbaa !5
  %304 = load ptr, ptr %16, align 8, !tbaa !5
  %305 = load ptr, ptr %17, align 8, !tbaa !5
  %306 = load i32, ptr %26, align 4, !tbaa !9
  %307 = load i32, ptr %27, align 4, !tbaa !9
  %308 = load i32, ptr %28, align 4, !tbaa !9
  %309 = load ptr, ptr %15, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.background, ptr %309, i32 0, i32 44
  %311 = load double, ptr %310, align 8, !tbaa !32
  %312 = load double, ptr %21, align 8, !tbaa !11
  %313 = fsub double %311, %312
  %314 = load ptr, ptr %17, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.transfers, ptr %314, i32 0, i32 44
  %316 = load double, ptr %315, align 8, !tbaa !34
  %317 = fmul double %313, %316
  %318 = load ptr, ptr %17, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.transfers, ptr %318, i32 0, i32 46
  %320 = load ptr, ptr %319, align 8, !tbaa !35
  %321 = load i32, ptr %19, align 4, !tbaa !9
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds double, ptr %320, i64 %322
  %324 = load double, ptr %323, align 8, !tbaa !11
  %325 = load double, ptr %37, align 8, !tbaa !11
  %326 = call i32 @transfer_can_be_neglected(ptr noundef %303, ptr noundef %304, ptr noundef %305, i32 noundef %306, i32 noundef %307, i32 noundef %308, double noundef %317, double noundef %324, double noundef %325, ptr noundef %38)
  %327 = icmp eq i32 %326, 1
  br i1 %327, label %328, label %337

328:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #4
  %329 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %330 = load ptr, ptr %17, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.transfers, ptr %330, i32 0, i32 52
  %332 = getelementptr inbounds [2048 x i8], ptr %331, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %329, ptr noundef @.str, ptr noundef @.str.62, ptr noundef %332)
  %333 = load ptr, ptr %17, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.transfers, ptr %333, i32 0, i32 52
  %335 = getelementptr inbounds [2048 x i8], ptr %334, i64 0, i64 0
  %336 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %335, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1853, ptr noundef %336)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

337:                                              ; preds = %294
  %338 = load ptr, ptr %25, align 8, !tbaa !5
  %339 = getelementptr inbounds %struct.transfer_workspace, ptr %338, i32 0, i32 14
  %340 = load i32, ptr %339, align 8, !tbaa !36
  %341 = icmp eq i32 %340, 1
  br i1 %341, label %342, label %366

342:                                              ; preds = %337
  %343 = load ptr, ptr %17, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.transfers, ptr %343, i32 0, i32 43
  %345 = load ptr, ptr %344, align 8, !tbaa !31
  %346 = load i32, ptr %29, align 4, !tbaa !9
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds i32, ptr %345, i64 %347
  %349 = load i32, ptr %348, align 4, !tbaa !9
  %350 = load ptr, ptr %17, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.transfers, ptr %350, i32 0, i32 46
  %352 = load ptr, ptr %351, align 8, !tbaa !35
  %353 = load i32, ptr %19, align 4, !tbaa !9
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds double, ptr %352, i64 %354
  %356 = load double, ptr %355, align 8, !tbaa !11
  %357 = load ptr, ptr %25, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.transfer_workspace, ptr %357, i32 0, i32 13
  %359 = load double, ptr %358, align 8, !tbaa !37
  %360 = call double @sqrt(double noundef %359) #4
  %361 = fdiv double %356, %360
  %362 = fadd double %361, 2.000000e-01
  %363 = fptosi double %362 to i32
  %364 = icmp sge i32 %349, %363
  br i1 %364, label %365, label %366

365:                                              ; preds = %342
  store i16 1, ptr %38, align 2, !tbaa !38
  br label %366

366:                                              ; preds = %365, %342, %337
  %367 = load ptr, ptr %25, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.transfer_workspace, ptr %367, i32 0, i32 14
  %369 = load i32, ptr %368, align 8, !tbaa !36
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %371, label %385

371:                                              ; preds = %366
  %372 = load i32, ptr %29, align 4, !tbaa !9
  %373 = load ptr, ptr %25, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.transfer_workspace, ptr %373, i32 0, i32 0
  %375 = getelementptr inbounds %struct.HypersphericalInterpolationStructure, ptr %374, i32 0, i32 4
  %376 = load i32, ptr %375, align 4, !tbaa !39
  %377 = icmp sge i32 %372, %376
  br i1 %377, label %378, label %385

378:                                              ; preds = %371
  %379 = load i32, ptr %19, align 4, !tbaa !9
  %380 = load ptr, ptr %17, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.transfers, ptr %380, i32 0, i32 48
  %382 = load i32, ptr %381, align 8, !tbaa !40
  %383 = icmp slt i32 %379, %382
  br i1 %383, label %384, label %385

384:                                              ; preds = %378
  store i16 1, ptr %38, align 2, !tbaa !38
  br label %385

385:                                              ; preds = %384, %378, %371, %366
  %386 = load i16, ptr %38, align 2, !tbaa !38
  %387 = sext i16 %386 to i32
  %388 = icmp eq i32 %387, 1
  br i1 %388, label %389, label %427

389:                                              ; preds = %385
  %390 = load ptr, ptr %17, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.transfers, ptr %390, i32 0, i32 49
  %392 = load ptr, ptr %391, align 8, !tbaa !41
  %393 = load i32, ptr %26, align 4, !tbaa !9
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds ptr, ptr %392, i64 %394
  %396 = load ptr, ptr %395, align 8, !tbaa !5
  %397 = load i32, ptr %27, align 4, !tbaa !9
  %398 = load ptr, ptr %17, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.transfers, ptr %398, i32 0, i32 39
  %400 = load ptr, ptr %399, align 8, !tbaa !28
  %401 = load i32, ptr %26, align 4, !tbaa !9
  %402 = sext i32 %401 to i64
  %403 = getelementptr inbounds i32, ptr %400, i64 %402
  %404 = load i32, ptr %403, align 4, !tbaa !9
  %405 = mul nsw i32 %397, %404
  %406 = load i32, ptr %28, align 4, !tbaa !9
  %407 = add nsw i32 %405, %406
  %408 = load ptr, ptr %17, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.transfers, ptr %408, i32 0, i32 41
  %410 = load ptr, ptr %409, align 8, !tbaa !30
  %411 = load i32, ptr %26, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds i32, ptr %410, i64 %412
  %414 = load i32, ptr %413, align 4, !tbaa !9
  %415 = mul nsw i32 %407, %414
  %416 = load i32, ptr %29, align 4, !tbaa !9
  %417 = add nsw i32 %415, %416
  %418 = sext i32 %417 to i64
  %419 = load ptr, ptr %17, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.transfers, ptr %419, i32 0, i32 45
  %421 = load i64, ptr %420, align 8, !tbaa !42
  %422 = mul i64 %418, %421
  %423 = load i32, ptr %19, align 4, !tbaa !9
  %424 = sext i32 %423 to i64
  %425 = add i64 %422, %424
  %426 = getelementptr inbounds double, ptr %396, i64 %425
  store double 0.000000e+00, ptr %426, align 8, !tbaa !11
  br label %506

427:                                              ; preds = %385
  %428 = load ptr, ptr %25, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.transfer_workspace, ptr %428, i32 0, i32 14
  %430 = load i32, ptr %429, align 8, !tbaa !36
  %431 = icmp eq i32 %430, 0
  br i1 %431, label %432, label %451

432:                                              ; preds = %427
  %433 = load ptr, ptr %25, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.transfer_workspace, ptr %433, i32 0, i32 2
  %435 = load ptr, ptr %434, align 8, !tbaa !43
  %436 = getelementptr inbounds %struct.HypersphericalInterpolationStructure, ptr %435, i32 0, i32 8
  %437 = load ptr, ptr %436, align 8, !tbaa !44
  %438 = load ptr, ptr %25, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.transfer_workspace, ptr %438, i32 0, i32 2
  %440 = load ptr, ptr %439, align 8, !tbaa !43
  %441 = getelementptr inbounds %struct.HypersphericalInterpolationStructure, ptr %440, i32 0, i32 7
  %442 = load i32, ptr %441, align 8, !tbaa !45
  %443 = sub nsw i32 %442, 1
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds double, ptr %437, i64 %444
  %446 = load double, ptr %445, align 8, !tbaa !11
  %447 = load ptr, ptr %31, align 8, !tbaa !5
  %448 = getelementptr inbounds double, ptr %447, i64 0
  %449 = load double, ptr %448, align 8, !tbaa !11
  %450 = fdiv double %446, %449
  store double %450, ptr %35, align 8, !tbaa !11
  br label %461

451:                                              ; preds = %427
  %452 = load ptr, ptr %17, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.transfers, ptr %452, i32 0, i32 46
  %454 = load ptr, ptr %453, align 8, !tbaa !35
  %455 = load ptr, ptr %17, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.transfers, ptr %455, i32 0, i32 45
  %457 = load i64, ptr %456, align 8, !tbaa !42
  %458 = sub i64 %457, 1
  %459 = getelementptr inbounds double, ptr %454, i64 %458
  %460 = load double, ptr %459, align 8, !tbaa !11
  store double %460, ptr %35, align 8, !tbaa !11
  br label %461

461:                                              ; preds = %451, %432
  %462 = load ptr, ptr %14, align 8, !tbaa !5
  %463 = load ptr, ptr %16, align 8, !tbaa !5
  %464 = load ptr, ptr %17, align 8, !tbaa !5
  %465 = load i32, ptr %26, align 4, !tbaa !9
  %466 = load i32, ptr %28, align 4, !tbaa !9
  %467 = load double, ptr %37, align 8, !tbaa !11
  %468 = load ptr, ptr %25, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.transfer_workspace, ptr %468, i32 0, i32 16
  %470 = call i32 @transfer_late_source_can_be_neglected(ptr noundef %462, ptr noundef %463, ptr noundef %464, i32 noundef %465, i32 noundef %466, double noundef %467, ptr noundef %469)
  %471 = icmp eq i32 %470, 1
  br i1 %471, label %472, label %481

472:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 2048, ptr %46) #4
  %473 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  %474 = load ptr, ptr %17, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.transfers, ptr %474, i32 0, i32 52
  %476 = getelementptr inbounds [2048 x i8], ptr %475, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %473, ptr noundef @.str, ptr noundef @.str.63, ptr noundef %476)
  %477 = load ptr, ptr %17, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.transfers, ptr %477, i32 0, i32 52
  %479 = getelementptr inbounds [2048 x i8], ptr %478, i64 0, i64 0
  %480 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %479, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1893, ptr noundef %480)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %46) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

481:                                              ; preds = %461
  %482 = load ptr, ptr %25, align 8, !tbaa !5
  %483 = load ptr, ptr %14, align 8, !tbaa !5
  %484 = load ptr, ptr %16, align 8, !tbaa !5
  %485 = load ptr, ptr %17, align 8, !tbaa !5
  %486 = load i32, ptr %19, align 4, !tbaa !9
  %487 = load i32, ptr %26, align 4, !tbaa !9
  %488 = load i32, ptr %27, align 4, !tbaa !9
  %489 = load i32, ptr %28, align 4, !tbaa !9
  %490 = load i32, ptr %29, align 4, !tbaa !9
  %491 = load double, ptr %37, align 8, !tbaa !11
  %492 = load double, ptr %35, align 8, !tbaa !11
  %493 = load i32, ptr %39, align 4, !tbaa !9
  %494 = call i32 @transfer_compute_for_each_l(ptr noundef %482, ptr noundef %483, ptr noundef %484, ptr noundef %485, i32 noundef %486, i32 noundef %487, i32 noundef %488, i32 noundef %489, i32 noundef %490, double noundef %491, double noundef %492, i32 noundef %493)
  %495 = icmp eq i32 %494, 1
  br i1 %495, label %496, label %505

496:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #4
  %497 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %498 = load ptr, ptr %17, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.transfers, ptr %498, i32 0, i32 52
  %500 = getelementptr inbounds [2048 x i8], ptr %499, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %497, ptr noundef @.str, ptr noundef @.str.64, ptr noundef %500)
  %501 = load ptr, ptr %17, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.transfers, ptr %501, i32 0, i32 52
  %503 = getelementptr inbounds [2048 x i8], ptr %502, i64 0, i64 0
  %504 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %503, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_q, i32 noundef 1911, ptr noundef %504)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #4
  store i32 1, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

505:                                              ; preds = %481
  br label %506

506:                                              ; preds = %505, %389
  br label %507

507:                                              ; preds = %506
  %508 = load i32, ptr %29, align 4, !tbaa !9
  %509 = add nsw i32 %508, 1
  store i32 %509, ptr %29, align 4, !tbaa !9
  br label %284, !llvm.loop !46

510:                                              ; preds = %284
  br label %511

511:                                              ; preds = %510
  %512 = load i32, ptr %28, align 4, !tbaa !9
  %513 = add nsw i32 %512, 1
  store i32 %513, ptr %28, align 4, !tbaa !9
  br label %111, !llvm.loop !48

514:                                              ; preds = %111
  br label %515

515:                                              ; preds = %514
  %516 = load i32, ptr %27, align 4, !tbaa !9
  %517 = add nsw i32 %516, 1
  store i32 %517, ptr %27, align 4, !tbaa !9
  br label %100, !llvm.loop !49

518:                                              ; preds = %100
  br label %602

519:                                              ; preds = %68
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %520

520:                                              ; preds = %598, %519
  %521 = load i32, ptr %27, align 4, !tbaa !9
  %522 = load ptr, ptr %16, align 8, !tbaa !5
  %523 = getelementptr inbounds %struct.perturbs, ptr %522, i32 0, i32 66
  %524 = load ptr, ptr %523, align 8, !tbaa !27
  %525 = load i32, ptr %26, align 4, !tbaa !9
  %526 = sext i32 %525 to i64
  %527 = getelementptr inbounds i32, ptr %524, i64 %526
  %528 = load i32, ptr %527, align 4, !tbaa !9
  %529 = icmp slt i32 %521, %528
  br i1 %529, label %530, label %601

530:                                              ; preds = %520
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %531

531:                                              ; preds = %594, %530
  %532 = load i32, ptr %28, align 4, !tbaa !9
  %533 = load ptr, ptr %17, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.transfers, ptr %533, i32 0, i32 39
  %535 = load ptr, ptr %534, align 8, !tbaa !28
  %536 = load i32, ptr %26, align 4, !tbaa !9
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds i32, ptr %535, i64 %537
  %539 = load i32, ptr %538, align 4, !tbaa !9
  %540 = icmp slt i32 %532, %539
  br i1 %540, label %541, label %597

541:                                              ; preds = %531
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %542

542:                                              ; preds = %590, %541
  %543 = load i32, ptr %29, align 4, !tbaa !9
  %544 = load ptr, ptr %17, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.transfers, ptr %544, i32 0, i32 41
  %546 = load ptr, ptr %545, align 8, !tbaa !30
  %547 = load i32, ptr %26, align 4, !tbaa !9
  %548 = sext i32 %547 to i64
  %549 = getelementptr inbounds i32, ptr %546, i64 %548
  %550 = load i32, ptr %549, align 4, !tbaa !9
  %551 = icmp slt i32 %543, %550
  br i1 %551, label %552, label %593

552:                                              ; preds = %542
  %553 = load ptr, ptr %17, align 8, !tbaa !5
  %554 = getelementptr inbounds %struct.transfers, ptr %553, i32 0, i32 49
  %555 = load ptr, ptr %554, align 8, !tbaa !41
  %556 = load i32, ptr %26, align 4, !tbaa !9
  %557 = sext i32 %556 to i64
  %558 = getelementptr inbounds ptr, ptr %555, i64 %557
  %559 = load ptr, ptr %558, align 8, !tbaa !5
  %560 = load i32, ptr %27, align 4, !tbaa !9
  %561 = load ptr, ptr %17, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.transfers, ptr %561, i32 0, i32 39
  %563 = load ptr, ptr %562, align 8, !tbaa !28
  %564 = load i32, ptr %26, align 4, !tbaa !9
  %565 = sext i32 %564 to i64
  %566 = getelementptr inbounds i32, ptr %563, i64 %565
  %567 = load i32, ptr %566, align 4, !tbaa !9
  %568 = mul nsw i32 %560, %567
  %569 = load i32, ptr %28, align 4, !tbaa !9
  %570 = add nsw i32 %568, %569
  %571 = load ptr, ptr %17, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.transfers, ptr %571, i32 0, i32 41
  %573 = load ptr, ptr %572, align 8, !tbaa !30
  %574 = load i32, ptr %26, align 4, !tbaa !9
  %575 = sext i32 %574 to i64
  %576 = getelementptr inbounds i32, ptr %573, i64 %575
  %577 = load i32, ptr %576, align 4, !tbaa !9
  %578 = mul nsw i32 %570, %577
  %579 = load i32, ptr %29, align 4, !tbaa !9
  %580 = add nsw i32 %578, %579
  %581 = sext i32 %580 to i64
  %582 = load ptr, ptr %17, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.transfers, ptr %582, i32 0, i32 45
  %584 = load i64, ptr %583, align 8, !tbaa !42
  %585 = mul i64 %581, %584
  %586 = load i32, ptr %19, align 4, !tbaa !9
  %587 = sext i32 %586 to i64
  %588 = add i64 %585, %587
  %589 = getelementptr inbounds double, ptr %559, i64 %588
  store double 0.000000e+00, ptr %589, align 8, !tbaa !11
  br label %590

590:                                              ; preds = %552
  %591 = load i32, ptr %29, align 4, !tbaa !9
  %592 = add nsw i32 %591, 1
  store i32 %592, ptr %29, align 4, !tbaa !9
  br label %542, !llvm.loop !50

593:                                              ; preds = %542
  br label %594

594:                                              ; preds = %593
  %595 = load i32, ptr %28, align 4, !tbaa !9
  %596 = add nsw i32 %595, 1
  store i32 %596, ptr %28, align 4, !tbaa !9
  br label %531, !llvm.loop !51

597:                                              ; preds = %531
  br label %598

598:                                              ; preds = %597
  %599 = load i32, ptr %27, align 4, !tbaa !9
  %600 = add nsw i32 %599, 1
  store i32 %600, ptr %27, align 4, !tbaa !9
  br label %520, !llvm.loop !52

601:                                              ; preds = %520
  br label %602

602:                                              ; preds = %601, %518
  br label %603

603:                                              ; preds = %602
  %604 = load i32, ptr %26, align 4, !tbaa !9
  %605 = add nsw i32 %604, 1
  store i32 %605, ptr %26, align 4, !tbaa !9
  br label %62, !llvm.loop !53

606:                                              ; preds = %62
  store i32 0, ptr %13, align 4
  store i32 1, ptr %41, align 4
  br label %607

607:                                              ; preds = %606, %496, %472, %328, %274, %258, %242, %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  %608 = load i32, ptr %13, align 4
  ret i32 %608
}

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_interpolate_sources(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_radial_coordinates(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_select_radial_function(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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, !6, i64 128}
!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, !6, i64 144}
!18 = !{!14, !6, i64 152}
!19 = !{!14, !6, i64 136}
!20 = !{!21, !10, i64 2212}
!21 = !{!"transfers", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 824, !16, i64 1624, !16, i64 1626, !7, i64 1628, !10, i64 1884, !6, i64 1888, !6, i64 1896, !6, i64 1904, !16, i64 1912, !16, i64 1914, !7, i64 1916, !10, i64 2172, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !16, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !6, i64 2288, !6, i64 2296, !6, i64 2304, !10, i64 2312, !6, i64 2320, !12, i64 2328, !22, i64 2336, !6, i64 2344, !6, i64 2352, !10, i64 2360, !6, i64 2368, !16, i64 2376, !16, i64 2378, !7, i64 2380}
!22 = !{!"long", !7, i64 0}
!23 = !{!21, !6, i64 2352}
!24 = !{!25, !6, i64 2368}
!25 = !{!"perturbs", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !16, i64 18, !16, i64 20, !10, i64 24, !16, i64 28, !16, i64 30, !16, i64 32, !16, i64 34, !16, i64 36, !16, i64 38, !16, i64 40, !16, i64 42, !16, i64 44, !16, i64 46, !16, i64 48, !16, i64 50, !16, i64 52, !16, i64 54, !16, i64 56, !16, i64 58, !16, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !12, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !12, i64 1720, !10, i64 1728, !10, i64 1732, !7, i64 1736, !12, i64 1976, !12, i64 1984, !12, i64 1992, !6, i64 2000, !6, i64 2008, !10, i64 2016, !16, i64 2020, !16, i64 2022, !10, i64 2024, !10, i64 2028, !10, i64 2032, !10, i64 2036, !10, i64 2040, !10, i64 2044, !10, i64 2048, !10, i64 2052, !10, i64 2056, !10, i64 2060, !10, i64 2064, !6, i64 2072, !16, i64 2080, !16, i64 2082, !16, i64 2084, !16, i64 2086, !16, i64 2088, !16, i64 2090, !16, i64 2092, !16, i64 2094, !16, i64 2096, !16, i64 2098, !16, i64 2100, !16, i64 2102, !16, i64 2104, !16, i64 2106, !16, i64 2108, !16, i64 2110, !16, i64 2112, !16, i64 2114, !16, i64 2116, !16, i64 2118, !16, i64 2120, !16, i64 2122, !16, i64 2124, !16, i64 2126, !16, i64 2128, !16, i64 2130, !16, i64 2132, !16, i64 2134, !16, i64 2136, !16, i64 2138, !16, i64 2140, !16, i64 2142, !16, i64 2144, !16, i64 2146, !16, i64 2148, !16, i64 2150, !16, i64 2152, !16, i64 2154, !16, i64 2156, !16, i64 2158, !10, i64 2160, !10, i64 2164, !10, i64 2168, !10, i64 2172, !10, i64 2176, !10, i64 2180, !10, i64 2184, !10, i64 2188, !10, i64 2192, !10, i64 2196, !10, i64 2200, !10, i64 2204, !10, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !10, i64 2284, !10, i64 2288, !10, i64 2292, !10, i64 2296, !10, i64 2300, !10, i64 2304, !10, i64 2308, !10, i64 2312, !10, i64 2316, !10, i64 2320, !10, i64 2324, !10, i64 2328, !10, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !12, i64 2376, !12, i64 2384, !6, i64 2392, !10, i64 2400, !12, i64 2408, !12, i64 2416, !12, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !10, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !16, i64 27608, !7, i64 27610}
!26 = !{!25, !6, i64 2352}
!27 = !{!25, !6, i64 2072}
!28 = !{!21, !6, i64 2288}
!29 = !{!25, !6, i64 2336}
!30 = !{!21, !6, i64 2304}
!31 = !{!21, !6, i64 2320}
!32 = !{!33, !12, i64 344}
!33 = !{!"background", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !10, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !16, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !16, i64 176, !12, i64 184, !12, i64 192, !6, i64 200, !10, i64 208, !10, i64 212, !12, i64 216, !10, i64 224, !6, i64 232, !6, i64 240, !12, i64 248, !6, i64 256, !12, i64 264, !6, i64 272, !12, i64 280, !6, i64 288, !12, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !10, i64 360, !6, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !12, i64 408, !12, i64 416, !12, i64 424, !12, i64 432, !12, i64 440, !12, i64 448, !12, 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, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, 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, !16, i64 724, !16, i64 726, !16, i64 728, !16, i64 730, !16, i64 732, !16, i64 734, !16, i64 736, !16, i64 738, !16, i64 740, !16, i64 742, !16, 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, !16, i64 840, !16, i64 842, !16, i64 844, !16, i64 846, !16, i64 848, !16, i64 850, !7, i64 852, !16, i64 2900, !7, i64 2902}
!34 = !{!21, !12, i64 2328}
!35 = !{!21, !6, i64 2344}
!36 = !{!14, !10, i64 192}
!37 = !{!14, !12, i64 184}
!38 = !{!16, !16, i64 0}
!39 = !{!14, !10, i64 28}
!40 = !{!21, !10, i64 2360}
!41 = !{!21, !6, i64 2368}
!42 = !{!21, !22, i64 2336}
!43 = !{!14, !6, i64 104}
!44 = !{!15, !6, i64 56}
!45 = !{!15, !10, i64 48}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = distinct !{!48, !47}
!49 = distinct !{!49, !47}
!50 = distinct !{!50, !47}
!51 = distinct !{!51, !47}
!52 = distinct !{!52, !47}
!53 = distinct !{!53, !47}


; 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.58 = external hidden unnamed_addr constant [307 x i8], align 1
@__func__.transfer_compute_for_each_q = external hidden unnamed_addr constant [28 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [163 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [154 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [128 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: nounwind uwtable
define dso_local range(i32 0, 2) i32 @transfer_compute_for_each_q(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 noundef %6, double noundef %7, ptr nocapture noundef readonly %8, ptr nocapture noundef readonly %9, ptr noundef %10, ptr noundef %11) local_unnamed_addr #2 {
  %13 = alloca i16, align 2
  %14 = alloca i32, align 4
  %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
  %20 = alloca [2048 x i8], align 16
  %21 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %22 = getelementptr inbounds i8, ptr %11, i64 128
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %11, i64 144
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  %26 = getelementptr inbounds i8, ptr %11, i64 152
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds i8, ptr %11, i64 116
  %29 = getelementptr inbounds i8, ptr %11, i64 136
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = getelementptr inbounds i8, ptr %3, i64 2212
  %32 = load i32, ptr %31, align 4, !tbaa !17
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph225, label %.loopexit203

.lr.ph225:                                        ; preds = %12
  %34 = getelementptr inbounds i8, ptr %3, i64 2352
  %35 = sext i32 %5 to i64
  %36 = getelementptr inbounds i8, ptr %2, i64 2368
  %37 = getelementptr inbounds i8, ptr %2, i64 2352
  %38 = getelementptr inbounds i8, ptr %2, i64 2072
  %39 = getelementptr inbounds i8, ptr %3, i64 2288
  %40 = getelementptr inbounds i8, ptr %2, i64 2336
  %41 = getelementptr inbounds i8, ptr %3, i64 2304
  %42 = getelementptr inbounds i8, ptr %3, i64 2320
  %43 = getelementptr inbounds i8, ptr %1, i64 344
  %44 = getelementptr inbounds i8, ptr %3, i64 2328
  %45 = getelementptr inbounds i8, ptr %3, i64 2344
  %46 = getelementptr inbounds i8, ptr %11, i64 192
  %47 = getelementptr inbounds i8, ptr %11, i64 184
  %48 = getelementptr inbounds i8, ptr %11, i64 28
  %49 = getelementptr inbounds i8, ptr %3, i64 2360
  %50 = getelementptr inbounds i8, ptr %3, i64 2336
  %51 = getelementptr inbounds i8, ptr %11, i64 104
  %52 = getelementptr inbounds i8, ptr %11, i64 208
  %53 = getelementptr inbounds i8, ptr %3, i64 2368
  br label %54

54:                                               ; preds = %.lr.ph225, %.loopexit
  %55 = phi i32 [ %32, %.lr.ph225 ], [ %268, %.loopexit ]
  %indvars.iv247 = phi i64 [ 0, %.lr.ph225 ], [ %indvars.iv.next248, %.loopexit ]
  %56 = load ptr, ptr %34, align 8, !tbaa !20
  %57 = getelementptr inbounds ptr, ptr %56, i64 %indvars.iv247
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = getelementptr inbounds double, ptr %58, i64 %35
  %60 = load double, ptr %59, align 8, !tbaa !22
  %61 = load ptr, ptr %36, align 8, !tbaa !23
  %62 = getelementptr inbounds ptr, ptr %61, i64 %indvars.iv247
  %63 = load ptr, ptr %62, align 8, !tbaa !21
  %64 = load ptr, ptr %37, align 8, !tbaa !25
  %65 = getelementptr inbounds i32, ptr %64, i64 %indvars.iv247
  %66 = load i32, ptr %65, align 4, !tbaa !26
  %67 = sext i32 %66 to i64
  %68 = getelementptr double, ptr %63, i64 %67
  %69 = getelementptr i8, ptr %68, i64 -8
  %70 = load double, ptr %69, align 8, !tbaa !22
  %71 = fcmp ugt double %60, %70
  %72 = load ptr, ptr %38, align 8, !tbaa !27
  %73 = getelementptr inbounds i32, ptr %72, i64 %indvars.iv247
  %74 = load i32, ptr %73, align 4, !tbaa !26
  %75 = icmp sgt i32 %74, 0
  br i1 %71, label %.preheader200, label %.preheader201

.preheader201:                                    ; preds = %54
  br i1 %75, label %.preheader199.lr.ph, label %.loopexit

.preheader199.lr.ph:                              ; preds = %.preheader201
  %76 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv247
  %77 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv247
  %78 = getelementptr inbounds ptr, ptr %9, i64 %indvars.iv247
  %79 = load ptr, ptr %39, align 8, !tbaa !28
  %80 = getelementptr inbounds i32, ptr %79, i64 %indvars.iv247
  %81 = load i32, ptr %80, align 4, !tbaa !26
  %82 = icmp sgt i32 %81, 0
  br i1 %82, label %.preheader199.preheader, label %.loopexit

.preheader199.preheader:                          ; preds = %.preheader199.lr.ph
  %83 = trunc nuw nsw i64 %indvars.iv247 to i32
  %.pre258 = trunc nuw nsw i64 %indvars.iv247 to i32
  br label %.preheader199

.preheader200:                                    ; preds = %54
  br i1 %75, label %.preheader198.lr.ph, label %.loopexit

.preheader198.lr.ph:                              ; preds = %.preheader200
  %84 = load ptr, ptr %39, align 8, !tbaa !28
  %85 = getelementptr inbounds i32, ptr %84, i64 %indvars.iv247
  %86 = load i32, ptr %85, align 4, !tbaa !26
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.preheader198.lr.ph.split.us, label %.loopexit

.preheader198.lr.ph.split.us:                     ; preds = %.preheader198.lr.ph
  %88 = load ptr, ptr %41, align 8, !tbaa !29
  %89 = getelementptr inbounds i32, ptr %88, i64 %indvars.iv247
  %90 = load i32, ptr %89, align 4, !tbaa !26
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %.preheader198.lr.ph.split.us.split.us, label %.loopexit

.preheader198.lr.ph.split.us.split.us:            ; preds = %.preheader198.lr.ph.split.us
  %92 = load ptr, ptr %53, align 8, !tbaa !30
  %93 = getelementptr inbounds ptr, ptr %92, i64 %indvars.iv247
  %94 = load ptr, ptr %93, align 8, !tbaa !21
  %95 = load i64, ptr %50, align 8, !tbaa !31
  %invariant.gep.us.us.us = getelementptr double, ptr %94, i64 %35
  %96 = zext nneg i32 %90 to i64
  %97 = zext nneg i32 %86 to i64
  %wide.trip.count245 = zext nneg i32 %74 to i64
  %min.iters.check = icmp ugt i32 %90, 3
  %ident.check.not = icmp eq i64 %95, 1
  %or.cond = select i1 %min.iters.check, i1 %ident.check.not, i1 false
  %n.vec = and i64 %96, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %96
  %xtraiter = and i64 %96, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader198.us.us

.preheader198.us.us:                              ; preds = %._crit_edge215.split.us.us.us, %.preheader198.lr.ph.split.us.split.us
  %indvars.iv242 = phi i64 [ %indvars.iv.next243, %._crit_edge215.split.us.us.us ], [ 0, %.preheader198.lr.ph.split.us.split.us ]
  %98 = mul nuw nsw i64 %indvars.iv242, %97
  br label %.preheader.us.us.us

.preheader.us.us.us:                              ; preds = %._crit_edge213.us.us.us, %.preheader198.us.us
  %indvars.iv237 = phi i64 [ %indvars.iv.next238, %._crit_edge213.us.us.us ], [ 0, %.preheader198.us.us ]
  %99 = add nuw nsw i64 %98, %indvars.iv237
  %100 = mul nuw nsw i64 %99, %96
  br i1 %or.cond, label %vector.ph, label %scalar.ph.preheader

vector.ph:                                        ; preds = %.preheader.us.us.us
  %101 = getelementptr double, ptr %invariant.gep.us.us.us, i64 %100
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %102 = getelementptr double, ptr %101, i64 %index
  %103 = getelementptr i8, ptr %102, i64 16
  store <2 x double> zeroinitializer, ptr %102, align 8, !tbaa !22
  store <2 x double> zeroinitializer, ptr %103, align 8, !tbaa !22
  %index.next = add nuw i64 %index, 4
  %104 = icmp eq i64 %index.next, %n.vec
  br i1 %104, label %middle.block, label %vector.body, !llvm.loop !32

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge213.us.us.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader.us.us.us
  %indvars.iv234.ph = phi i64 [ 0, %.preheader.us.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv234.prol = phi i64 [ %indvars.iv.next235.prol, %scalar.ph.prol ], [ %indvars.iv234.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %105 = add nuw nsw i64 %100, %indvars.iv234.prol
  %106 = mul i64 %95, %105
  %gep.us.us.us.prol = getelementptr double, ptr %invariant.gep.us.us.us, i64 %106
  store double 0.000000e+00, ptr %gep.us.us.us.prol, align 8, !tbaa !22
  %indvars.iv.next235.prol = add nuw nsw i64 %indvars.iv234.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !36

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv234.unr = phi i64 [ %indvars.iv234.ph, %scalar.ph.preheader ], [ %indvars.iv.next235.prol, %scalar.ph.prol ]
  %107 = sub nsw i64 %indvars.iv234.ph, %96
  %108 = icmp ugt i64 %107, -4
  br i1 %108, label %._crit_edge213.us.us.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv234 = phi i64 [ %indvars.iv.next235.3, %scalar.ph ], [ %indvars.iv234.unr, %scalar.ph.prol.loopexit ]
  %109 = add nuw nsw i64 %100, %indvars.iv234
  %110 = mul i64 %95, %109
  %gep.us.us.us = getelementptr double, ptr %invariant.gep.us.us.us, i64 %110
  store double 0.000000e+00, ptr %gep.us.us.us, align 8, !tbaa !22
  %indvars.iv.next235 = add nuw nsw i64 %indvars.iv234, 1
  %111 = add nuw nsw i64 %100, %indvars.iv.next235
  %112 = mul i64 %95, %111
  %gep.us.us.us.1 = getelementptr double, ptr %invariant.gep.us.us.us, i64 %112
  store double 0.000000e+00, ptr %gep.us.us.us.1, align 8, !tbaa !22
  %indvars.iv.next235.1 = add nuw nsw i64 %indvars.iv234, 2
  %113 = add nuw nsw i64 %100, %indvars.iv.next235.1
  %114 = mul i64 %95, %113
  %gep.us.us.us.2 = getelementptr double, ptr %invariant.gep.us.us.us, i64 %114
  store double 0.000000e+00, ptr %gep.us.us.us.2, align 8, !tbaa !22
  %indvars.iv.next235.2 = add nuw nsw i64 %indvars.iv234, 3
  %115 = add nuw nsw i64 %100, %indvars.iv.next235.2
  %116 = mul i64 %95, %115
  %gep.us.us.us.3 = getelementptr double, ptr %invariant.gep.us.us.us, i64 %116
  store double 0.000000e+00, ptr %gep.us.us.us.3, align 8, !tbaa !22
  %indvars.iv.next235.3 = add nuw nsw i64 %indvars.iv234, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next235.3, %96
  br i1 %exitcond.not.3, label %._crit_edge213.us.us.us, label %scalar.ph, !llvm.loop !38

._crit_edge213.us.us.us:                          ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next238 = add nuw nsw i64 %indvars.iv237, 1
  %exitcond241.not = icmp eq i64 %indvars.iv.next238, %97
  br i1 %exitcond241.not, label %._crit_edge215.split.us.us.us, label %.preheader.us.us.us, !llvm.loop !39

._crit_edge215.split.us.us.us:                    ; preds = %._crit_edge213.us.us.us
  %indvars.iv.next243 = add nuw nsw i64 %indvars.iv242, 1
  %exitcond246.not = icmp eq i64 %indvars.iv.next243, %wide.trip.count245
  br i1 %exitcond246.not, label %.loopexit, label %.preheader198.us.us, !llvm.loop !40

.preheader199:                                    ; preds = %.preheader199.preheader, %._crit_edge209
  %117 = phi ptr [ %262, %._crit_edge209 ], [ %72, %.preheader199.preheader ]
  %118 = phi ptr [ %263, %._crit_edge209 ], [ %79, %.preheader199.preheader ]
  %.0182210 = phi i32 [ %264, %._crit_edge209 ], [ 0, %.preheader199.preheader ]
  %119 = getelementptr inbounds i32, ptr %118, i64 %indvars.iv247
  %120 = load i32, ptr %119, align 4, !tbaa !26
  %121 = icmp sgt i32 %120, 0
  br i1 %121, label %.lr.ph208, label %._crit_edge209

.lr.ph208:                                        ; preds = %.preheader199, %._crit_edge
  %indvars.iv231 = phi i64 [ %indvars.iv.next232, %._crit_edge ], [ 0, %.preheader199 ]
  %.0179207 = phi i32 [ %142, %._crit_edge ], [ -1, %.preheader199 ]
  %122 = load ptr, ptr %76, align 8, !tbaa !21
  %123 = getelementptr inbounds i32, ptr %122, i64 %indvars.iv231
  %124 = load i32, ptr %123, align 4, !tbaa !26
  %.not = icmp eq i32 %124, %.0179207
  br i1 %.not, label %.lr.ph208._crit_edge, label %125

125:                                              ; preds = %.lr.ph208
  %126 = load ptr, ptr %77, align 8, !tbaa !21
  %127 = load ptr, ptr %40, align 8, !tbaa !41
  %128 = getelementptr inbounds i32, ptr %127, i64 %indvars.iv247
  %129 = load i32, ptr %128, align 4, !tbaa !26
  %130 = mul nsw i32 %129, %.0182210
  %131 = add nsw i32 %130, %124
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds ptr, ptr %126, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !21
  %135 = load ptr, ptr %78, align 8, !tbaa !21
  %136 = getelementptr inbounds ptr, ptr %135, i64 %132
  %137 = load ptr, ptr %136, align 8, !tbaa !21
  %138 = call i32 @transfer_interpolate_sources(ptr noundef %2, ptr noundef nonnull %3, i32 noundef %5, i32 noundef %83, i32 noundef %.0182210, i32 noundef %124, ptr noundef %134, ptr noundef %137, ptr noundef %23)
  %139 = icmp eq i32 %138, 1
  br i1 %139, label %140, label %._crit_edge250

._crit_edge250:                                   ; preds = %125
  %.pre = load ptr, ptr %76, align 8, !tbaa !21
  %.phi.trans.insert = getelementptr inbounds i32, ptr %.pre, i64 %indvars.iv231
  %.pre251 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !26
  br label %.lr.ph208._crit_edge

140:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #4
  %141 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.58, ptr noundef nonnull %141) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %141, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1786, ptr noundef nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #4
  br label %.loopexit203

.lr.ph208._crit_edge:                             ; preds = %.lr.ph208, %._crit_edge250
  %.pre-phi = phi i32 [ %83, %._crit_edge250 ], [ %.pre258, %.lr.ph208 ]
  %142 = phi i32 [ %.pre251, %._crit_edge250 ], [ %.0179207, %.lr.ph208 ]
  %143 = trunc nuw nsw i64 %indvars.iv231 to i32
  %144 = call i32 @transfer_sources(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %23, double noundef %7, i32 noundef %5, i32 noundef %.pre-phi, i32 noundef %143, ptr noundef %30, ptr noundef %10, i32 noundef %6, ptr noundef %25, ptr noundef %27, ptr noundef nonnull %28)
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %148

146:                                              ; preds = %.lr.ph208._crit_edge
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #4
  %147 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.59, ptr noundef nonnull %147) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %147, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1817, ptr noundef nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #4
  br label %.loopexit203

148:                                              ; preds = %.lr.ph208._crit_edge
  %149 = call i32 @transfer_radial_coordinates(ptr noundef nonnull %3, ptr noundef %11, i32 noundef %.pre-phi, i32 noundef %5)
  %150 = icmp eq i32 %149, 1
  br i1 %150, label %151, label %153

151:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #4
  %152 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.60, ptr noundef nonnull %152) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %152, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1825, ptr noundef nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #4
  br label %.loopexit203

153:                                              ; preds = %148
  %154 = call i32 @transfer_select_radial_function(ptr noundef %2, ptr noundef nonnull %3, i32 noundef %.pre-phi, i32 noundef %143, ptr noundef nonnull %14)
  %155 = icmp eq i32 %154, 1
  br i1 %155, label %160, label %.preheader197

.preheader197:                                    ; preds = %153
  %156 = load ptr, ptr %41, align 8, !tbaa !29
  %157 = getelementptr inbounds i32, ptr %156, i64 %indvars.iv247
  %158 = load i32, ptr %157, align 4, !tbaa !26
  %159 = icmp sgt i32 %158, 0
  br i1 %159, label %.lr.ph, label %._crit_edge

160:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #4
  %161 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef nonnull @.str.61, ptr noundef nonnull %161) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %161, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1835, ptr noundef nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #4
  br label %.loopexit203

.lr.ph:                                           ; preds = %.preheader197, %253
  %indvars.iv = phi i64 [ %indvars.iv.next, %253 ], [ 0, %.preheader197 ]
  %162 = load ptr, ptr %42, align 8, !tbaa !42
  %163 = getelementptr inbounds i32, ptr %162, i64 %indvars.iv
  %164 = load i32, ptr %163, align 4, !tbaa !26
  %165 = sitofp i32 %164 to double
  %166 = load double, ptr %43, align 8, !tbaa !43
  %167 = fsub double %166, %7
  %168 = load double, ptr %44, align 8, !tbaa !45
  %169 = fmul double %167, %168
  %170 = load ptr, ptr %45, align 8, !tbaa !46
  %171 = getelementptr inbounds double, ptr %170, i64 %35
  %172 = load double, ptr %171, align 8, !tbaa !22
  %173 = call i32 @transfer_can_be_neglected(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %3, i32 noundef %.pre-phi, i32 noundef %.0182210, i32 noundef %143, double noundef %169, double noundef %172, double noundef %165, ptr noundef nonnull %13)
  %174 = icmp eq i32 %173, 1
  br i1 %174, label %175, label %177

175:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #4
  %176 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str, ptr noundef nonnull @.str.62, ptr noundef nonnull %176) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %176, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1853, ptr noundef nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #4
  br label %.loopexit203

177:                                              ; preds = %.lr.ph
  %178 = load i32, ptr %46, align 8, !tbaa !47
  %179 = icmp eq i32 %178, 1
  br i1 %179, label %180, label %193

180:                                              ; preds = %177
  %181 = load ptr, ptr %42, align 8, !tbaa !42
  %182 = getelementptr inbounds i32, ptr %181, i64 %indvars.iv
  %183 = load i32, ptr %182, align 4, !tbaa !26
  %184 = load ptr, ptr %45, align 8, !tbaa !46
  %185 = getelementptr inbounds double, ptr %184, i64 %35
  %186 = load double, ptr %185, align 8, !tbaa !22
  %187 = load double, ptr %47, align 8, !tbaa !48
  %188 = call double @sqrt(double noundef %187) #4
  %189 = fdiv double %186, %188
  %190 = fadd double %189, 2.000000e-01
  %191 = fptosi double %190 to i32
  %.not189 = icmp slt i32 %183, %191
  br i1 %.not189, label %thread-pre-split, label %192

192:                                              ; preds = %180
  store i16 1, ptr %13, align 2, !tbaa !49
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %180, %192
  %.pr = load i32, ptr %46, align 8, !tbaa !47
  br label %193

193:                                              ; preds = %thread-pre-split, %177
  %194 = phi i32 [ %.pr, %thread-pre-split ], [ %178, %177 ]
  %.not190 = icmp eq i32 %194, 0
  br i1 %.not190, label %.thread194, label %195

195:                                              ; preds = %193
  %196 = load i32, ptr %48, align 4, !tbaa !50
  %197 = sext i32 %196 to i64
  %.not191 = icmp slt i64 %indvars.iv, %197
  br i1 %.not191, label %201, label %198

198:                                              ; preds = %195
  %199 = load i32, ptr %49, align 8, !tbaa !51
  %200 = icmp sgt i32 %199, %5
  br i1 %200, label %.thread, label %201

.thread:                                          ; preds = %198
  store i16 1, ptr %13, align 2, !tbaa !49
  br label %204

201:                                              ; preds = %198, %195
  %.pr193 = load i16, ptr %13, align 2, !tbaa !49
  %202 = icmp eq i16 %.pr193, 1
  br i1 %202, label %204, label %224

.thread194:                                       ; preds = %193
  %.pr193195 = load i16, ptr %13, align 2, !tbaa !49
  %203 = icmp eq i16 %.pr193195, 1
  br i1 %203, label %204, label %.thread196

204:                                              ; preds = %.thread194, %.thread, %201
  %205 = load ptr, ptr %53, align 8, !tbaa !30
  %206 = getelementptr inbounds ptr, ptr %205, i64 %indvars.iv247
  %207 = load ptr, ptr %206, align 8, !tbaa !21
  %208 = load ptr, ptr %39, align 8, !tbaa !28
  %209 = getelementptr inbounds i32, ptr %208, i64 %indvars.iv247
  %210 = load i32, ptr %209, align 4, !tbaa !26
  %211 = mul nsw i32 %210, %.0182210
  %212 = add nsw i32 %211, %143
  %213 = load ptr, ptr %41, align 8, !tbaa !29
  %214 = getelementptr inbounds i32, ptr %213, i64 %indvars.iv247
  %215 = load i32, ptr %214, align 4, !tbaa !26
  %216 = mul nsw i32 %212, %215
  %217 = trunc nuw nsw i64 %indvars.iv to i32
  %218 = add nsw i32 %216, %217
  %219 = sext i32 %218 to i64
  %220 = load i64, ptr %50, align 8, !tbaa !31
  %221 = mul i64 %220, %219
  %222 = getelementptr double, ptr %207, i64 %221
  %223 = getelementptr double, ptr %222, i64 %35
  store double 0.000000e+00, ptr %223, align 8, !tbaa !22
  br label %253

224:                                              ; preds = %201
  %225 = load ptr, ptr %45, align 8, !tbaa !46
  %226 = load i64, ptr %50, align 8, !tbaa !31
  %227 = getelementptr double, ptr %225, i64 %226
  %228 = getelementptr i8, ptr %227, i64 -8
  %229 = load double, ptr %228, align 8, !tbaa !22
  br label %241

.thread196:                                       ; preds = %.thread194
  %230 = load ptr, ptr %51, align 8, !tbaa !52
  %231 = getelementptr inbounds i8, ptr %230, i64 56
  %232 = load ptr, ptr %231, align 8, !tbaa !53
  %233 = getelementptr inbounds i8, ptr %230, i64 48
  %234 = load i32, ptr %233, align 8, !tbaa !54
  %235 = sext i32 %234 to i64
  %236 = getelementptr double, ptr %232, i64 %235
  %237 = getelementptr i8, ptr %236, i64 -8
  %238 = load double, ptr %237, align 8, !tbaa !22
  %239 = load double, ptr %25, align 8, !tbaa !22
  %240 = fdiv double %238, %239
  br label %241

241:                                              ; preds = %224, %.thread196
  %.0180 = phi double [ %240, %.thread196 ], [ %229, %224 ]
  %242 = call i32 @transfer_late_source_can_be_neglected(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %3, i32 noundef %.pre-phi, i32 noundef %143, double noundef %165, ptr noundef nonnull %52)
  %243 = icmp eq i32 %242, 1
  br i1 %243, label %244, label %246

244:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %20) #4
  %245 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.63, ptr noundef nonnull %245) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %245, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1893, ptr noundef nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %20) #4
  br label %.loopexit203

246:                                              ; preds = %241
  %247 = load i32, ptr %14, align 4, !tbaa !26
  %248 = trunc nuw nsw i64 %indvars.iv to i32
  %249 = call i32 @transfer_compute_for_each_l(ptr noundef nonnull %11, ptr noundef %0, ptr noundef %2, ptr noundef nonnull %3, i32 noundef %5, i32 noundef %.pre-phi, i32 noundef %.0182210, i32 noundef %143, i32 noundef %248, double noundef %165, double noundef %.0180, i32 noundef %247)
  %250 = icmp eq i32 %249, 1
  br i1 %250, label %251, label %._crit_edge252

._crit_edge252:                                   ; preds = %246
  %.pre253 = load ptr, ptr %41, align 8, !tbaa !29
  %.phi.trans.insert254 = getelementptr inbounds i32, ptr %.pre253, i64 %indvars.iv247
  %.pre255 = load i32, ptr %.phi.trans.insert254, align 4, !tbaa !26
  br label %253

251:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #4
  %252 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.64, ptr noundef nonnull %252) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %252, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_q, i32 noundef 1911, ptr noundef nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #4
  br label %.loopexit203

253:                                              ; preds = %._crit_edge252, %204
  %254 = phi i32 [ %.pre255, %._crit_edge252 ], [ %215, %204 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %255 = sext i32 %254 to i64
  %256 = icmp slt i64 %indvars.iv.next, %255
  br i1 %256, label %.lr.ph, label %._crit_edge, !llvm.loop !55

._crit_edge:                                      ; preds = %253, %.preheader197
  %indvars.iv.next232 = add nuw nsw i64 %indvars.iv231, 1
  %257 = load ptr, ptr %39, align 8, !tbaa !28
  %258 = getelementptr inbounds i32, ptr %257, i64 %indvars.iv247
  %259 = load i32, ptr %258, align 4, !tbaa !26
  %260 = sext i32 %259 to i64
  %261 = icmp slt i64 %indvars.iv.next232, %260
  br i1 %261, label %.lr.ph208, label %._crit_edge209.loopexit, !llvm.loop !56

._crit_edge209.loopexit:                          ; preds = %._crit_edge
  %.pre256 = load ptr, ptr %38, align 8, !tbaa !27
  br label %._crit_edge209

._crit_edge209:                                   ; preds = %._crit_edge209.loopexit, %.preheader199
  %262 = phi ptr [ %.pre256, %._crit_edge209.loopexit ], [ %117, %.preheader199 ]
  %263 = phi ptr [ %257, %._crit_edge209.loopexit ], [ %118, %.preheader199 ]
  %264 = add nuw nsw i32 %.0182210, 1
  %265 = getelementptr inbounds i32, ptr %262, i64 %indvars.iv247
  %266 = load i32, ptr %265, align 4, !tbaa !26
  %267 = icmp slt i32 %264, %266
  br i1 %267, label %.preheader199, label %.loopexit.loopexit228, !llvm.loop !57

.loopexit.loopexit228:                            ; preds = %._crit_edge209
  %.pre257 = load i32, ptr %31, align 4, !tbaa !17
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge215.split.us.us.us, %.preheader198.lr.ph.split.us, %.preheader198.lr.ph, %.preheader199.lr.ph, %.loopexit.loopexit228, %.preheader201, %.preheader200
  %268 = phi i32 [ %.pre257, %.loopexit.loopexit228 ], [ %55, %.preheader201 ], [ %55, %.preheader200 ], [ %55, %.preheader199.lr.ph ], [ %55, %.preheader198.lr.ph ], [ %55, %.preheader198.lr.ph.split.us ], [ %55, %._crit_edge215.split.us.us.us ]
  %indvars.iv.next248 = add nuw nsw i64 %indvars.iv247, 1
  %269 = sext i32 %268 to i64
  %270 = icmp slt i64 %indvars.iv.next248, %269
  br i1 %270, label %54, label %.loopexit203, !llvm.loop !59

.loopexit203:                                     ; preds = %.loopexit, %12, %251, %244, %175, %160, %151, %146, %140
  %.0 = phi i32 [ 1, %140 ], [ 1, %146 ], [ 1, %151 ], [ 1, %160 ], [ 1, %175 ], [ 1, %244 ], [ 1, %251 ], [ 0, %12 ], [ 0, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #4
  ret i32 %.0
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_interpolate_sources(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_radial_coordinates(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @transfer_select_radial_function(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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, !12, i64 128}
!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, !12, i64 144}
!15 = !{!6, !12, i64 152}
!16 = !{!6, !12, i64 136}
!17 = !{!18, !8, i64 2212}
!18 = !{!"transfers", !11, i64 0, !11, i64 8, !11, i64 16, !9, i64 24, !9, i64 824, !13, i64 1624, !13, i64 1626, !9, i64 1628, !8, i64 1884, !12, i64 1888, !12, i64 1896, !12, i64 1904, !13, i64 1912, !13, i64 1914, !9, i64 1916, !8, i64 2172, !12, i64 2176, !12, i64 2184, !12, i64 2192, !12, i64 2200, !13, i64 2208, !8, i64 2212, !8, i64 2216, !8, i64 2220, !8, i64 2224, !8, i64 2228, !8, i64 2232, !8, i64 2236, !8, i64 2240, !8, i64 2244, !8, i64 2248, !8, i64 2252, !8, i64 2256, !8, i64 2260, !8, i64 2264, !8, i64 2268, !8, i64 2272, !8, i64 2276, !8, i64 2280, !12, i64 2288, !12, i64 2296, !12, i64 2304, !8, i64 2312, !12, i64 2320, !11, i64 2328, !19, i64 2336, !12, i64 2344, !12, i64 2352, !8, i64 2360, !12, i64 2368, !13, i64 2376, !13, i64 2378, !9, i64 2380}
!19 = !{!"long", !9, i64 0}
!20 = !{!18, !12, i64 2352}
!21 = !{!12, !12, i64 0}
!22 = !{!11, !11, i64 0}
!23 = !{!24, !12, i64 2368}
!24 = !{!"perturbs", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !13, i64 12, !13, i64 14, !13, i64 16, !13, i64 18, !13, i64 20, !8, i64 24, !13, i64 28, !13, i64 30, !13, i64 32, !13, i64 34, !13, i64 36, !13, i64 38, !13, i64 40, !13, i64 42, !13, i64 44, !13, i64 46, !13, i64 48, !13, i64 50, !13, i64 52, !13, i64 54, !13, i64 56, !13, i64 58, !13, i64 60, !8, i64 64, !8, i64 68, !8, i64 72, !8, i64 76, !11, i64 80, !8, i64 88, !8, i64 92, !9, i64 96, !9, i64 896, !8, i64 1696, !8, i64 1700, !8, i64 1704, !8, i64 1708, !8, i64 1712, !11, i64 1720, !8, i64 1728, !8, i64 1732, !9, i64 1736, !11, i64 1976, !11, i64 1984, !11, i64 1992, !12, i64 2000, !12, i64 2008, !8, i64 2016, !13, i64 2020, !13, i64 2022, !8, i64 2024, !8, i64 2028, !8, i64 2032, !8, i64 2036, !8, i64 2040, !8, i64 2044, !8, i64 2048, !8, i64 2052, !8, i64 2056, !8, i64 2060, !8, i64 2064, !12, i64 2072, !13, i64 2080, !13, i64 2082, !13, i64 2084, !13, i64 2086, !13, i64 2088, !13, i64 2090, !13, i64 2092, !13, i64 2094, !13, i64 2096, !13, i64 2098, !13, i64 2100, !13, i64 2102, !13, i64 2104, !13, i64 2106, !13, i64 2108, !13, i64 2110, !13, i64 2112, !13, i64 2114, !13, i64 2116, !13, i64 2118, !13, i64 2120, !13, i64 2122, !13, i64 2124, !13, i64 2126, !13, i64 2128, !13, i64 2130, !13, i64 2132, !13, i64 2134, !13, i64 2136, !13, i64 2138, !13, i64 2140, !13, i64 2142, !13, i64 2144, !13, i64 2146, !13, i64 2148, !13, i64 2150, !13, i64 2152, !13, i64 2154, !13, i64 2156, !13, i64 2158, !8, i64 2160, !8, i64 2164, !8, i64 2168, !8, i64 2172, !8, i64 2176, !8, i64 2180, !8, i64 2184, !8, i64 2188, !8, i64 2192, !8, i64 2196, !8, i64 2200, !8, i64 2204, !8, i64 2208, !8, i64 2212, !8, i64 2216, !8, i64 2220, !8, i64 2224, !8, i64 2228, !8, i64 2232, !8, i64 2236, !8, i64 2240, !8, i64 2244, !8, i64 2248, !8, i64 2252, !8, i64 2256, !8, i64 2260, !8, i64 2264, !8, i64 2268, !8, i64 2272, !8, i64 2276, !8, i64 2280, !8, i64 2284, !8, i64 2288, !8, i64 2292, !8, i64 2296, !8, i64 2300, !8, i64 2304, !8, i64 2308, !8, i64 2312, !8, i64 2316, !8, i64 2320, !8, i64 2324, !8, i64 2328, !8, i64 2332, !12, i64 2336, !12, i64 2344, !12, i64 2352, !12, i64 2360, !12, i64 2368, !11, i64 2376, !11, i64 2384, !12, i64 2392, !8, i64 2400, !11, i64 2408, !11, i64 2416, !11, i64 2424, !12, i64 2432, !12, i64 2440, !12, i64 2448, !12, i64 2456, !12, i64 2464, !12, i64 2472, !8, i64 2480, !12, i64 2488, !12, i64 2496, !12, i64 2504, !9, i64 2512, !9, i64 10512, !9, i64 18512, !8, i64 26512, !8, i64 26516, !8, i64 26520, !9, i64 26528, !9, i64 26768, !9, i64 27008, !9, i64 27248, !9, i64 27368, !9, i64 27488, !13, i64 27608, !9, i64 27610}
!25 = !{!24, !12, i64 2352}
!26 = !{!8, !8, i64 0}
!27 = !{!24, !12, i64 2072}
!28 = !{!18, !12, i64 2288}
!29 = !{!18, !12, i64 2304}
!30 = !{!18, !12, i64 2368}
!31 = !{!18, !19, i64 2336}
!32 = distinct !{!32, !33, !34, !35}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!"llvm.loop.isvectorized", i32 1}
!35 = !{!"llvm.loop.unroll.runtime.disable"}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.unroll.disable"}
!38 = distinct !{!38, !33, !34}
!39 = distinct !{!39, !33}
!40 = distinct !{!40, !33}
!41 = !{!24, !12, i64 2336}
!42 = !{!18, !12, i64 2320}
!43 = !{!44, !11, i64 344}
!44 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !8, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !13, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !13, i64 176, !11, i64 184, !11, i64 192, !12, i64 200, !8, i64 208, !8, i64 212, !11, i64 216, !8, i64 224, !12, i64 232, !12, i64 240, !11, i64 248, !12, i64 256, !11, i64 264, !12, i64 272, !11, i64 280, !12, i64 288, !11, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !8, i64 360, !12, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !8, i64 464, !8, i64 468, !8, i64 472, !8, i64 476, !8, i64 480, !8, i64 484, !8, i64 488, !8, i64 492, !8, i64 496, !8, i64 500, !8, i64 504, !8, i64 508, !8, i64 512, !8, i64 516, !8, i64 520, !8, i64 524, !8, i64 528, !8, i64 532, !8, i64 536, !8, i64 540, !8, i64 544, !8, i64 548, !8, i64 552, !8, i64 556, !8, i64 560, !8, i64 564, !8, i64 568, !8, i64 572, !8, i64 576, !8, i64 580, !8, i64 584, !8, i64 588, !8, i64 592, !8, i64 596, !8, i64 600, !8, i64 604, !8, i64 608, !8, i64 612, !8, i64 616, !8, i64 620, !8, i64 624, !8, i64 628, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !8, i64 672, !8, i64 676, !8, i64 680, !8, i64 684, !8, i64 688, !8, i64 692, !8, i64 696, !8, i64 700, !8, i64 704, !8, i64 708, !8, i64 712, !8, i64 716, !8, i64 720, !13, i64 724, !13, i64 726, !13, i64 728, !13, i64 730, !13, i64 732, !13, i64 734, !13, i64 736, !13, i64 738, !13, i64 740, !13, i64 742, !13, 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, !13, i64 840, !13, i64 842, !13, i64 844, !13, i64 846, !13, i64 848, !13, i64 850, !9, i64 852, !13, i64 2900, !9, i64 2902}
!45 = !{!18, !11, i64 2328}
!46 = !{!18, !12, i64 2344}
!47 = !{!6, !8, i64 192}
!48 = !{!6, !11, i64 184}
!49 = !{!13, !13, i64 0}
!50 = !{!6, !8, i64 28}
!51 = !{!18, !8, i64 2360}
!52 = !{!6, !12, i64 104}
!53 = !{!7, !12, i64 56}
!54 = !{!7, !8, i64 48}
!55 = distinct !{!55, !33}
!56 = distinct !{!56, !33}
!57 = distinct !{!57, !33, !58}
!58 = !{!"llvm.loop.unswitch.partial.disable"}
!59 = distinct !{!59, !33}


; Effective O3 passes: BDCEPass,ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass