; 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.HypersphericalInterpolationStructure = type { i32, double, double, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr }
%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.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.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] }
%struct.thermo = type { double, i32, i32, i32, double, double, i16, i16, double, double, double, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i32, ptr, ptr, double, i16, 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, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i16, i16, i16, [2048 x i8] }
%struct.precision = type { double, double, double, double, double, double, double, double, double, double, double, double, double, [256 x i8], double, i32, double, i32, i32, double, i32, double, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, [256 x i8], [256 x i8], [256 x i8], double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, double, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, i32, double, double, i32, double, double, i32, double, i32, double, double, i32, double, double, double, i32, double, double, double, double, double, i32, double, double, double, double, double, double, double, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, double, double, double, double, i32, double, double, i32, i32, i32, double, double, [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.3 = external hidden unnamed_addr constant [75 x i8], align 1
@stdout = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [56 x i8], align 1
@__func__.transfer_init = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [187 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [49 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_init(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %struct.HypersphericalInterpolationStructure, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca [2048 x i8], align 16
  %28 = alloca i32, align 4
  %29 = alloca [2048 x i8], align 16
  %30 = alloca [2048 x i8], align 16
  %31 = alloca i32, align 4
  %32 = alloca [2048 x i8], align 16
  %33 = alloca [2048 x i8], align 16
  %34 = alloca i32, align 4
  %35 = alloca [2048 x i8], align 16
  %36 = alloca [2048 x i8], align 16
  %37 = alloca [2048 x i8], align 16
  %38 = alloca [2048 x i8], align 16
  %39 = alloca [2048 x i8], align 16
  %40 = alloca ptr, align 8
  %41 = alloca [2048 x i8], align 16
  %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
  %48 = alloca [2048 x i8], align 16
  %49 = alloca [2048 x i8], align 16
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %50 = load ptr, ptr %11, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.perturbs, ptr %50, i32 0, i32 1
  %52 = load i16, ptr %51, align 2, !tbaa !9
  %53 = sext i16 %52 to i32
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %66

55:                                               ; preds = %6
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.transfers, ptr %56, i32 0, i32 20
  store i16 0, ptr %57, align 8, !tbaa !14
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.transfers, ptr %58, i32 0, i32 51
  %60 = load i16, ptr %59, align 2, !tbaa !17
  %61 = sext i16 %60 to i32
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %55
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %65

65:                                               ; preds = %63, %55
  store i32 0, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

66:                                               ; preds = %6
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.transfers, ptr %67, i32 0, i32 20
  store i16 1, ptr %68, align 8, !tbaa !14
  br label %69

69:                                               ; preds = %66
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.transfers, ptr %70, i32 0, i32 51
  %72 = load i16, ptr %71, align 2, !tbaa !17
  %73 = sext i16 %72 to i32
  %74 = icmp sgt i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %69
  %76 = load ptr, ptr @stdout, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.4) #5
  br label %78

78:                                               ; preds = %75, %69
  %79 = load ptr, ptr %11, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.perturbs, ptr %79, i32 0, i32 59
  %81 = load i32, ptr %80, align 8, !tbaa !18
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.transfers, ptr %82, i32 0, i32 21
  store i32 %81, ptr %83, align 4, !tbaa !19
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.background, ptr %84, i32 0, i32 44
  %86 = load double, ptr %85, align 8, !tbaa !20
  store double %86, ptr %15, align 8, !tbaa !22
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.thermo, ptr %87, i32 0, i32 67
  %89 = load double, ptr %88, align 8, !tbaa !23
  store double %89, ptr %16, align 8, !tbaa !22
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.thermo, ptr %90, i32 0, i32 85
  %92 = load double, ptr %91, align 8, !tbaa !25
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.transfers, ptr %93, i32 0, i32 44
  store double %92, ptr %94, align 8, !tbaa !26
  %95 = load double, ptr %15, align 8, !tbaa !22
  %96 = load double, ptr %16, align 8, !tbaa !22
  %97 = fsub double %95, %96
  %98 = fdiv double 0x401921FB54442D18, %97
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.transfers, ptr %99, i32 0, i32 44
  %101 = load double, ptr %100, align 8, !tbaa !26
  %102 = fmul double %98, %101
  store double %102, ptr %17, align 8, !tbaa !22
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = load ptr, ptr %11, align 8, !tbaa !5
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  %106 = load double, ptr %17, align 8, !tbaa !22
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.background, ptr %107, i32 0, i32 45
  %109 = load double, ptr %108, align 8, !tbaa !27
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.background, ptr %110, i32 0, i32 46
  %112 = load i32, ptr %111, align 8, !tbaa !28
  %113 = call i32 @transfer_indices(ptr noundef %103, ptr noundef %104, ptr noundef %105, double noundef %106, double noundef %109, i32 noundef %112)
  %114 = icmp eq i32 %113, 1
  br i1 %114, label %115, label %124

115:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 2048, ptr %27) #5
  %116 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.transfers, ptr %117, i32 0, i32 52
  %119 = getelementptr inbounds [2048 x i8], ptr %118, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %116, ptr noundef @.str, ptr noundef @.str.5, ptr noundef %119)
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.transfers, ptr %120, i32 0, i32 52
  %122 = getelementptr inbounds [2048 x i8], ptr %121, i64 0, i64 0
  %123 = getelementptr inbounds [2048 x i8], ptr %27, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %122, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 221, ptr noundef %123)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %27) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

124:                                              ; preds = %78
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.transfers, ptr %125, i32 0, i32 21
  %127 = load i32, ptr %126, align 4, !tbaa !19
  %128 = sext i32 %127 to i64
  %129 = mul i64 %128, 8
  %130 = call noalias ptr @malloc(i64 noundef %129) #6
  store ptr %130, ptr %19, align 8, !tbaa !5
  %131 = load ptr, ptr %19, align 8, !tbaa !5
  %132 = icmp eq ptr %131, null
  br i1 %132, label %133, label %146

133:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.transfers, ptr %134, i32 0, i32 21
  %136 = load i32, ptr %135, align 4, !tbaa !19
  %137 = sext i32 %136 to i64
  %138 = mul i64 %137, 8
  %139 = trunc i64 %138 to i32
  store i32 %139, ptr %28, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 2048, ptr %29) #5
  %140 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  %141 = load i32, ptr %28, align 4, !tbaa !29
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %140, ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef %141)
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.transfers, ptr %142, i32 0, i32 52
  %144 = getelementptr inbounds [2048 x i8], ptr %143, i64 0, i64 0
  %145 = getelementptr inbounds [2048 x i8], ptr %29, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %144, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 227, ptr noundef %145)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %29) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %572

146:                                              ; preds = %124
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = load ptr, ptr %13, align 8, !tbaa !5
  %150 = load ptr, ptr %19, align 8, !tbaa !5
  %151 = call i32 @transfer_perturbation_copy_sources_and_nl_corrections(ptr noundef %147, ptr noundef %148, ptr noundef %149, ptr noundef %150)
  %152 = icmp eq i32 %151, 1
  br i1 %152, label %153, label %162

153:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 2048, ptr %30) #5
  %154 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  %155 = load ptr, ptr %13, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.transfers, ptr %155, i32 0, i32 52
  %157 = getelementptr inbounds [2048 x i8], ptr %156, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %154, ptr noundef @.str, ptr noundef @.str.8, ptr noundef %157)
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.transfers, ptr %158, i32 0, i32 52
  %160 = getelementptr inbounds [2048 x i8], ptr %159, i64 0, i64 0
  %161 = getelementptr inbounds [2048 x i8], ptr %30, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %160, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 231, ptr noundef %161)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %30) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

162:                                              ; preds = %146
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.transfers, ptr %163, i32 0, i32 21
  %165 = load i32, ptr %164, align 4, !tbaa !19
  %166 = sext i32 %165 to i64
  %167 = mul i64 %166, 8
  %168 = call noalias ptr @malloc(i64 noundef %167) #6
  store ptr %168, ptr %20, align 8, !tbaa !5
  %169 = load ptr, ptr %20, align 8, !tbaa !5
  %170 = icmp eq ptr %169, null
  br i1 %170, label %171, label %184

171:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.transfers, ptr %172, i32 0, i32 21
  %174 = load i32, ptr %173, align 4, !tbaa !19
  %175 = sext i32 %174 to i64
  %176 = mul i64 %175, 8
  %177 = trunc i64 %176 to i32
  store i32 %177, ptr %31, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #5
  %178 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %179 = load i32, ptr %31, align 4, !tbaa !29
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %178, ptr noundef @.str.6, ptr noundef @.str.9, i32 noundef %179)
  %180 = load ptr, ptr %13, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.transfers, ptr %180, i32 0, i32 52
  %182 = getelementptr inbounds [2048 x i8], ptr %181, i64 0, i64 0
  %183 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %182, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 237, ptr noundef %183)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %572

