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

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [88 x i8], align 1
@__func__.transfer_compute_for_each_l = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [113 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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @transfer_compute_for_each_l(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, double noundef %9, double noundef %10, i32 noundef %11) #2 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca i16, align 2
  %30 = alloca i32, align 4
  %31 = alloca [2048 x i8], align 16
  %32 = alloca [2048 x i8], align 16
  %33 = alloca [2048 x i8], align 16
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store i32 %4, ptr %18, align 4, !tbaa !9
  store i32 %5, ptr %19, align 4, !tbaa !9
  store i32 %6, ptr %20, align 4, !tbaa !9
  store i32 %7, ptr %21, align 4, !tbaa !9
  store i32 %8, ptr %22, align 4, !tbaa !9
  store double %9, ptr %23, align 8, !tbaa !11
  store double %10, ptr %24, align 8, !tbaa !11
  store i32 %11, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #3
  %34 = load i32, ptr %22, align 4, !tbaa !9
  %35 = load ptr, ptr %17, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.transfers, ptr %35, i32 0, i32 40
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = load i32, ptr %19, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds ptr, ptr %37, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = load i32, ptr %21, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds i32, ptr %41, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !9
  %46 = icmp sge i32 %34, %45
  br i1 %46, label %47, label %85

47:                                               ; preds = %12
  %48 = load ptr, ptr %17, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.transfers, ptr %48, i32 0, i32 49
  %50 = load ptr, ptr %49, align 8, !tbaa !17
  %51 = load i32, ptr %19, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %50, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = load i32, ptr %20, align 4, !tbaa !9
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.transfers, ptr %56, i32 0, i32 39
  %58 = load ptr, ptr %57, align 8, !tbaa !18
  %59 = load i32, ptr %19, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds i32, ptr %58, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = mul nsw i32 %55, %62
  %64 = load i32, ptr %21, align 4, !tbaa !9
  %65 = add nsw i32 %63, %64
  %66 = load ptr, ptr %17, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.transfers, ptr %66, i32 0, i32 41
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = load i32, ptr %19, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = mul nsw i32 %65, %72
  %74 = load i32, ptr %22, align 4, !tbaa !9
  %75 = add nsw i32 %73, %74
  %76 = sext i32 %75 to i64
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.transfers, ptr %77, i32 0, i32 45
  %79 = load i64, ptr %78, align 8, !tbaa !20
  %80 = mul i64 %76, %79
  %81 = load i32, ptr %18, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = add i64 %80, %82
  %84 = getelementptr inbounds double, ptr %54, i64 %83
  store double 0.000000e+00, ptr %84, align 8, !tbaa !11
  store i32 0, ptr %13, align 4
  store i32 1, ptr %30, align 4
  br label %220

85:                                               ; preds = %12
  %86 = load ptr, ptr %17, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.transfers, ptr %86, i32 0, i32 46
  %88 = load ptr, ptr %87, align 8, !tbaa !21
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %88, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !11
  store double %92, ptr %26, align 8, !tbaa !11
  %93 = load ptr, ptr %17, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.transfers, ptr %93, i32 0, i32 47
  %95 = load ptr, ptr %94, align 8, !tbaa !22
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds ptr, ptr %95, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !5
  %100 = load i32, ptr %18, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds double, ptr %99, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !11
  store double %103, ptr %27, align 8, !tbaa !11
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.transfers, ptr %104, i32 0, i32 51
  %106 = load i16, ptr %105, align 2, !tbaa !23
  %107 = sext i16 %106 to i32
  %108 = icmp sgt i32 %107, 3
  br i1 %108, label %109, label %114

109:                                              ; preds = %85
  %110 = load double, ptr %23, align 8, !tbaa !11
  %111 = fptosi double %110 to i32
  %112 = load i32, ptr %21, align 4, !tbaa !9
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.91, i32 noundef %111, i32 noundef %112)
  br label %114