184:                                              ; preds = %162
  %185 = load ptr, ptr %11, align 8, !tbaa !5
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = load ptr, ptr %19, align 8, !tbaa !5
  %188 = load ptr, ptr %20, align 8, !tbaa !5
  %189 = call i32 @transfer_perturbation_source_spline(ptr noundef %185, ptr noundef %186, ptr noundef %187, ptr noundef %188)
  %190 = icmp eq i32 %189, 1
  br i1 %190, label %191, label %200

191:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #5
  %192 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.transfers, ptr %193, i32 0, i32 52
  %195 = getelementptr inbounds [2048 x i8], ptr %194, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %192, ptr noundef @.str, ptr noundef @.str.10, ptr noundef %195)
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.transfers, ptr %196, i32 0, i32 52
  %198 = getelementptr inbounds [2048 x i8], ptr %197, i64 0, i64 0
  %199 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %198, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 241, ptr noundef %199)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

200:                                              ; preds = %184
  %201 = load ptr, ptr %13, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.transfers, ptr %201, i32 0, i32 21
  %203 = load i32, ptr %202, align 4, !tbaa !19
  %204 = sext i32 %203 to i64
  %205 = mul i64 %204, 8
  %206 = call noalias ptr @malloc(i64 noundef %205) #6
  store ptr %206, ptr %22, align 8, !tbaa !5
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = icmp eq ptr %207, null
  br i1 %208, label %209, label %222

209:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %210 = load ptr, ptr %13, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.transfers, ptr %210, i32 0, i32 21
  %212 = load i32, ptr %211, align 4, !tbaa !19
  %213 = sext i32 %212 to i64
  %214 = mul i64 %213, 8
  %215 = trunc i64 %214 to i32
  store i32 %215, ptr %34, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 2048, ptr %35) #5
  %216 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  %217 = load i32, ptr %34, align 4, !tbaa !29
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %216, ptr noundef @.str.6, ptr noundef @.str.11, i32 noundef %217)
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.transfers, ptr %218, i32 0, i32 52
  %220 = getelementptr inbounds [2048 x i8], ptr %219, i64 0, i64 0
  %221 = getelementptr inbounds [2048 x i8], ptr %35, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %220, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 247, ptr noundef %221)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %35) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %572

222:                                              ; preds = %200
  %223 = load ptr, ptr %11, align 8, !tbaa !5
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = load ptr, ptr %22, align 8, !tbaa !5
  %226 = call i32 @transfer_get_source_correspondence(ptr noundef %223, ptr noundef %224, ptr noundef %225)
  %227 = icmp eq i32 %226, 1
  br i1 %227, label %228, label %237

228:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 2048, ptr %36) #5
  %229 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.transfers, ptr %230, i32 0, i32 52
  %232 = getelementptr inbounds [2048 x i8], ptr %231, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %229, ptr noundef @.str, ptr noundef @.str.12, ptr noundef %232)
  %233 = load ptr, ptr %13, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.transfers, ptr %233, i32 0, i32 52
  %235 = getelementptr inbounds [2048 x i8], ptr %234, i64 0, i64 0
  %236 = getelementptr inbounds [2048 x i8], ptr %36, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %235, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 251, ptr noundef %236)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %36) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

237:                                              ; preds = %222
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = load ptr, ptr %9, align 8, !tbaa !5
  %240 = load ptr, ptr %11, align 8, !tbaa !5
  %241 = load ptr, ptr %13, align 8, !tbaa !5
  %242 = load double, ptr %16, align 8, !tbaa !22
  %243 = load double, ptr %15, align 8, !tbaa !22
  %244 = call i32 @transfer_source_tau_size_max(ptr noundef %238, ptr noundef %239, ptr noundef %240, ptr noundef %241, double noundef %242, double noundef %243, ptr noundef %18)
  %245 = icmp eq i32 %244, 1
  br i1 %245, label %246, label %255

246:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 2048, ptr %37) #5
  %247 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.transfers, ptr %248, i32 0, i32 52
  %250 = getelementptr inbounds [2048 x i8], ptr %249, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %247, ptr noundef @.str, ptr noundef @.str.13, ptr noundef %250)
  %251 = load ptr, ptr %13, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.transfers, ptr %251, i32 0, i32 52
  %253 = getelementptr inbounds [2048 x i8], ptr %252, i64 0, i64 0
  %254 = getelementptr inbounds [2048 x i8], ptr %37, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %253, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 259, ptr noundef %254)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %37) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

255:                                              ; preds = %237
  %256 = load ptr, ptr %13, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.transfers, ptr %256, i32 0, i32 46
  %258 = load ptr, ptr %257, align 8, !tbaa !30
  %259 = load ptr, ptr %13, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.transfers, ptr %259, i32 0, i32 45
  %261 = load i64, ptr %260, align 8, !tbaa !31
  %262 = sub i64 %261, 1
  %263 = getelementptr inbounds double, ptr %258, i64 %262
  %264 = load double, ptr %263, align 8, !tbaa !22
  %265 = load double, ptr %15, align 8, !tbaa !22
  %266 = fmul double %264, %265
  store double %266, ptr %24, align 8, !tbaa !22
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.background, ptr %267, i32 0, i32 46
  %269 = load i32, ptr %268, align 8, !tbaa !28
  %270 = icmp eq i32 %269, -1
  br i1 %270, label %271, label %307

271:                                              ; preds = %255
  %272 = load ptr, ptr %13, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.transfers, ptr %272, i32 0, i32 43
  %274 = load ptr, ptr %273, align 8, !tbaa !32
  %275 = load ptr, ptr %13, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.transfers, ptr %275, i32 0, i32 42
  %277 = load i32, ptr %276, align 8, !tbaa !33
  %278 = sub nsw i32 %277, 1
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds i32, ptr %274, i64 %279
  %281 = load i32, ptr %280, align 4, !tbaa !29
  %282 = sitofp i32 %281 to double
  %283 = load ptr, ptr %8, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.precision, ptr %283, i32 0, i32 125
  %285 = load double, ptr %284, align 8, !tbaa !34
  %286 = fdiv double %282, %285
  %287 = load ptr, ptr %13, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.transfers, ptr %287, i32 0, i32 43
  %289 = load ptr, ptr %288, align 8, !tbaa !32
  %290 = load ptr, ptr %13, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.transfers, ptr %290, i32 0, i32 42
  %292 = load i32, ptr %291, align 8, !tbaa !33
  %293 = sub nsw i32 %292, 1
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds i32, ptr %289, i64 %294
  %296 = load i32, ptr %295, align 4, !tbaa !29
  %297 = sitofp i32 %296 to double
  %298 = load ptr, ptr %8, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.precision, ptr %298, i32 0, i32 125
  %300 = load double, ptr %299, align 8, !tbaa !34
  %301 = fdiv double %297, %300
  %302 = call double @asinh(double noundef %301) #5
  %303 = fdiv double %286, %302
  %304 = fmul double %303, 1.010000e+00
  %305 = load double, ptr %24, align 8, !tbaa !22
  %306 = fmul double %305, %304
  store double %306, ptr %24, align 8, !tbaa !22
  br label %307

307:                                              ; preds = %271, %255
  %308 = load ptr, ptr %13, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.transfers, ptr %308, i32 0, i32 42
  %310 = load i32, ptr %309, align 8, !tbaa !33
  %311 = load ptr, ptr %13, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.transfers, ptr %311, i32 0, i32 43
  %313 = load ptr, ptr %312, align 8, !tbaa !32
  %314 = load ptr, ptr %8, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.precision, ptr %314, i32 0, i32 118
  %316 = load double, ptr %315, align 8, !tbaa !36
  %317 = load double, ptr %24, align 8, !tbaa !22
  %318 = load ptr, ptr %8, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.precision, ptr %318, i32 0, i32 119
  %320 = load double, ptr %319, align 8, !tbaa !37
  %321 = load ptr, ptr %13, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.transfers, ptr %321, i32 0, i32 43
  %323 = load ptr, ptr %322, align 8, !tbaa !32
  %324 = load ptr, ptr %13, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.transfers, ptr %324, i32 0, i32 42
  %326 = load i32, ptr %325, align 8, !tbaa !33
  %327 = sub nsw i32 %326, 1
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds i32, ptr %323, i64 %328
  %330 = load i32, ptr %329, align 4, !tbaa !29
  %331 = add nsw i32 %330, 1
  %332 = load ptr, ptr %8, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.precision, ptr %332, i32 0, i32 123
  %334 = load double, ptr %333, align 8, !tbaa !38
  %335 = load ptr, ptr %13, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.transfers, ptr %335, i32 0, i32 52
  %337 = getelementptr inbounds [2048 x i8], ptr %336, i64 0, i64 0
  %338 = call i32 @hyperspherical_HIS_create(i32 noundef 0, double noundef 1.000000e+00, i32 noundef %310, ptr noundef %313, double noundef %316, double noundef %317, double noundef %320, i32 noundef %331, double noundef %334, ptr noundef %23, ptr noundef %337)
  %339 = icmp eq i32 %338, 1
  br i1 %339, label %340, label %349

340:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 2048, ptr %38) #5
  %341 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  %342 = load ptr, ptr %13, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.transfers, ptr %342, i32 0, i32 52
  %344 = getelementptr inbounds [2048 x i8], ptr %343, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %341, ptr noundef @.str, ptr noundef @.str.14, ptr noundef %344)
  %345 = load ptr, ptr %13, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.transfers, ptr %345, i32 0, i32 52
  %347 = getelementptr inbounds [2048 x i8], ptr %346, i64 0, i64 0
  %348 = getelementptr inbounds [2048 x i8], ptr %38, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %347, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 279, ptr noundef %348)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %38) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

349:                                              ; preds = %307
  %350 = load ptr, ptr %13, align 8, !tbaa !5
  %351 = call i32 @transfer_global_selection_read(ptr noundef %350)
  %352 = icmp eq i32 %351, 1
  br i1 %352, label %353, label %362

353:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 2048, ptr %39) #5
  %354 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  %355 = load ptr, ptr %13, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.transfers, ptr %355, i32 0, i32 52
  %357 = getelementptr inbounds [2048 x i8], ptr %356, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %354, ptr noundef @.str, ptr noundef @.str.15, ptr noundef %357)
  %358 = load ptr, ptr %13, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.transfers, ptr %358, i32 0, i32 52
  %360 = getelementptr inbounds [2048 x i8], ptr %359, i64 0, i64 0
  %361 = getelementptr inbounds [2048 x i8], ptr %39, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %360, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 293, ptr noundef %361)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %39) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %572

362:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %363 = load ptr, ptr %8, align 8, !tbaa !5
  %364 = load ptr, ptr %9, align 8, !tbaa !5
  %365 = load ptr, ptr %11, align 8, !tbaa !5
  %366 = load ptr, ptr %13, align 8, !tbaa !5
  %367 = load double, ptr %16, align 8, !tbaa !22
  %368 = load i32, ptr %18, align 4, !tbaa !29
  %369 = call i32 @transfer_precompute_selection(ptr noundef %363, ptr noundef %364, ptr noundef %365, ptr noundef %366, double noundef %367, i32 noundef %368, ptr noundef %40)
  %370 = icmp eq i32 %369, 1
  br i1 %370, label %371, label %380

371:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 2048, ptr %41) #5
  %372 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  %373 = load ptr, ptr %13, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.transfers, ptr %373, i32 0, i32 52
  %375 = getelementptr inbounds [2048 x i8], ptr %374, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %372, ptr noundef @.str, ptr noundef @.str.16, ptr noundef %375)
  %376 = load ptr, ptr %13, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.transfers, ptr %376, i32 0, i32 52
  %378 = getelementptr inbounds [2048 x i8], ptr %377, i64 0, i64 0
  %379 = getelementptr inbounds [2048 x i8], ptr %41, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %378, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 305, ptr noundef %379)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %41) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

380:                                              ; preds = %362
  store i32 0, ptr %25, align 4, !tbaa !29
  store ptr null, ptr %21, align 8, !tbaa !5
  %381 = load i32, ptr %25, align 4, !tbaa !29
  %382 = icmp eq i32 %381, 0
  br i1 %382, label %383, label %413

383:                                              ; preds = %380
  %384 = load ptr, ptr %13, align 8, !tbaa !5
  %385 = load ptr, ptr %8, align 8, !tbaa !5
  %386 = load ptr, ptr %11, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.perturbs, ptr %386, i32 0, i32 159
  %388 = load i32, ptr %387, align 8, !tbaa !39
  %389 = load i32, ptr %18, align 4, !tbaa !29
  %390 = load ptr, ptr %9, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.background, ptr %390, i32 0, i32 45
  %392 = load double, ptr %391, align 8, !tbaa !27
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.background, ptr %393, i32 0, i32 46
  %395 = load i32, ptr %394, align 8, !tbaa !28
  %396 = load double, ptr %15, align 8, !tbaa !22
  %397 = load ptr, ptr %10, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.thermo, ptr %397, i32 0, i32 84
  %399 = load double, ptr %398, align 8, !tbaa !40
  %400 = fsub double %396, %399
  %401 = call i32 @transfer_workspace_init(ptr noundef %384, ptr noundef %385, ptr noundef %21, i32 noundef %388, i32 noundef %389, double noundef %392, i32 noundef %395, double noundef %400, ptr noundef %23)
  %402 = icmp eq i32 %401, 1
  br i1 %402, label %403, label %412

403:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 2048, ptr %42) #5
  %404 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  %405 = load ptr, ptr %13, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.transfers, ptr %405, i32 0, i32 52
  %407 = getelementptr inbounds [2048 x i8], ptr %406, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %404, ptr noundef @.str, ptr noundef @.str.17, ptr noundef %407)
  %408 = load ptr, ptr %13, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.transfers, ptr %408, i32 0, i32 52
  %410 = getelementptr inbounds [2048 x i8], ptr %409, i64 0, i64 0
  %411 = getelementptr inbounds [2048 x i8], ptr %42, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %410, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 337, ptr noundef %411)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %42) #5
  store i32 1, ptr %25, align 4, !tbaa !29
  br label %412

412:                                              ; preds = %403, %383
  br label %413

413:                                              ; preds = %412, %380
  store i32 0, ptr %14, align 4, !tbaa !29
  br label %414

414:                                              ; preds = %484, %413
  %415 = load i32, ptr %14, align 4, !tbaa !29
  %416 = sext i32 %415 to i64
  %417 = load ptr, ptr %13, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.transfers, ptr %417, i32 0, i32 45
  %419 = load i64, ptr %418, align 8, !tbaa !31
  %420 = icmp ult i64 %416, %419
  br i1 %420, label %421, label %487

421:                                              ; preds = %414
  %422 = load ptr, ptr %13, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.transfers, ptr %422, i32 0, i32 51
  %424 = load i16, ptr %423, align 2, !tbaa !17
  %425 = sext i16 %424 to i32
  %426 = icmp sgt i32 %425, 2
  br i1 %426, label %427, label %434

427:                                              ; preds = %421
  %428 = load i32, ptr %14, align 4, !tbaa !29
  %429 = load ptr, ptr %13, align 8, !tbaa !5
  %430 = getelementptr inbounds %struct.transfers, ptr %429, i32 0, i32 45
  %431 = load i64, ptr %430, align 8, !tbaa !31
  %432 = sub i64 %431, 1
  %433 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %428, i64 noundef %432)
  br label %434

434:                                              ; preds = %427, %421
  %435 = load i32, ptr %25, align 4, !tbaa !29
  %436 = icmp eq i32 %435, 0
  br i1 %436, label %437, label %455

437:                                              ; preds = %434
  %438 = load ptr, ptr %8, align 8, !tbaa !5
  %439 = load ptr, ptr %13, align 8, !tbaa !5
  %440 = load ptr, ptr %21, align 8, !tbaa !5
  %441 = load i32, ptr %14, align 4, !tbaa !29
  %442 = load double, ptr %15, align 8, !tbaa !22
  %443 = call i32 @transfer_update_HIS(ptr noundef %438, ptr noundef %439, ptr noundef %440, i32 noundef %441, double noundef %442)
  %444 = icmp eq i32 %443, 1
  br i1 %444, label %445, label %454

445:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 2048, ptr %43) #5
  %446 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  %447 = load ptr, ptr %13, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.transfers, ptr %447, i32 0, i32 52
  %449 = getelementptr inbounds [2048 x i8], ptr %448, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %446, ptr noundef @.str, ptr noundef @.str.19, ptr noundef %449)
  %450 = load ptr, ptr %13, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.transfers, ptr %450, i32 0, i32 52
  %452 = getelementptr inbounds [2048 x i8], ptr %451, i64 0, i64 0
  %453 = getelementptr inbounds [2048 x i8], ptr %43, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %452, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 360, ptr noundef %453)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %43) #5
  store i32 1, ptr %25, align 4, !tbaa !29
  br label %454

454:                                              ; preds = %445, %437
  br label %455

455:                                              ; preds = %454, %434
  %456 = load i32, ptr %25, align 4, !tbaa !29
  %457 = icmp eq i32 %456, 0
  br i1 %457, label %458, label %483

458:                                              ; preds = %455
  %459 = load ptr, ptr %8, align 8, !tbaa !5
  %460 = load ptr, ptr %9, align 8, !tbaa !5
  %461 = load ptr, ptr %11, align 8, !tbaa !5
  %462 = load ptr, ptr %13, align 8, !tbaa !5
  %463 = load ptr, ptr %22, align 8, !tbaa !5
  %464 = load i32, ptr %14, align 4, !tbaa !29
  %465 = load i32, ptr %18, align 4, !tbaa !29
  %466 = load double, ptr %16, align 8, !tbaa !22
  %467 = load ptr, ptr %19, align 8, !tbaa !5
  %468 = load ptr, ptr %20, align 8, !tbaa !5
  %469 = load ptr, ptr %40, align 8, !tbaa !5
  %470 = load ptr, ptr %21, align 8, !tbaa !5
  %471 = call i32 @transfer_compute_for_each_q(ptr noundef %459, ptr noundef %460, ptr noundef %461, ptr noundef %462, ptr noundef %463, i32 noundef %464, i32 noundef %465, double noundef %466, ptr noundef %467, ptr noundef %468, ptr noundef %469, ptr noundef %470)
  %472 = icmp eq i32 %471, 1
  br i1 %472, label %473, label %482

473:                                              ; preds = %458
  call void @llvm.lifetime.start.p0(i64 2048, ptr %44) #5
  %474 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  %475 = load ptr, ptr %13, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.transfers, ptr %475, i32 0, i32 52
  %477 = getelementptr inbounds [2048 x i8], ptr %476, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %474, ptr noundef @.str, ptr noundef @.str.20, ptr noundef %477)
  %478 = load ptr, ptr %13, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.transfers, ptr %478, i32 0, i32 52
  %480 = getelementptr inbounds [2048 x i8], ptr %479, i64 0, i64 0
  %481 = getelementptr inbounds [2048 x i8], ptr %44, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %480, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 375, ptr noundef %481)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %44) #5
  store i32 1, ptr %25, align 4, !tbaa !29
  br label %482

482:                                              ; preds = %473, %458
  br label %483

483:                                              ; preds = %482, %455
  br label %484

484:                                              ; preds = %483
  %485 = load i32, ptr %14, align 4, !tbaa !29
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr %14, align 4, !tbaa !29
  br label %414, !llvm.loop !41

487:                                              ; preds = %414
  %488 = load i32, ptr %25, align 4, !tbaa !29
  %489 = icmp eq i32 %488, 0
  br i1 %489, label %490, label %505

490:                                              ; preds = %487
  %491 = load ptr, ptr %13, align 8, !tbaa !5
  %492 = load ptr, ptr %21, align 8, !tbaa !5
  %493 = call i32 @transfer_workspace_free(ptr noundef %491, ptr noundef %492)
  %494 = icmp eq i32 %493, 1
  br i1 %494, label %495, label %504

495:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 2048, ptr %45) #5
  %496 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  %497 = load ptr, ptr %13, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.transfers, ptr %497, i32 0, i32 52
  %499 = getelementptr inbounds [2048 x i8], ptr %498, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %496, ptr noundef @.str, ptr noundef @.str.21, ptr noundef %499)
  %500 = load ptr, ptr %13, align 8, !tbaa !5
  %501 = getelementptr inbounds %struct.transfers, ptr %500, i32 0, i32 52
  %502 = getelementptr inbounds [2048 x i8], ptr %501, i64 0, i64 0
  %503 = getelementptr inbounds [2048 x i8], ptr %45, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %502, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 390, ptr noundef %503)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %45) #5
  store i32 1, ptr %25, align 4, !tbaa !29
  br label %504

504:                                              ; preds = %495, %490
  br label %505

505:                                              ; preds = %504, %487
  %506 = load i32, ptr %25, align 4, !tbaa !29
  %507 = icmp eq i32 %506, 1
  br i1 %507, label %508, label %509

508:                                              ; preds = %505
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

509:                                              ; preds = %505
  %510 = load ptr, ptr %40, align 8, !tbaa !5
  call void @free(ptr noundef %510) #5
  %511 = load ptr, ptr %11, align 8, !tbaa !5
  %512 = load ptr, ptr %13, align 8, !tbaa !5
  %513 = load ptr, ptr %20, align 8, !tbaa !5
  %514 = call i32 @transfer_perturbation_sources_spline_free(ptr noundef %511, ptr noundef %512, ptr noundef %513)
  %515 = icmp eq i32 %514, 1
  br i1 %515, label %516, label %525

516:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 2048, ptr %46) #5
  %517 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  %518 = load ptr, ptr %13, align 8, !tbaa !5
  %519 = getelementptr inbounds %struct.transfers, ptr %518, i32 0, i32 52
  %520 = getelementptr inbounds [2048 x i8], ptr %519, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %517, ptr noundef @.str, ptr noundef @.str.22, ptr noundef %520)
  %521 = load ptr, ptr %13, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.transfers, ptr %521, i32 0, i32 52
  %523 = getelementptr inbounds [2048 x i8], ptr %522, i64 0, i64 0
  %524 = getelementptr inbounds [2048 x i8], ptr %46, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %523, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 407, ptr noundef %524)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %46) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

525:                                              ; preds = %509
  %526 = load ptr, ptr %11, align 8, !tbaa !5
  %527 = load ptr, ptr %12, align 8, !tbaa !5
  %528 = load ptr, ptr %13, align 8, !tbaa !5
  %529 = load ptr, ptr %19, align 8, !tbaa !5
  %530 = call i32 @transfer_perturbation_sources_free(ptr noundef %526, ptr noundef %527, ptr noundef %528, ptr noundef %529)
  %531 = icmp eq i32 %530, 1
  br i1 %531, label %532, label %541

532:                                              ; preds = %525
  call void @llvm.lifetime.start.p0(i64 2048, ptr %47) #5
  %533 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  %534 = load ptr, ptr %13, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.transfers, ptr %534, i32 0, i32 52
  %536 = getelementptr inbounds [2048 x i8], ptr %535, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %533, ptr noundef @.str, ptr noundef @.str.23, ptr noundef %536)
  %537 = load ptr, ptr %13, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.transfers, ptr %537, i32 0, i32 52
  %539 = getelementptr inbounds [2048 x i8], ptr %538, i64 0, i64 0
  %540 = getelementptr inbounds [2048 x i8], ptr %47, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %539, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 411, ptr noundef %540)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %47) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

541:                                              ; preds = %525
  %542 = load ptr, ptr %13, align 8, !tbaa !5
  %543 = load ptr, ptr %22, align 8, !tbaa !5
  %544 = call i32 @transfer_free_source_correspondence(ptr noundef %542, ptr noundef %543)
  %545 = icmp eq i32 %544, 1
  br i1 %545, label %546, label %555

546:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 2048, ptr %48) #5
  %547 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  %548 = load ptr, ptr %13, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.transfers, ptr %548, i32 0, i32 52
  %550 = getelementptr inbounds [2048 x i8], ptr %549, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %547, ptr noundef @.str, ptr noundef @.str.24, ptr noundef %550)
  %551 = load ptr, ptr %13, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.transfers, ptr %551, i32 0, i32 52
  %553 = getelementptr inbounds [2048 x i8], ptr %552, i64 0, i64 0
  %554 = getelementptr inbounds [2048 x i8], ptr %48, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %553, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 415, ptr noundef %554)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %48) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

555:                                              ; preds = %541
  %556 = load ptr, ptr %13, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.transfers, ptr %556, i32 0, i32 52
  %558 = getelementptr inbounds [2048 x i8], ptr %557, i64 0, i64 0
  %559 = call i32 @hyperspherical_HIS_free(ptr noundef %23, ptr noundef %558)
  %560 = icmp eq i32 %559, 1
  br i1 %560, label %561, label %570

561:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 2048, ptr %49) #5
  %562 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  %563 = load ptr, ptr %13, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.transfers, ptr %563, i32 0, i32 52
  %565 = getelementptr inbounds [2048 x i8], ptr %564, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %562, ptr noundef @.str, ptr noundef @.str.25, ptr noundef %565)
  %566 = load ptr, ptr %13, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.transfers, ptr %566, i32 0, i32 52
  %568 = getelementptr inbounds [2048 x i8], ptr %567, i64 0, i64 0
  %569 = getelementptr inbounds [2048 x i8], ptr %49, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %568, ptr noundef @.str.2, ptr noundef @__func__.transfer_init, i32 noundef 419, ptr noundef %569)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %49) #5
  store i32 1, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

570:                                              ; preds = %555
  store i32 0, ptr %7, align 4
  store i32 1, ptr %26, align 4
  br label %571

571:                                              ; preds = %570, %561, %546, %532, %516, %508, %371
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %572

572:                                              ; preds = %571, %353, %340, %246, %228, %209, %191, %171, %153, %133, %115, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %573 = load i32, ptr %7, align 4
  ret i32 %573
}

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

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

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

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

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

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

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

declare i32 @hyperspherical_HIS_create(i32 noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 2}
!10 = !{!"perturbs", !11, i64 0, !11, i64 2, !11, i64 4, !11, i64 6, !11, i64 8, !11, i64 10, !11, i64 12, !11, i64 14, !11, i64 16, !11, i64 18, !11, i64 20, !12, i64 24, !11, i64 28, !11, i64 30, !11, i64 32, !11, i64 34, !11, i64 36, !11, i64 38, !11, i64 40, !11, i64 42, !11, i64 44, !11, i64 46, !11, i64 48, !11, i64 50, !11, i64 52, !11, i64 54, !11, i64 56, !11, i64 58, !11, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !13, i64 80, !12, i64 88, !12, i64 92, !7, i64 96, !7, i64 896, !12, i64 1696, !12, i64 1700, !12, i64 1704, !12, i64 1708, !12, i64 1712, !13, i64 1720, !12, i64 1728, !12, i64 1732, !7, i64 1736, !13, i64 1976, !13, i64 1984, !13, i64 1992, !6, i64 2000, !6, i64 2008, !12, i64 2016, !11, i64 2020, !11, i64 2022, !12, i64 2024, !12, i64 2028, !12, i64 2032, !12, i64 2036, !12, i64 2040, !12, i64 2044, !12, i64 2048, !12, i64 2052, !12, i64 2056, !12, i64 2060, !12, i64 2064, !6, i64 2072, !11, i64 2080, !11, i64 2082, !11, i64 2084, !11, i64 2086, !11, i64 2088, !11, i64 2090, !11, i64 2092, !11, i64 2094, !11, i64 2096, !11, i64 2098, !11, i64 2100, !11, i64 2102, !11, i64 2104, !11, i64 2106, !11, i64 2108, !11, i64 2110, !11, i64 2112, !11, i64 2114, !11, i64 2116, !11, i64 2118, !11, i64 2120, !11, i64 2122, !11, i64 2124, !11, i64 2126, !11, i64 2128, !11, i64 2130, !11, i64 2132, !11, i64 2134, !11, i64 2136, !11, i64 2138, !11, i64 2140, !11, i64 2142, !11, i64 2144, !11, i64 2146, !11, i64 2148, !11, i64 2150, !11, i64 2152, !11, i64 2154, !11, i64 2156, !11, i64 2158, !12, i64 2160, !12, i64 2164, !12, i64 2168, !12, i64 2172, !12, i64 2176, !12, i64 2180, !12, i64 2184, !12, i64 2188, !12, i64 2192, !12, i64 2196, !12, i64 2200, !12, i64 2204, !12, i64 2208, !12, i64 2212, !12, i64 2216, !12, i64 2220, !12, i64 2224, !12, i64 2228, !12, i64 2232, !12, i64 2236, !12, i64 2240, !12, i64 2244, !12, i64 2248, !12, i64 2252, !12, i64 2256, !12, i64 2260, !12, i64 2264, !12, i64 2268, !12, i64 2272, !12, i64 2276, !12, i64 2280, !12, i64 2284, !12, i64 2288, !12, i64 2292, !12, i64 2296, !12, i64 2300, !12, i64 2304, !12, i64 2308, !12, i64 2312, !12, i64 2316, !12, i64 2320, !12, i64 2324, !12, i64 2328, !12, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !13, i64 2376, !13, i64 2384, !6, i64 2392, !12, i64 2400, !13, i64 2408, !13, i64 2416, !13, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !12, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !12, i64 26512, !12, i64 26516, !12, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !11, i64 27608, !7, i64 27610}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !11, i64 2208}
!15 = !{!"transfers", !13, i64 0, !13, i64 8, !13, i64 16, !7, i64 24, !7, i64 824, !11, i64 1624, !11, i64 1626, !7, i64 1628, !12, i64 1884, !6, i64 1888, !6, i64 1896, !6, i64 1904, !11, i64 1912, !11, i64 1914, !7, i64 1916, !12, i64 2172, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !11, i64 2208, !12, i64 2212, !12, i64 2216, !12, i64 2220, !12, i64 2224, !12, i64 2228, !12, i64 2232, !12, i64 2236, !12, i64 2240, !12, i64 2244, !12, i64 2248, !12, i64 2252, !12, i64 2256, !12, i64 2260, !12, i64 2264, !12, i64 2268, !12, i64 2272, !12, i64 2276, !12, i64 2280, !6, i64 2288, !6, i64 2296, !6, i64 2304, !12, i64 2312, !6, i64 2320, !13, i64 2328, !16, i64 2336, !6, i64 2344, !6, i64 2352, !12, i64 2360, !6, i64 2368, !11, i64 2376, !11, i64 2378, !7, i64 2380}
!16 = !{!"long", !7, i64 0}
!17 = !{!15, !11, i64 2378}
!18 = !{!10, !12, i64 2040}
!19 = !{!15, !12, i64 2212}
!20 = !{!21, !13, i64 344}
!21 = !{!"background", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !12, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !11, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !11, i64 176, !13, i64 184, !13, i64 192, !6, i64 200, !12, i64 208, !12, i64 212, !13, i64 216, !12, i64 224, !6, i64 232, !6, i64 240, !13, i64 248, !6, i64 256, !13, i64 264, !6, i64 272, !13, i64 280, !6, i64 288, !13, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !12, i64 360, !6, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !12, i64 464, !12, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !12, i64 488, !12, i64 492, !12, i64 496, !12, i64 500, !12, i64 504, !12, i64 508, !12, i64 512, !12, i64 516, !12, i64 520, !12, i64 524, !12, i64 528, !12, i64 532, !12, i64 536, !12, i64 540, !12, i64 544, !12, i64 548, !12, i64 552, !12, i64 556, !12, i64 560, !12, i64 564, !12, i64 568, !12, i64 572, !12, i64 576, !12, i64 580, !12, i64 584, !12, i64 588, !12, i64 592, !12, i64 596, !12, i64 600, !12, i64 604, !12, i64 608, !12, i64 612, !12, i64 616, !12, i64 620, !12, i64 624, !12, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !12, i64 672, !12, i64 676, !12, i64 680, !12, i64 684, !12, i64 688, !12, i64 692, !12, i64 696, !12, i64 700, !12, i64 704, !12, i64 708, !12, i64 712, !12, i64 716, !12, i64 720, !11, i64 724, !11, i64 726, !11, i64 728, !11, i64 730, !11, i64 732, !11, i64 734, !11, i64 736, !11, i64 738, !11, i64 740, !11, i64 742, !11, i64 744, !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, !11, i64 840, !11, i64 842, !11, i64 844, !11, i64 846, !11, i64 848, !11, i64 850, !7, i64 852, !11, i64 2900, !7, i64 2902}
!22 = !{!13, !13, i64 0}
!23 = !{!24, !13, i64 416}
!24 = !{!"thermo", !13, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !13, i64 24, !13, i64 32, !11, i64 40, !11, i64 42, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !12, i64 80, !6, i64 88, !6, i64 96, !13, i64 104, !12, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !12, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !11, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292, !12, i64 296, !12, i64 300, !12, i64 304, !12, i64 308, !12, i64 312, !12, i64 316, !12, i64 320, !12, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !12, i64 344, !12, i64 348, !12, i64 352, !12, i64 356, !12, i64 360, !12, i64 364, !12, i64 368, !12, i64 372, !12, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !13, i64 408, !13, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !11, i64 600, !11, i64 602, !11, i64 604, !7, i64 606}
!25 = !{!24, !13, i64 560}
!26 = !{!15, !13, i64 2328}
!27 = !{!21, !13, i64 352}
!28 = !{!21, !12, i64 360}
!29 = !{!12, !12, i64 0}
!30 = !{!15, !6, i64 2344}
!31 = !{!15, !16, i64 2336}
!32 = !{!15, !6, i64 2320}
!33 = !{!15, !12, i64 2312}
!34 = !{!35, !13, i64 1952}
!35 = !{!"precision", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !7, i64 104, !13, i64 360, !12, i64 368, !13, i64 376, !12, i64 384, !12, i64 388, !13, i64 392, !12, i64 400, !13, i64 408, !12, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !13, i64 448, !13, i64 456, !13, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !13, i64 544, !13, i64 552, !13, i64 560, !13, i64 568, !13, i64 576, !13, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !13, i64 616, !12, i64 624, !7, i64 628, !7, i64 884, !7, i64 1140, !13, i64 1400, !13, i64 1408, !13, i64 1416, !13, i64 1424, !13, i64 1432, !13, i64 1440, !13, i64 1448, !13, i64 1456, !13, i64 1464, !13, i64 1472, !13, i64 1480, !13, i64 1488, !13, i64 1496, !13, i64 1504, !13, i64 1512, !13, i64 1520, !12, i64 1528, !13, i64 1536, !13, i64 1544, !12, i64 1552, !12, i64 1556, !12, i64 1560, !12, i64 1564, !12, i64 1568, !12, i64 1572, !12, i64 1576, !12, i64 1580, !13, i64 1584, !13, i64 1592, !13, i64 1600, !13, i64 1608, !13, i64 1616, !13, i64 1624, !13, i64 1632, !13, i64 1640, !12, i64 1648, !13, i64 1656, !13, i64 1664, !12, i64 1672, !13, i64 1680, !13, i64 1688, !12, i64 1696, !13, i64 1704, !12, i64 1712, !13, i64 1720, !13, i64 1728, !12, i64 1736, !13, i64 1744, !13, i64 1752, !13, i64 1760, !12, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !12, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !13, i64 1872, !12, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !13, i64 1912, !13, i64 1920, !13, i64 1928, !13, i64 1936, !13, i64 1944, !13, i64 1952, !13, i64 1960, !13, i64 1968, !13, i64 1976, !13, i64 1984, !13, i64 1992, !13, i64 2000, !13, i64 2008, !13, i64 2016, !13, i64 2024, !13, i64 2032, !13, i64 2040, !13, i64 2048, !13, i64 2056, !13, i64 2064, !13, i64 2072, !13, i64 2080, !13, i64 2088, !13, i64 2096, !13, i64 2104, !13, i64 2112, !13, i64 2120, !13, i64 2128, !13, i64 2136, !13, i64 2144, !13, i64 2152, !13, i64 2160, !13, i64 2168, !13, i64 2176, !13, i64 2184, !13, i64 2192, !13, i64 2200, !13, i64 2208, !13, i64 2216, !13, i64 2224, !13, i64 2232, !13, i64 2240, !13, i64 2248, !12, i64 2256, !13, i64 2264, !13, i64 2272, !13, i64 2280, !13, i64 2288, !12, i64 2296, !13, i64 2304, !13, i64 2312, !12, i64 2320, !12, i64 2324, !12, i64 2328, !13, i64 2336, !13, i64 2344, !7, i64 2352}
!36 = !{!35, !13, i64 1896}
!37 = !{!35, !13, i64 1904}
!38 = !{!35, !13, i64 1936}
!39 = !{!10, !12, i64 2400}
!40 = !{!24, !13, i64 552}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.HypersphericalInterpolationStructure = type { i32, double, double, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [75 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [56 x i8], align 1
@__func__.transfer_init = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [187 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [49 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_init(ptr noundef %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #2 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %struct.HypersphericalInterpolationStructure, align 8
  %10 = alloca [2048 x i8], align 16
  %11 = alloca [2048 x i8], align 16
  %12 = alloca [2048 x i8], align 16
  %13 = alloca [2048 x i8], align 16
  %14 = alloca [2048 x i8], align 16
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  %18 = alloca [2048 x i8], align 16
  %19 = alloca [2048 x i8], align 16
  %20 = alloca ptr, align 8
  %21 = alloca [2048 x i8], align 16
  %22 = alloca [2048 x i8], align 16
  %23 = alloca [2048 x i8], align 16
  %24 = alloca [2048 x i8], align 16
  %25 = alloca [2048 x i8], align 16
  %26 = alloca [2048 x i8], align 16
  %27 = alloca [2048 x i8], align 16
  %28 = alloca [2048 x i8], align 16
  %29 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %9) #7
  %30 = getelementptr inbounds i8, ptr %3, i64 2
  %31 = load i16, ptr %30, align 2, !tbaa !5
  %32 = icmp eq i16 %31, 0
  %33 = getelementptr inbounds i8, ptr %5, i64 2208
  %34 = getelementptr inbounds i8, ptr %5, i64 2378
  br i1 %32, label %35, label %40

35:                                               ; preds = %6
  store i16 0, ptr %33, align 8, !tbaa !13
  %36 = load i16, ptr %34, align 2, !tbaa !16
  %37 = icmp sgt i16 %36, 0
  br i1 %37, label %38, label %233

38:                                               ; preds = %35
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %233

40:                                               ; preds = %6
  store i16 1, ptr %33, align 8, !tbaa !13
  %41 = load i16, ptr %34, align 2, !tbaa !16
  %42 = icmp sgt i16 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %40
  %44 = load ptr, ptr @stdout, align 8, !tbaa !17
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.4) #7
  br label %46

46:                                               ; preds = %43, %40
  %47 = getelementptr inbounds i8, ptr %3, i64 2040
  %48 = load i32, ptr %47, align 8, !tbaa !18
  %49 = getelementptr inbounds i8, ptr %5, i64 2212
  store i32 %48, ptr %49, align 4, !tbaa !19
  %50 = getelementptr inbounds i8, ptr %1, i64 344
  %51 = load double, ptr %50, align 8, !tbaa !20
  %52 = getelementptr inbounds i8, ptr %2, i64 416
  %53 = load double, ptr %52, align 8, !tbaa !22
  %54 = getelementptr inbounds i8, ptr %2, i64 560
  %55 = load double, ptr %54, align 8, !tbaa !24
  %56 = getelementptr inbounds i8, ptr %5, i64 2328
  store double %55, ptr %56, align 8, !tbaa !25
  %57 = fsub double %51, %53
  %58 = fdiv double 0x401921FB54442D18, %57
  %59 = fmul double %55, %58
  %60 = getelementptr inbounds i8, ptr %1, i64 352
  %61 = load double, ptr %60, align 8, !tbaa !26
  %62 = getelementptr inbounds i8, ptr %1, i64 360
  %63 = load i32, ptr %62, align 8, !tbaa !27
  %64 = tail call i32 @transfer_indices(ptr noundef %0, ptr noundef nonnull %3, ptr noundef nonnull %5, double noundef %59, double noundef %61, i32 noundef %63)
  %65 = icmp eq i32 %64, 1
  br i1 %65, label %66, label %68

66:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %10) #7
  %67 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.5, ptr noundef nonnull %67) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %67, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 221, ptr noundef nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %10) #7
  br label %233