114:                                              ; preds = %109, %85
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = load ptr, ptr %16, align 8, !tbaa !5
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = load double, ptr %24, align 8, !tbaa !11
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %21, align 4, !tbaa !9
  %121 = load double, ptr %26, align 8, !tbaa !11
  %122 = load double, ptr %23, align 8, !tbaa !11
  %123 = call i32 @transfer_use_limber(ptr noundef %115, ptr noundef %116, ptr noundef %117, double noundef %118, i32 noundef %119, i32 noundef %120, double noundef %121, double noundef %122, ptr noundef %29)
  %124 = icmp eq i32 %123, 1
  br i1 %124, label %125, label %134

125:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 2048, ptr %31) #3
  %126 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  %127 = load ptr, ptr %17, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.transfers, ptr %127, i32 0, i32 52
  %129 = getelementptr inbounds [2048 x i8], ptr %128, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %126, ptr noundef @.str, ptr noundef @.str.92, ptr noundef %129)
  %130 = load ptr, ptr %17, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.transfers, ptr %130, i32 0, i32 52
  %132 = getelementptr inbounds [2048 x i8], ptr %131, i64 0, i64 0
  %133 = getelementptr inbounds [2048 x i8], ptr %31, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %132, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_l, i32 noundef 3050, ptr noundef %133)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %31) #3
  store i32 1, ptr %13, align 4
  store i32 1, ptr %30, align 4
  br label %220

134:                                              ; preds = %114
  %135 = load i16, ptr %29, align 2, !tbaa !24
  %136 = sext i16 %135 to i32
  %137 = icmp eq i32 %136, 1
  br i1 %137, label %138, label %158

138:                                              ; preds = %134
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = load ptr, ptr %14, align 8, !tbaa !5
  %141 = load i32, ptr %19, align 4, !tbaa !9
  %142 = load i32, ptr %18, align 4, !tbaa !9
  %143 = load double, ptr %23, align 8, !tbaa !11
  %144 = load double, ptr %26, align 8, !tbaa !11
  %145 = load i32, ptr %25, align 4, !tbaa !9
  %146 = call i32 @transfer_limber(ptr noundef %139, ptr noundef %140, i32 noundef %141, i32 noundef %142, double noundef %143, double noundef %144, i32 noundef %145, ptr noundef %28)
  %147 = icmp eq i32 %146, 1
  br i1 %147, label %148, label %157

148:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 2048, ptr %32) #3
  %149 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  %150 = load ptr, ptr %17, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.transfers, ptr %150, i32 0, i32 52
  %152 = getelementptr inbounds [2048 x i8], ptr %151, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %149, ptr noundef @.str, ptr noundef @.str.93, ptr noundef %152)
  %153 = load ptr, ptr %17, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.transfers, ptr %153, i32 0, i32 52
  %155 = getelementptr inbounds [2048 x i8], ptr %154, i64 0, i64 0
  %156 = getelementptr inbounds [2048 x i8], ptr %32, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %155, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_l, i32 noundef 3063, ptr noundef %156)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %32) #3
  store i32 1, ptr %13, align 4
  store i32 1, ptr %30, align 4
  br label %220

157:                                              ; preds = %138
  br label %181

158:                                              ; preds = %134
  %159 = load ptr, ptr %16, align 8, !tbaa !5
  %160 = load ptr, ptr %17, align 8, !tbaa !5
  %161 = load ptr, ptr %14, align 8, !tbaa !5
  %162 = load i32, ptr %18, align 4, !tbaa !9
  %163 = load i32, ptr %19, align 4, !tbaa !9
  %164 = load i32, ptr %21, align 4, !tbaa !9
  %165 = load double, ptr %23, align 8, !tbaa !11
  %166 = load i32, ptr %22, align 4, !tbaa !9
  %167 = load double, ptr %27, align 8, !tbaa !11
  %168 = load i32, ptr %25, align 4, !tbaa !9
  %169 = call i32 @transfer_integrate(ptr noundef %159, ptr noundef %160, ptr noundef %161, i32 noundef %162, i32 noundef %163, i32 noundef %164, double noundef %165, i32 noundef %166, double noundef %167, i32 noundef %168, ptr noundef %28)
  %170 = icmp eq i32 %169, 1
  br i1 %170, label %171, label %180

171:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 2048, ptr %33) #3
  %172 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  %173 = load ptr, ptr %17, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.transfers, ptr %173, i32 0, i32 52
  %175 = getelementptr inbounds [2048 x i8], ptr %174, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %172, ptr noundef @.str, ptr noundef @.str.94, ptr noundef %175)
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.transfers, ptr %176, i32 0, i32 52
  %178 = getelementptr inbounds [2048 x i8], ptr %177, i64 0, i64 0
  %179 = getelementptr inbounds [2048 x i8], ptr %33, i64 0, i64 0
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef %178, ptr noundef @.str.2, ptr noundef @__func__.transfer_compute_for_each_l, i32 noundef 3081, ptr noundef %179)
  call void @llvm.lifetime.end.p0(i64 2048, ptr %33) #3
  store i32 1, ptr %13, align 4
  store i32 1, ptr %30, align 4
  br label %220

180:                                              ; preds = %158
  br label %181

181:                                              ; preds = %180, %157
  %182 = load double, ptr %28, align 8, !tbaa !11
  %183 = load ptr, ptr %17, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.transfers, ptr %183, i32 0, i32 49
  %185 = load ptr, ptr %184, align 8, !tbaa !17
  %186 = load i32, ptr %19, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %185, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = load i32, ptr %20, align 4, !tbaa !9
  %191 = load ptr, ptr %17, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.transfers, ptr %191, i32 0, i32 39
  %193 = load ptr, ptr %192, align 8, !tbaa !18
  %194 = load i32, ptr %19, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %193, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !9
  %198 = mul nsw i32 %190, %197
  %199 = load i32, ptr %21, align 4, !tbaa !9
  %200 = add nsw i32 %198, %199
  %201 = load ptr, ptr %17, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.transfers, ptr %201, i32 0, i32 41
  %203 = load ptr, ptr %202, align 8, !tbaa !19
  %204 = load i32, ptr %19, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds i32, ptr %203, i64 %205
  %207 = load i32, ptr %206, align 4, !tbaa !9
  %208 = mul nsw i32 %200, %207
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = add nsw i32 %208, %209
  %211 = sext i32 %210 to i64
  %212 = load ptr, ptr %17, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.transfers, ptr %212, i32 0, i32 45
  %214 = load i64, ptr %213, align 8, !tbaa !20
  %215 = mul i64 %211, %214
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = add i64 %215, %217
  %219 = getelementptr inbounds double, ptr %189, i64 %218
  store double %182, ptr %219, align 8, !tbaa !11
  store i32 0, ptr %13, align 4
  store i32 1, ptr %30, align 4
  br label %220