68:                                               ; preds = %46
  %69 = load i32, ptr %49, align 4, !tbaa !19
  %70 = sext i32 %69 to i64
  %71 = shl nsw i64 %70, 3
  %72 = tail call noalias ptr @malloc(i64 noundef %71) #8
  %73 = icmp eq ptr %72, null
  br i1 %73, label %74, label %77

74:                                               ; preds = %68
  %75 = shl i32 %69, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %11) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %11, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef %75) #7
  %76 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %76, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 227, ptr noundef nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %11) #7
  br label %233

77:                                               ; preds = %68
  %78 = tail call i32 @transfer_perturbation_copy_sources_and_nl_corrections(ptr noundef nonnull %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef nonnull %72)
  %79 = icmp eq i32 %78, 1
  br i1 %79, label %80, label %82

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %12) #7
  %81 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %12, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull %81) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %81, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 231, ptr noundef nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %12) #7
  br label %233

82:                                               ; preds = %77
  %83 = load i32, ptr %49, align 4, !tbaa !19
  %84 = sext i32 %83 to i64
  %85 = shl nsw i64 %84, 3
  %86 = tail call noalias ptr @malloc(i64 noundef %85) #8
  %87 = icmp eq ptr %86, null
  br i1 %87, label %88, label %91

88:                                               ; preds = %82
  %89 = shl i32 %83, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %13) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %13, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.9, i32 noundef %89) #7
  %90 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %90, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 237, ptr noundef nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %13) #7
  br label %233

91:                                               ; preds = %82
  %92 = tail call i32 @transfer_perturbation_source_spline(ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %72, ptr noundef nonnull %86)
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %94, label %96

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %14) #7
  %95 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %14, ptr noundef nonnull @.str, ptr noundef nonnull @.str.10, ptr noundef nonnull %95) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %95, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 241, ptr noundef nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %14) #7
  br label %233

96:                                               ; preds = %91
  %97 = load i32, ptr %49, align 4, !tbaa !19
  %98 = sext i32 %97 to i64
  %99 = shl nsw i64 %98, 3
  %100 = tail call noalias ptr @malloc(i64 noundef %99) #8
  %101 = icmp eq ptr %100, null
  br i1 %101, label %102, label %105

102:                                              ; preds = %96
  %103 = shl i32 %97, 3
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.11, i32 noundef %103) #7
  %104 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %104, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 247, ptr noundef nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #7
  br label %233

105:                                              ; preds = %96
  %106 = tail call i32 @transfer_get_source_correspondence(ptr noundef nonnull %3, ptr noundef nonnull %5, ptr noundef nonnull %100)
  %107 = icmp eq i32 %106, 1
  br i1 %107, label %108, label %110

108:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #7
  %109 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.12, ptr noundef nonnull %109) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %109, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 251, ptr noundef nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #7
  br label %233

110:                                              ; preds = %105
  %111 = call i32 @transfer_source_tau_size_max(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %5, double noundef %53, double noundef %51, ptr noundef nonnull %7)
  %112 = icmp eq i32 %111, 1
  br i1 %112, label %113, label %115

113:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #7
  %114 = getelementptr inbounds i8, ptr %5, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.13, ptr noundef nonnull %114) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %114, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 259, ptr noundef nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #7
  br label %233

115:                                              ; preds = %110
  %116 = getelementptr inbounds i8, ptr %5, i64 2344
  %117 = load ptr, ptr %116, align 8, !tbaa !28
  %118 = getelementptr inbounds i8, ptr %5, i64 2336
  %119 = load i64, ptr %118, align 8, !tbaa !29
  %120 = getelementptr double, ptr %117, i64 %119
  %121 = getelementptr i8, ptr %120, i64 -8
  %122 = load double, ptr %121, align 8, !tbaa !30
  %123 = fmul double %51, %122
  %124 = load i32, ptr %62, align 8, !tbaa !27
  %125 = icmp eq i32 %124, -1
  br i1 %125, label %126, label %143

126:                                              ; preds = %115
  %127 = getelementptr inbounds i8, ptr %5, i64 2320
  %128 = load ptr, ptr %127, align 8, !tbaa !31
  %129 = getelementptr inbounds i8, ptr %5, i64 2312
  %130 = load i32, ptr %129, align 8, !tbaa !32
  %131 = sext i32 %130 to i64
  %132 = getelementptr i32, ptr %128, i64 %131
  %133 = getelementptr i8, ptr %132, i64 -4
  %134 = load i32, ptr %133, align 4, !tbaa !33
  %135 = sitofp i32 %134 to double
  %136 = getelementptr inbounds i8, ptr %0, i64 1952
  %137 = load double, ptr %136, align 8, !tbaa !34
  %138 = fdiv double %135, %137
  %139 = call double @asinh(double noundef %138) #7
  %140 = fdiv double %138, %139
  %141 = fmul double %140, 1.010000e+00
  %142 = fmul double %123, %141
  br label %143

143:                                              ; preds = %126, %115
  %.0153 = phi double [ %142, %126 ], [ %123, %115 ]
  %144 = getelementptr inbounds i8, ptr %5, i64 2312
  %145 = load i32, ptr %144, align 8, !tbaa !32
  %146 = getelementptr inbounds i8, ptr %5, i64 2320
  %147 = load ptr, ptr %146, align 8, !tbaa !31
  %148 = getelementptr inbounds i8, ptr %0, i64 1896
  %149 = load double, ptr %148, align 8, !tbaa !36
  %150 = getelementptr inbounds i8, ptr %0, i64 1904
  %151 = load double, ptr %150, align 8, !tbaa !37
  %152 = sext i32 %145 to i64
  %153 = getelementptr i32, ptr %147, i64 %152
  %154 = getelementptr i8, ptr %153, i64 -4
  %155 = load i32, ptr %154, align 4, !tbaa !33
  %156 = add nsw i32 %155, 1
  %157 = getelementptr inbounds i8, ptr %0, i64 1936
  %158 = load double, ptr %157, align 8, !tbaa !38
  %159 = getelementptr inbounds i8, ptr %5, i64 2380
  %160 = call i32 @hyperspherical_HIS_create(i32 noundef 0, double noundef 1.000000e+00, i32 noundef %145, ptr noundef %147, double noundef %149, double noundef %.0153, double noundef %151, i32 noundef %156, double noundef %158, ptr noundef nonnull %9, ptr noundef nonnull %159) #7
  %161 = icmp eq i32 %160, 1
  br i1 %161, label %162, label %163

162:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %18) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %18, ptr noundef nonnull @.str, ptr noundef nonnull @.str.14, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 279, ptr noundef nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %18) #7
  br label %233

163:                                              ; preds = %143
  %164 = call i32 @transfer_global_selection_read(ptr noundef nonnull %5)
  %165 = icmp eq i32 %164, 1
  br i1 %165, label %166, label %167

166:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %19) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %19, ptr noundef nonnull @.str, ptr noundef nonnull @.str.15, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 293, ptr noundef nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %19) #7
  br label %233

167:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %168 = load i32, ptr %7, align 4, !tbaa !33
  %169 = call i32 @transfer_precompute_selection(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %5, double noundef %53, i32 noundef %168, ptr noundef nonnull %20)
  %170 = icmp eq i32 %169, 1
  br i1 %170, label %171, label %172

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %21) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.16, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 305, ptr noundef nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %21) #7
  br label %.critedge161

172:                                              ; preds = %167
  store ptr null, ptr %8, align 8, !tbaa !17
  %173 = getelementptr inbounds i8, ptr %3, i64 2400
  %174 = load i32, ptr %173, align 8, !tbaa !39
  %175 = load i32, ptr %7, align 4, !tbaa !33
  %176 = load double, ptr %60, align 8, !tbaa !26
  %177 = load i32, ptr %62, align 8, !tbaa !27
  %178 = getelementptr inbounds i8, ptr %2, i64 552
  %179 = load double, ptr %178, align 8, !tbaa !40
  %180 = fsub double %51, %179
  %181 = call i32 @transfer_workspace_init(ptr noundef nonnull %5, ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef %174, i32 noundef %175, double noundef %176, i32 noundef %177, double noundef %180, ptr noundef nonnull %9)
  %182 = icmp eq i32 %181, 1
  br i1 %182, label %183, label %184

183:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %22) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.17, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 337, ptr noundef nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %22) #7
  br label %184

184:                                              ; preds = %172, %183
  %.0154 = phi i32 [ 1, %183 ], [ 0, %172 ]
  %185 = load i64, ptr %118, align 8, !tbaa !29
  %.not = icmp eq i64 %185, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %184, %.critedge
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge ], [ 0, %184 ]
  %186 = phi i64 [ %208, %.critedge ], [ %185, %184 ]
  %.1155162 = phi i32 [ %.3, %.critedge ], [ %.0154, %184 ]
  %187 = load i16, ptr %34, align 2, !tbaa !16
  %188 = icmp sgt i16 %187, 2
  br i1 %188, label %189, label %193

189:                                              ; preds = %.lr.ph
  %190 = add i64 %186, -1
  %191 = trunc nuw nsw i64 %indvars.iv to i32
  %192 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef %191, i64 noundef %190)
  br label %193

193:                                              ; preds = %189, %.lr.ph
  %194 = icmp eq i32 %.1155162, 0
  br i1 %194, label %195, label %.critedge

195:                                              ; preds = %193
  %196 = load ptr, ptr %8, align 8, !tbaa !17
  %197 = trunc nuw nsw i64 %indvars.iv to i32
  %198 = call i32 @transfer_update_HIS(ptr noundef %0, ptr noundef nonnull %5, ptr noundef %196, i32 noundef %197, double noundef %51)
  %199 = icmp eq i32 %198, 1
  br i1 %199, label %200, label %201

200:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %23) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %23, ptr noundef nonnull @.str, ptr noundef nonnull @.str.19, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 360, ptr noundef nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %23) #7
  br label %.critedge

201:                                              ; preds = %195
  %202 = load i32, ptr %7, align 4, !tbaa !33
  %203 = load ptr, ptr %20, align 8, !tbaa !17
  %204 = load ptr, ptr %8, align 8, !tbaa !17
  %205 = call i32 @transfer_compute_for_each_q(ptr noundef %0, ptr noundef %1, ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %100, i32 noundef %197, i32 noundef %202, double noundef %53, ptr noundef nonnull %72, ptr noundef nonnull %86, ptr noundef %203, ptr noundef %204)
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %.critedge

207:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %24) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.20, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 375, ptr noundef nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %24) #7
  br label %.critedge

.critedge:                                        ; preds = %200, %193, %207, %201
  %.3 = phi i32 [ 1, %207 ], [ 0, %201 ], [ 1, %193 ], [ 1, %200 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %208 = load i64, ptr %118, align 8, !tbaa !29
  %209 = icmp ugt i64 %208, %indvars.iv.next
  br i1 %209, label %.lr.ph, label %._crit_edge, !llvm.loop !41

._crit_edge:                                      ; preds = %.critedge, %184
  %.1155.lcssa = phi i32 [ %.0154, %184 ], [ %.3, %.critedge ]
  %210 = icmp eq i32 %.1155.lcssa, 0
  br i1 %210, label %211, label %.critedge161

211:                                              ; preds = %._crit_edge
  %212 = load ptr, ptr %8, align 8, !tbaa !17
  %213 = call i32 @transfer_workspace_free(ptr noundef nonnull %5, ptr noundef %212)
  %214 = icmp eq i32 %213, 1
  br i1 %214, label %215, label %216

215:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %25) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %25, ptr noundef nonnull @.str, ptr noundef nonnull @.str.21, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 390, ptr noundef nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %25) #7
  br label %.critedge161

216:                                              ; preds = %211
  %217 = load ptr, ptr %20, align 8, !tbaa !17
  call void @free(ptr noundef %217) #7
  %218 = call i32 @transfer_perturbation_sources_spline_free(ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %86)
  %219 = icmp eq i32 %218, 1
  br i1 %219, label %220, label %221

220:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %26) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %26, ptr noundef nonnull @.str, ptr noundef nonnull @.str.22, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 407, ptr noundef nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %26) #7
  br label %.critedge161

221:                                              ; preds = %216
  %222 = call i32 @transfer_perturbation_sources_free(ptr noundef %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef nonnull %72)
  %223 = icmp eq i32 %222, 1
  br i1 %223, label %224, label %225

224:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %27) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str, ptr noundef nonnull @.str.23, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 411, ptr noundef nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %27) #7
  br label %.critedge161

225:                                              ; preds = %221
  %226 = call i32 @transfer_free_source_correspondence(ptr noundef nonnull %5, ptr noundef nonnull %100)
  %227 = icmp eq i32 %226, 1
  br i1 %227, label %228, label %229

228:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %28) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %28, ptr noundef nonnull @.str, ptr noundef nonnull @.str.24, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 415, ptr noundef nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %28) #7
  br label %.critedge161

229:                                              ; preds = %225
  %230 = call i32 @hyperspherical_HIS_free(ptr noundef nonnull %9, ptr noundef nonnull %159) #7
  %231 = icmp eq i32 %230, 1
  br i1 %231, label %232, label %.critedge161

232:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %29) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %29, ptr noundef nonnull @.str, ptr noundef nonnull @.str.25, ptr noundef nonnull %159) #7
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %159, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_init, i32 noundef 419, ptr noundef nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %29) #7
  br label %.critedge161

.critedge161:                                     ; preds = %215, %._crit_edge, %229, %232, %228, %224, %220, %171
  %.0 = phi i32 [ 1, %171 ], [ 1, %220 ], [ 1, %224 ], [ 1, %228 ], [ 1, %232 ], [ 0, %229 ], [ 1, %._crit_edge ], [ 1, %215 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %233

233:                                              ; preds = %35, %38, %.critedge161, %166, %162, %113, %108, %102, %94, %88, %80, %74, %66
  %.1 = phi i32 [ 1, %66 ], [ 1, %74 ], [ 1, %80 ], [ 1, %88 ], [ 1, %94 ], [ 1, %102 ], [ 1, %108 ], [ 1, %113 ], [ 1, %162 ], [ 1, %166 ], [ %.0, %.critedge161 ], [ 0, %38 ], [ 0, %35 ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  ret i32 %.1
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

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

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

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

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

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

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

declare i32 @hyperspherical_HIS_create(i32 noundef, double noundef, i32 noundef, ptr noundef, double noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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 = { nofree 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 2}
!6 = !{!"perturbs", !7, i64 0, !7, i64 2, !7, i64 4, !7, i64 6, !7, i64 8, !7, i64 10, !7, i64 12, !7, i64 14, !7, i64 16, !7, i64 18, !7, i64 20, !10, i64 24, !7, i64 28, !7, i64 30, !7, i64 32, !7, i64 34, !7, i64 36, !7, i64 38, !7, i64 40, !7, i64 42, !7, i64 44, !7, i64 46, !7, i64 48, !7, i64 50, !7, i64 52, !7, i64 54, !7, i64 56, !7, i64 58, !7, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !11, i64 80, !10, i64 88, !10, i64 92, !8, i64 96, !8, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !11, i64 1720, !10, i64 1728, !10, i64 1732, !8, i64 1736, !11, i64 1976, !11, i64 1984, !11, i64 1992, !12, i64 2000, !12, i64 2008, !10, i64 2016, !7, i64 2020, !7, 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, !12, i64 2072, !7, i64 2080, !7, i64 2082, !7, i64 2084, !7, i64 2086, !7, i64 2088, !7, i64 2090, !7, i64 2092, !7, i64 2094, !7, i64 2096, !7, i64 2098, !7, i64 2100, !7, i64 2102, !7, i64 2104, !7, i64 2106, !7, i64 2108, !7, i64 2110, !7, i64 2112, !7, i64 2114, !7, i64 2116, !7, i64 2118, !7, i64 2120, !7, i64 2122, !7, i64 2124, !7, i64 2126, !7, i64 2128, !7, i64 2130, !7, i64 2132, !7, i64 2134, !7, i64 2136, !7, i64 2138, !7, i64 2140, !7, i64 2142, !7, i64 2144, !7, i64 2146, !7, i64 2148, !7, i64 2150, !7, i64 2152, !7, i64 2154, !7, i64 2156, !7, 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, !12, i64 2336, !12, i64 2344, !12, i64 2352, !12, i64 2360, !12, i64 2368, !11, i64 2376, !11, i64 2384, !12, i64 2392, !10, 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, !10, i64 2480, !12, i64 2488, !12, i64 2496, !12, i64 2504, !8, i64 2512, !8, i64 10512, !8, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !8, i64 26528, !8, i64 26768, !8, i64 27008, !8, i64 27248, !8, i64 27368, !8, i64 27488, !7, i64 27608, !8, i64 27610}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!14, !7, i64 2208}
!14 = !{!"transfers", !11, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 824, !7, i64 1624, !7, i64 1626, !8, i64 1628, !10, i64 1884, !12, i64 1888, !12, i64 1896, !12, i64 1904, !7, i64 1912, !7, i64 1914, !8, i64 1916, !10, i64 2172, !12, i64 2176, !12, i64 2184, !12, i64 2192, !12, i64 2200, !7, 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, !12, i64 2288, !12, i64 2296, !12, i64 2304, !10, i64 2312, !12, i64 2320, !11, i64 2328, !15, i64 2336, !12, i64 2344, !12, i64 2352, !10, i64 2360, !12, i64 2368, !7, i64 2376, !7, i64 2378, !8, i64 2380}
!15 = !{!"long", !8, i64 0}
!16 = !{!14, !7, i64 2378}
!17 = !{!12, !12, i64 0}
!18 = !{!6, !10, i64 2040}
!19 = !{!14, !10, i64 2212}
!20 = !{!21, !11, i64 344}
!21 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !10, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !7, 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, !7, i64 176, !11, i64 184, !11, i64 192, !12, i64 200, !10, i64 208, !10, i64 212, !11, i64 216, !10, 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, !10, 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, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !7, i64 724, !7, i64 726, !7, i64 728, !7, i64 730, !7, i64 732, !7, i64 734, !7, i64 736, !7, i64 738, !7, i64 740, !7, i64 742, !7, 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, !7, i64 840, !7, i64 842, !7, i64 844, !7, i64 846, !7, i64 848, !7, i64 850, !8, i64 852, !7, i64 2900, !8, i64 2902}
!22 = !{!23, !11, i64 416}
!23 = !{!"thermo", !11, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 24, !11, i64 32, !7, i64 40, !7, i64 42, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !10, i64 80, !12, i64 88, !12, i64 96, !11, i64 104, !10, i64 112, !12, i64 120, !12, i64 128, !11, i64 136, !10, i64 144, !12, i64 152, !12, i64 160, !11, i64 168, !7, i64 176, !11, i64 184, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !7, i64 600, !7, i64 602, !7, i64 604, !8, i64 606}
!24 = !{!23, !11, i64 560}
!25 = !{!14, !11, i64 2328}
!26 = !{!21, !11, i64 352}
!27 = !{!21, !10, i64 360}
!28 = !{!14, !12, i64 2344}
!29 = !{!14, !15, i64 2336}
!30 = !{!11, !11, i64 0}
!31 = !{!14, !12, i64 2320}
!32 = !{!14, !10, i64 2312}
!33 = !{!10, !10, i64 0}
!34 = !{!35, !11, i64 1952}
!35 = !{!"precision", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !8, i64 104, !11, i64 360, !10, i64 368, !11, i64 376, !10, i64 384, !10, i64 388, !11, i64 392, !10, i64 400, !11, i64 408, !10, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !10, i64 624, !8, i64 628, !8, i64 884, !8, i64 1140, !11, i64 1400, !11, i64 1408, !11, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !11, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !11, i64 1520, !10, i64 1528, !11, i64 1536, !11, i64 1544, !10, i64 1552, !10, i64 1556, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !11, i64 1584, !11, i64 1592, !11, i64 1600, !11, i64 1608, !11, i64 1616, !11, i64 1624, !11, i64 1632, !11, i64 1640, !10, i64 1648, !11, i64 1656, !11, i64 1664, !10, i64 1672, !11, i64 1680, !11, i64 1688, !10, i64 1696, !11, i64 1704, !10, i64 1712, !11, i64 1720, !11, i64 1728, !10, i64 1736, !11, i64 1744, !11, i64 1752, !11, i64 1760, !10, i64 1768, !11, i64 1776, !11, i64 1784, !11, i64 1792, !11, i64 1800, !11, i64 1808, !10, i64 1816, !11, i64 1824, !11, i64 1832, !11, i64 1840, !11, i64 1848, !11, i64 1856, !11, i64 1864, !11, i64 1872, !10, i64 1880, !11, i64 1888, !11, i64 1896, !11, i64 1904, !11, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !11, i64 1944, !11, i64 1952, !11, i64 1960, !11, i64 1968, !11, i64 1976, !11, i64 1984, !11, i64 1992, !11, i64 2000, !11, i64 2008, !11, i64 2016, !11, i64 2024, !11, i64 2032, !11, i64 2040, !11, i64 2048, !11, i64 2056, !11, i64 2064, !11, i64 2072, !11, i64 2080, !11, i64 2088, !11, i64 2096, !11, i64 2104, !11, i64 2112, !11, i64 2120, !11, i64 2128, !11, i64 2136, !11, i64 2144, !11, i64 2152, !11, i64 2160, !11, i64 2168, !11, i64 2176, !11, i64 2184, !11, i64 2192, !11, i64 2200, !11, i64 2208, !11, i64 2216, !11, i64 2224, !11, i64 2232, !11, i64 2240, !11, i64 2248, !10, i64 2256, !11, i64 2264, !11, i64 2272, !11, i64 2280, !11, i64 2288, !10, i64 2296, !11, i64 2304, !11, i64 2312, !10, i64 2320, !10, i64 2324, !10, i64 2328, !11, i64 2336, !11, i64 2344, !8, i64 2352}
!36 = !{!35, !11, i64 1896}
!37 = !{!35, !11, i64 1904}
!38 = !{!35, !11, i64 1936}
!39 = !{!6, !10, i64 2400}
!40 = !{!23, !11, i64 552}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}


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