220:                                              ; preds = %181, %171, %148, %125, %47
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  %221 = load i32, ptr %13, align 4
  ret i32 %221
}

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !6, i64 2296}
!14 = !{!"transfers", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 824, !15, i64 1624, !15, i64 1626, !7, i64 1628, !10, i64 1884, !6, i64 1888, !6, i64 1896, !6, i64 1904, !15, i64 1912, !15, i64 1914, !7, i64 1916, !10, i64 2172, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !15, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !6, i64 2288, !6, i64 2296, !6, i64 2304, !10, i64 2312, !6, i64 2320, !12, i64 2328, !16, i64 2336, !6, i64 2344, !6, i64 2352, !10, i64 2360, !6, i64 2368, !15, i64 2376, !15, i64 2378, !7, i64 2380}
!15 = !{!"short", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!14, !6, i64 2368}
!18 = !{!14, !6, i64 2288}
!19 = !{!14, !6, i64 2304}
!20 = !{!14, !16, i64 2336}
!21 = !{!14, !6, i64 2344}
!22 = !{!14, !6, i64 2352}
!23 = !{!14, !15, i64 2378}
!24 = !{!15, !15, i64 0}


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

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [88 x i8], align 1
@__func__.transfer_compute_for_each_l = external hidden unnamed_addr constant [28 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [113 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @transfer_compute_for_each_l(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, double noundef %9, double noundef %10, i32 noundef %11) local_unnamed_addr #3 {
  %13 = alloca double, align 8
  %14 = alloca i16, align 2
  %15 = alloca [2048 x i8], align 16
  %16 = alloca [2048 x i8], align 16
  %17 = alloca [2048 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %14) #4
  %18 = getelementptr inbounds i8, ptr %3, i64 2296
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = sext i32 %5 to i64
  %21 = getelementptr inbounds ptr, ptr %19, i64 %20
  %22 = load ptr, ptr %21, align 8, !tbaa !14
  %23 = sext i32 %7 to i64
  %24 = getelementptr inbounds i32, ptr %22, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !15
  %.not = icmp sgt i32 %25, %8
  br i1 %.not, label %50, label %26

26:                                               ; preds = %12
  %27 = getelementptr inbounds i8, ptr %3, i64 2368
  %28 = load ptr, ptr %27, align 8, !tbaa !16
  %29 = getelementptr inbounds ptr, ptr %28, i64 %20
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %3, i64 2288
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i32, ptr %32, i64 %20
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = mul nsw i32 %34, %6
  %36 = add nsw i32 %35, %7
  %37 = getelementptr inbounds i8, ptr %3, i64 2304
  %38 = load ptr, ptr %37, align 8, !tbaa !18
  %39 = getelementptr inbounds i32, ptr %38, i64 %20
  %40 = load i32, ptr %39, align 4, !tbaa !15
  %41 = mul nsw i32 %36, %40
  %42 = add nsw i32 %41, %8
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds i8, ptr %3, i64 2336
  %45 = load i64, ptr %44, align 8, !tbaa !19
  %46 = mul i64 %45, %43
  %47 = sext i32 %4 to i64
  %48 = getelementptr double, ptr %30, i64 %46
  %49 = getelementptr double, ptr %48, i64 %47
  store double 0.000000e+00, ptr %49, align 8, !tbaa !20
  br label %110

50:                                               ; preds = %12
  %51 = getelementptr inbounds i8, ptr %3, i64 2344
  %52 = load ptr, ptr %51, align 8, !tbaa !21
  %53 = sext i32 %4 to i64
  %54 = getelementptr inbounds double, ptr %52, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !20
  %56 = getelementptr inbounds i8, ptr %3, i64 2352
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  %58 = getelementptr inbounds ptr, ptr %57, i64 %20
  %59 = load ptr, ptr %58, align 8, !tbaa !14
  %60 = getelementptr inbounds double, ptr %59, i64 %53
  %61 = load double, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds i8, ptr %3, i64 2378
  %63 = load i16, ptr %62, align 2, !tbaa !23
  %64 = icmp sgt i16 %63, 3
  br i1 %64, label %65, label %68

65:                                               ; preds = %50
  %66 = fptosi double %9 to i32
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.91, i32 noundef %66, i32 noundef %7)
  br label %68

68:                                               ; preds = %65, %50
  %69 = call i32 @transfer_use_limber(ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, double noundef %10, i32 noundef %5, i32 noundef %7, double noundef %55, double noundef %9, ptr noundef nonnull %14)
  %70 = icmp eq i32 %69, 1
  br i1 %70, label %71, label %73

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %15) #4
  %72 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.92, ptr noundef nonnull %72) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %72, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_l, i32 noundef 3050, ptr noundef nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %15) #4
  br label %110

73:                                               ; preds = %68
  %74 = load i16, ptr %14, align 2, !tbaa !24
  %75 = icmp eq i16 %74, 1
  br i1 %75, label %76, label %81

76:                                               ; preds = %73
  %77 = call i32 @transfer_limber(ptr noundef nonnull %3, ptr noundef %0, i32 noundef %5, i32 noundef %4, double noundef %9, double noundef %55, i32 noundef %11, ptr noundef nonnull %13)
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %79, label %86

79:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %16) #4
  %80 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.93, ptr noundef nonnull %80) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %80, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_l, i32 noundef 3063, ptr noundef nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %16) #4
  br label %110

81:                                               ; preds = %73
  %82 = call i32 @transfer_integrate(ptr noundef %2, ptr noundef nonnull %3, ptr noundef %0, i32 noundef %4, i32 noundef %5, i32 noundef %7, double noundef %9, i32 noundef %8, double noundef %61, i32 noundef %11, ptr noundef nonnull %13)
  %83 = icmp eq i32 %82, 1
  br i1 %83, label %84, label %86

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %17) #4
  %85 = getelementptr inbounds i8, ptr %3, i64 2380
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.94, ptr noundef nonnull %85) #4
  call void (ptr, ptr, ...) @class_protect_sprintf(ptr noundef nonnull %85, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.transfer_compute_for_each_l, i32 noundef 3081, ptr noundef nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %17) #4
  br label %110

86:                                               ; preds = %81, %76
  %87 = load double, ptr %13, align 8, !tbaa !20
  %88 = getelementptr inbounds i8, ptr %3, i64 2368
  %89 = load ptr, ptr %88, align 8, !tbaa !16
  %90 = getelementptr inbounds ptr, ptr %89, i64 %20
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  %92 = getelementptr inbounds i8, ptr %3, i64 2288
  %93 = load ptr, ptr %92, align 8, !tbaa !17
  %94 = getelementptr inbounds i32, ptr %93, i64 %20
  %95 = load i32, ptr %94, align 4, !tbaa !15
  %96 = mul nsw i32 %95, %6
  %97 = add nsw i32 %96, %7
  %98 = getelementptr inbounds i8, ptr %3, i64 2304
  %99 = load ptr, ptr %98, align 8, !tbaa !18
  %100 = getelementptr inbounds i32, ptr %99, i64 %20
  %101 = load i32, ptr %100, align 4, !tbaa !15
  %102 = mul nsw i32 %97, %101
  %103 = add nsw i32 %102, %8
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds i8, ptr %3, i64 2336
  %106 = load i64, ptr %105, align 8, !tbaa !19
  %107 = mul i64 %106, %104
  %108 = getelementptr double, ptr %91, i64 %107
  %109 = getelementptr double, ptr %108, i64 %53
  store double %87, ptr %109, align 8, !tbaa !20
  br label %110

110:                                              ; preds = %86, %84, %79, %71, %26
  %.0 = phi i32 [ 0, %26 ], [ 1, %71 ], [ 1, %79 ], [ 0, %86 ], [ 1, %84 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  ret i32 %.0
}

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

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

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

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 = { 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 #3 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !12, i64 2296}
!6 = !{!"transfers", !7, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !8, i64 824, !10, i64 1624, !10, i64 1626, !8, i64 1628, !11, i64 1884, !12, i64 1888, !12, i64 1896, !12, i64 1904, !10, i64 1912, !10, i64 1914, !8, i64 1916, !11, i64 2172, !12, i64 2176, !12, i64 2184, !12, i64 2192, !12, i64 2200, !10, i64 2208, !11, i64 2212, !11, i64 2216, !11, i64 2220, !11, i64 2224, !11, i64 2228, !11, i64 2232, !11, i64 2236, !11, i64 2240, !11, i64 2244, !11, i64 2248, !11, i64 2252, !11, i64 2256, !11, i64 2260, !11, i64 2264, !11, i64 2268, !11, i64 2272, !11, i64 2276, !11, i64 2280, !12, i64 2288, !12, i64 2296, !12, i64 2304, !11, i64 2312, !12, i64 2320, !7, i64 2328, !13, i64 2336, !12, i64 2344, !12, i64 2352, !11, i64 2360, !12, i64 2368, !10, i64 2376, !10, i64 2378, !8, i64 2380}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !12, i64 2368}
!17 = !{!6, !12, i64 2288}
!18 = !{!6, !12, i64 2304}
!19 = !{!6, !13, i64 2336}
!20 = !{!7, !7, i64 0}
!21 = !{!6, !12, i64 2344}
!22 = !{!6, !12, i64 2352}
!23 = !{!6, !10, i64 2378}
!24 = !{!10, !10, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass