; 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.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] }

; Function Attrs: nounwind uwtable
define dso_local i32 @transfer_select_radial_function(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !9
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.perturbs, ptr %12, i32 0, i32 2
  %14 = load i16, ptr %13, align 4, !tbaa !11
  %15 = sext i16 %14 to i32
  %16 = icmp eq i32 %15, 1
  br i1 %16, label %17, label %142

17:                                               ; preds = %5
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.perturbs, ptr %19, i32 0, i32 56
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %22 = icmp eq i32 %18, %21
  br i1 %22, label %23, label %142

23:                                               ; preds = %17
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.perturbs, ptr %24, i32 0, i32 14
  %26 = load i16, ptr %25, align 8, !tbaa !16
  %27 = sext i16 %26 to i32
  %28 = icmp eq i32 %27, 1
  br i1 %28, label %29, label %54

29:                                               ; preds = %23
  %30 = load i32, ptr %9, align 4, !tbaa !9
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.transfers, ptr %31, i32 0, i32 22
  %33 = load i32, ptr %32, align 8, !tbaa !17
  %34 = icmp eq i32 %30, %33
  br i1 %34, label %35, label %37

35:                                               ; preds = %29
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %35, %29
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.transfers, ptr %39, i32 0, i32 23
  %41 = load i32, ptr %40, align 4, !tbaa !20
  %42 = icmp eq i32 %38, %41
  br i1 %42, label %43, label %45

43:                                               ; preds = %37
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %44, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %43, %37
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.transfers, ptr %47, i32 0, i32 24
  %49 = load i32, ptr %48, align 8, !tbaa !21
  %50 = icmp eq i32 %46, %49
  br i1 %50, label %51, label %53

51:                                               ; preds = %45
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 2, ptr %52, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %51, %45
  br label %54

54:                                               ; preds = %53, %23
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.perturbs, ptr %55, i32 0, i32 15
  %57 = load i16, ptr %56, align 2, !tbaa !22
  %58 = sext i16 %57 to i32
  %59 = icmp eq i32 %58, 1
  br i1 %59, label %60, label %69

60:                                               ; preds = %54
  %61 = load i32, ptr %9, align 4, !tbaa !9
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.transfers, ptr %62, i32 0, i32 25
  %64 = load i32, ptr %63, align 4, !tbaa !23
  %65 = icmp eq i32 %61, %64
  br i1 %65, label %66, label %68

66:                                               ; preds = %60
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 3, ptr %67, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %66, %60
  br label %69

69:                                               ; preds = %68, %54
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.perturbs, ptr %70, i32 0, i32 26
  %72 = load i16, ptr %71, align 8, !tbaa !24
  %73 = sext i16 %72 to i32
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %93

75:                                               ; preds = %69
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.transfers, ptr %77, i32 0, i32 32
  %79 = load i32, ptr %78, align 8, !tbaa !25
  %80 = icmp sge i32 %76, %79
  br i1 %80, label %81, label %93

81:                                               ; preds = %75
  %82 = load i32, ptr %9, align 4, !tbaa !9
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.transfers, ptr %83, i32 0, i32 32
  %85 = load i32, ptr %84, align 8, !tbaa !25
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.perturbs, ptr %86, i32 0, i32 34
  %88 = load i32, ptr %87, align 8, !tbaa !26
  %89 = add nsw i32 %85, %88
  %90 = icmp slt i32 %82, %89
  br i1 %90, label %91, label %93

91:                                               ; preds = %81
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %92, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %91, %81, %75, %69
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.perturbs, ptr %94, i32 0, i32 26
  %96 = load i16, ptr %95, align 8, !tbaa !24
  %97 = sext i16 %96 to i32
  %98 = icmp eq i32 %97, 1
  br i1 %98, label %99, label %117

99:                                               ; preds = %93
  %100 = load i32, ptr %9, align 4, !tbaa !9
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.transfers, ptr %101, i32 0, i32 30
  %103 = load i32, ptr %102, align 8, !tbaa !27
  %104 = icmp sge i32 %100, %103
  br i1 %104, label %105, label %117

105:                                              ; preds = %99
  %106 = load i32, ptr %9, align 4, !tbaa !9
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.transfers, ptr %107, i32 0, i32 30
  %109 = load i32, ptr %108, align 8, !tbaa !27
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.perturbs, ptr %110, i32 0, i32 34
  %112 = load i32, ptr %111, align 8, !tbaa !26
  %113 = add nsw i32 %109, %112
  %114 = icmp slt i32 %106, %113
  br i1 %114, label %115, label %117

115:                                              ; preds = %105
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 11, ptr %116, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %115, %105, %99, %93
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.perturbs, ptr %118, i32 0, i32 28
  %120 = load i16, ptr %119, align 4, !tbaa !28
  %121 = sext i16 %120 to i32
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %123, label %141

123:                                              ; preds = %117
  %124 = load i32, ptr %9, align 4, !tbaa !9
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.transfers, ptr %125, i32 0, i32 38
  %127 = load i32, ptr %126, align 8, !tbaa !29
  %128 = icmp sge i32 %124, %127
  br i1 %128, label %129, label %141

129:                                              ; preds = %123
  %130 = load i32, ptr %9, align 4, !tbaa !9
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.transfers, ptr %131, i32 0, i32 38
  %133 = load i32, ptr %132, align 8, !tbaa !29
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.perturbs, ptr %134, i32 0, i32 34
  %136 = load i32, ptr %135, align 8, !tbaa !26
  %137 = add nsw i32 %133, %136
  %138 = icmp slt i32 %130, %137
  br i1 %138, label %139, label %141

139:                                              ; preds = %129
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 1, ptr %140, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %139, %129, %123, %117
  br label %142

142:                                              ; preds = %141, %17, %5
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.perturbs, ptr %143, i32 0, i32 3
  %145 = load i16, ptr %144, align 2, !tbaa !30
  %146 = sext i16 %145 to i32
  %147 = icmp eq i32 %146, 1
  br i1 %147, label %148, label %201

148:                                              ; preds = %142
  %149 = load i32, ptr %8, align 4, !tbaa !9
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.perturbs, ptr %150, i32 0, i32 58
  %152 = load i32, ptr %151, align 4, !tbaa !31
  %153 = icmp eq i32 %149, %152
  br i1 %153, label %154, label %201

154:                                              ; preds = %148
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.perturbs, ptr %155, i32 0, i32 14
  %157 = load i16, ptr %156, align 8, !tbaa !16
  %158 = sext i16 %157 to i32
  %159 = icmp eq i32 %158, 1
  br i1 %159, label %160, label %177

160:                                              ; preds = %154
  %161 = load i32, ptr %9, align 4, !tbaa !9
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.transfers, ptr %162, i32 0, i32 23
  %164 = load i32, ptr %163, align 4, !tbaa !20
  %165 = icmp eq i32 %161, %164
  br i1 %165, label %166, label %168

166:                                              ; preds = %160
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 4, ptr %167, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %166, %160
  %169 = load i32, ptr %9, align 4, !tbaa !9
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.transfers, ptr %170, i32 0, i32 24
  %172 = load i32, ptr %171, align 8, !tbaa !21
  %173 = icmp eq i32 %169, %172
  br i1 %173, label %174, label %176

174:                                              ; preds = %168
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 5, ptr %175, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %174, %168
  br label %177

177:                                              ; preds = %176, %154
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.perturbs, ptr %178, i32 0, i32 15
  %180 = load i16, ptr %179, align 2, !tbaa !22
  %181 = sext i16 %180 to i32
  %182 = icmp eq i32 %181, 1
  br i1 %182, label %183, label %200

183:                                              ; preds = %177
  %184 = load i32, ptr %9, align 4, !tbaa !9
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.transfers, ptr %185, i32 0, i32 25
  %187 = load i32, ptr %186, align 4, !tbaa !23
  %188 = icmp eq i32 %184, %187
  br i1 %188, label %189, label %191

189:                                              ; preds = %183
  %190 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 6, ptr %190, align 4, !tbaa !9
  br label %191

191:                                              ; preds = %189, %183
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.transfers, ptr %193, i32 0, i32 26
  %195 = load i32, ptr %194, align 8, !tbaa !32
  %196 = icmp eq i32 %192, %195
  br i1 %196, label %197, label %199

197:                                              ; preds = %191
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 7, ptr %198, align 4, !tbaa !9
  br label %199

199:                                              ; preds = %197, %191
  br label %200

200:                                              ; preds = %199, %177
  br label %201

201:                                              ; preds = %200, %148, %142
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.perturbs, ptr %202, i32 0, i32 4
  %204 = load i16, ptr %203, align 8, !tbaa !33
  %205 = sext i16 %204 to i32
  %206 = icmp eq i32 %205, 1
  br i1 %206, label %207, label %252

207:                                              ; preds = %201
  %208 = load i32, ptr %8, align 4, !tbaa !9
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.perturbs, ptr %209, i32 0, i32 57
  %211 = load i32, ptr %210, align 8, !tbaa !34
  %212 = icmp eq i32 %208, %211
  br i1 %212, label %213, label %252

213:                                              ; preds = %207
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.perturbs, ptr %214, i32 0, i32 14
  %216 = load i16, ptr %215, align 8, !tbaa !16
  %217 = sext i16 %216 to i32
  %218 = icmp eq i32 %217, 1
  br i1 %218, label %219, label %228

219:                                              ; preds = %213
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.transfers, ptr %221, i32 0, i32 24
  %223 = load i32, ptr %222, align 8, !tbaa !21
  %224 = icmp eq i32 %220, %223
  br i1 %224, label %225, label %227

225:                                              ; preds = %219
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 8, ptr %226, align 4, !tbaa !9
  br label %227

227:                                              ; preds = %225, %219
  br label %228

228:                                              ; preds = %227, %213
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.perturbs, ptr %229, i32 0, i32 15
  %231 = load i16, ptr %230, align 2, !tbaa !22
  %232 = sext i16 %231 to i32
  %233 = icmp eq i32 %232, 1
  br i1 %233, label %234, label %251

234:                                              ; preds = %228
  %235 = load i32, ptr %9, align 4, !tbaa !9
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.transfers, ptr %236, i32 0, i32 25
  %238 = load i32, ptr %237, align 4, !tbaa !23
  %239 = icmp eq i32 %235, %238
  br i1 %239, label %240, label %242

240:                                              ; preds = %234
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 9, ptr %241, align 4, !tbaa !9
  br label %242

242:                                              ; preds = %240, %234
  %243 = load i32, ptr %9, align 4, !tbaa !9
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.transfers, ptr %244, i32 0, i32 26
  %246 = load i32, ptr %245, align 8, !tbaa !32
  %247 = icmp eq i32 %243, %246
  br i1 %247, label %248, label %250

248:                                              ; preds = %242
  %249 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 10, ptr %249, align 4, !tbaa !9
  br label %250

250:                                              ; preds = %248, %242
  br label %251

251:                                              ; preds = %250, %228
  br label %252

252:                                              ; preds = %251, %207, %201
  ret i32 0
}

attributes #0 = { 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" }

!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, !13, i64 4}
!12 = !{!"perturbs", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8, !13, i64 10, !13, i64 12, !13, i64 14, !13, i64 16, !13, i64 18, !13, i64 20, !10, i64 24, !13, i64 28, !13, i64 30, !13, i64 32, !13, i64 34, !13, i64 36, !13, i64 38, !13, i64 40, !13, i64 42, !13, i64 44, !13, i64 46, !13, i64 48, !13, i64 50, !13, i64 52, !13, i64 54, !13, i64 56, !13, i64 58, !13, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !14, i64 80, !10, i64 88, !10, i64 92, !7, i64 96, !7, i64 896, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !14, i64 1720, !10, i64 1728, !10, i64 1732, !7, i64 1736, !14, i64 1976, !14, i64 1984, !14, i64 1992, !6, i64 2000, !6, i64 2008, !10, i64 2016, !13, i64 2020, !13, i64 2022, !10, i64 2024, !10, i64 2028, !10, i64 2032, !10, i64 2036, !10, i64 2040, !10, i64 2044, !10, i64 2048, !10, i64 2052, !10, i64 2056, !10, i64 2060, !10, i64 2064, !6, i64 2072, !13, i64 2080, !13, i64 2082, !13, i64 2084, !13, i64 2086, !13, i64 2088, !13, i64 2090, !13, i64 2092, !13, i64 2094, !13, i64 2096, !13, i64 2098, !13, i64 2100, !13, i64 2102, !13, i64 2104, !13, i64 2106, !13, i64 2108, !13, i64 2110, !13, i64 2112, !13, i64 2114, !13, i64 2116, !13, i64 2118, !13, i64 2120, !13, i64 2122, !13, i64 2124, !13, i64 2126, !13, i64 2128, !13, i64 2130, !13, i64 2132, !13, i64 2134, !13, i64 2136, !13, i64 2138, !13, i64 2140, !13, i64 2142, !13, i64 2144, !13, i64 2146, !13, i64 2148, !13, i64 2150, !13, i64 2152, !13, i64 2154, !13, i64 2156, !13, i64 2158, !10, i64 2160, !10, i64 2164, !10, i64 2168, !10, i64 2172, !10, i64 2176, !10, i64 2180, !10, i64 2184, !10, i64 2188, !10, i64 2192, !10, i64 2196, !10, i64 2200, !10, i64 2204, !10, i64 2208, !10, i64 2212, !10, i64 2216, !10, i64 2220, !10, i64 2224, !10, i64 2228, !10, i64 2232, !10, i64 2236, !10, i64 2240, !10, i64 2244, !10, i64 2248, !10, i64 2252, !10, i64 2256, !10, i64 2260, !10, i64 2264, !10, i64 2268, !10, i64 2272, !10, i64 2276, !10, i64 2280, !10, i64 2284, !10, i64 2288, !10, i64 2292, !10, i64 2296, !10, i64 2300, !10, i64 2304, !10, i64 2308, !10, i64 2312, !10, i64 2316, !10, i64 2320, !10, i64 2324, !10, i64 2328, !10, i64 2332, !6, i64 2336, !6, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !14, i64 2376, !14, i64 2384, !6, i64 2392, !10, i64 2400, !14, i64 2408, !14, i64 2416, !14, i64 2424, !6, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !10, i64 2480, !6, i64 2488, !6, i64 2496, !6, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !10, i64 26512, !10, i64 26516, !10, i64 26520, !7, i64 26528, !7, i64 26768, !7, i64 27008, !7, i64 27248, !7, i64 27368, !7, i64 27488, !13, i64 27608, !7, i64 27610}
!13 = !{!"short", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!12, !10, i64 2028}
!16 = !{!12, !13, i64 32}
!17 = !{!18, !10, i64 2216}
!18 = !{!"transfers", !14, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !7, i64 824, !13, i64 1624, !13, i64 1626, !7, i64 1628, !10, i64 1884, !6, i64 1888, !6, i64 1896, !6, i64 1904, !13, i64 1912, !13, i64 1914, !7, i64 1916, !10, i64 2172, !6, i64 2176, !6, i64 2184, !6, i64 2192, !6, i64 2200, !13, 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, !14, i64 2328, !19, i64 2336, !6, i64 2344, !6, i64 2352, !10, i64 2360, !6, i64 2368, !13, i64 2376, !13, i64 2378, !7, i64 2380}
!19 = !{!"long", !7, i64 0}
!20 = !{!18, !10, i64 2220}
!21 = !{!18, !10, i64 2224}
!22 = !{!12, !13, i64 34}
!23 = !{!18, !10, i64 2228}
!24 = !{!12, !13, i64 56}
!25 = !{!18, !10, i64 2256}
!26 = !{!12, !10, i64 88}
!27 = !{!18, !10, i64 2248}
!28 = !{!12, !13, i64 60}
!29 = !{!18, !10, i64 2280}
!30 = !{!12, !13, i64 6}
!31 = !{!12, !10, i64 2036}
!32 = !{!18, !10, i64 2232}
!33 = !{!12, !13, i64 8}
!34 = !{!12, !10, i64 2032}


; 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"

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local noundef i32 @transfer_select_radial_function(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 {
  store i32 0, ptr %4, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 4
  %7 = load i16, ptr %6, align 4, !tbaa !9
  %8 = icmp eq i16 %7, 1
  br i1 %8, label %9, label %71

9:                                                ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 2028
  %11 = load i32, ptr %10, align 4, !tbaa !14
  %12 = icmp eq i32 %11, %2
  br i1 %12, label %13, label %71

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  %15 = load i16, ptr %14, align 8, !tbaa !15
  %16 = icmp eq i16 %15, 1
  br i1 %16, label %17, label %27

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %1, i64 2220
  %19 = load i32, ptr %18, align 4, !tbaa !16
  %20 = icmp eq i32 %19, %3
  br i1 %20, label %21, label %22

21:                                               ; preds = %17
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %21, %17
  %23 = getelementptr inbounds i8, ptr %1, i64 2224
  %24 = load i32, ptr %23, align 8, !tbaa !19
  %25 = icmp eq i32 %24, %3
  br i1 %25, label %26, label %27

26:                                               ; preds = %22
  store i32 2, ptr %4, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %22, %26, %13
  %28 = getelementptr inbounds i8, ptr %0, i64 34
  %29 = load i16, ptr %28, align 2, !tbaa !20
  %30 = icmp eq i16 %29, 1
  br i1 %30, label %31, label %36

31:                                               ; preds = %27
  %32 = getelementptr inbounds i8, ptr %1, i64 2228
  %33 = load i32, ptr %32, align 4, !tbaa !21
  %34 = icmp eq i32 %33, %3
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  store i32 3, ptr %4, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %31, %35, %27
  %37 = getelementptr inbounds i8, ptr %0, i64 56
  %38 = load i16, ptr %37, align 8, !tbaa !22
  %39 = icmp eq i16 %38, 1
  br i1 %39, label %40, label %58

40:                                               ; preds = %36
  %41 = getelementptr inbounds i8, ptr %1, i64 2256
  %42 = load i32, ptr %41, align 8, !tbaa !23
  %.not = icmp sgt i32 %42, %3
  br i1 %.not, label %49, label %43

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 88
  %45 = load i32, ptr %44, align 8, !tbaa !24
  %46 = add nsw i32 %45, %42
  %47 = icmp sgt i32 %46, %3
  br i1 %47, label %48, label %49

48:                                               ; preds = %43
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %48, %43, %40
  %50 = getelementptr inbounds i8, ptr %1, i64 2248
  %51 = load i32, ptr %50, align 8, !tbaa !25
  %.not72 = icmp sgt i32 %51, %3
  br i1 %.not72, label %58, label %52

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %0, i64 88
  %54 = load i32, ptr %53, align 8, !tbaa !24
  %55 = add nsw i32 %54, %51
  %56 = icmp sgt i32 %55, %3
  br i1 %56, label %57, label %58

57:                                               ; preds = %52
  store i32 11, ptr %4, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %36, %57, %52, %49
  %59 = getelementptr inbounds i8, ptr %0, i64 60
  %60 = load i16, ptr %59, align 4, !tbaa !26
  %61 = icmp eq i16 %60, 1
  br i1 %61, label %62, label %71

62:                                               ; preds = %58
  %63 = getelementptr inbounds i8, ptr %1, i64 2280
  %64 = load i32, ptr %63, align 8, !tbaa !27
  %.not73 = icmp sgt i32 %64, %3
  br i1 %.not73, label %71, label %65

65:                                               ; preds = %62
  %66 = getelementptr inbounds i8, ptr %0, i64 88
  %67 = load i32, ptr %66, align 8, !tbaa !24
  %68 = add nsw i32 %67, %64
  %69 = icmp sgt i32 %68, %3
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %58, %62, %65, %70, %9, %5
  %72 = getelementptr inbounds i8, ptr %0, i64 6
  %73 = load i16, ptr %72, align 2, !tbaa !28
  %74 = icmp eq i16 %73, 1
  br i1 %74, label %75, label %107

75:                                               ; preds = %71
  %76 = getelementptr inbounds i8, ptr %0, i64 2036
  %77 = load i32, ptr %76, align 4, !tbaa !29
  %78 = icmp eq i32 %77, %2
  br i1 %78, label %79, label %107

79:                                               ; preds = %75
  %80 = getelementptr inbounds i8, ptr %0, i64 32
  %81 = load i16, ptr %80, align 8, !tbaa !15
  %82 = icmp eq i16 %81, 1
  br i1 %82, label %83, label %93

83:                                               ; preds = %79
  %84 = getelementptr inbounds i8, ptr %1, i64 2220
  %85 = load i32, ptr %84, align 4, !tbaa !16
  %86 = icmp eq i32 %85, %3
  br i1 %86, label %87, label %88

87:                                               ; preds = %83
  store i32 4, ptr %4, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %87, %83
  %89 = getelementptr inbounds i8, ptr %1, i64 2224
  %90 = load i32, ptr %89, align 8, !tbaa !19
  %91 = icmp eq i32 %90, %3
  br i1 %91, label %92, label %93

92:                                               ; preds = %88
  store i32 5, ptr %4, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %88, %92, %79
  %94 = getelementptr inbounds i8, ptr %0, i64 34
  %95 = load i16, ptr %94, align 2, !tbaa !20
  %96 = icmp eq i16 %95, 1
  br i1 %96, label %97, label %107

97:                                               ; preds = %93
  %98 = getelementptr inbounds i8, ptr %1, i64 2228
  %99 = load i32, ptr %98, align 4, !tbaa !21
  %100 = icmp eq i32 %99, %3
  br i1 %100, label %101, label %102

101:                                              ; preds = %97
  store i32 6, ptr %4, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %101, %97
  %103 = getelementptr inbounds i8, ptr %1, i64 2232
  %104 = load i32, ptr %103, align 8, !tbaa !30
  %105 = icmp eq i32 %104, %3
  br i1 %105, label %106, label %107

106:                                              ; preds = %102
  store i32 7, ptr %4, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %93, %106, %102, %75, %71
  %108 = getelementptr inbounds i8, ptr %0, i64 8
  %109 = load i16, ptr %108, align 8, !tbaa !31
  %110 = icmp eq i16 %109, 1
  br i1 %110, label %111, label %138

111:                                              ; preds = %107
  %112 = getelementptr inbounds i8, ptr %0, i64 2032
  %113 = load i32, ptr %112, align 8, !tbaa !32
  %114 = icmp eq i32 %113, %2
  br i1 %114, label %115, label %138

115:                                              ; preds = %111
  %116 = getelementptr inbounds i8, ptr %0, i64 32
  %117 = load i16, ptr %116, align 8, !tbaa !15
  %118 = icmp eq i16 %117, 1
  br i1 %118, label %119, label %124

119:                                              ; preds = %115
  %120 = getelementptr inbounds i8, ptr %1, i64 2224
  %121 = load i32, ptr %120, align 8, !tbaa !19
  %122 = icmp eq i32 %121, %3
  br i1 %122, label %123, label %124

123:                                              ; preds = %119
  store i32 8, ptr %4, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %119, %123, %115
  %125 = getelementptr inbounds i8, ptr %0, i64 34
  %126 = load i16, ptr %125, align 2, !tbaa !20
  %127 = icmp eq i16 %126, 1
  br i1 %127, label %128, label %138

128:                                              ; preds = %124
  %129 = getelementptr inbounds i8, ptr %1, i64 2228
  %130 = load i32, ptr %129, align 4, !tbaa !21
  %131 = icmp eq i32 %130, %3
  br i1 %131, label %132, label %133

132:                                              ; preds = %128
  store i32 9, ptr %4, align 4, !tbaa !5
  br label %133

133:                                              ; preds = %132, %128
  %134 = getelementptr inbounds i8, ptr %1, i64 2232
  %135 = load i32, ptr %134, align 8, !tbaa !30
  %136 = icmp eq i32 %135, %3
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  store i32 10, ptr %4, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %124, %137, %133, %111, %107
  ret i32 0
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 4}
!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, !6, 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, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !12, i64 80, !6, i64 88, !6, i64 92, !7, i64 96, !7, i64 896, !6, i64 1696, !6, i64 1700, !6, i64 1704, !6, i64 1708, !6, i64 1712, !12, i64 1720, !6, i64 1728, !6, i64 1732, !7, i64 1736, !12, i64 1976, !12, i64 1984, !12, i64 1992, !13, i64 2000, !13, i64 2008, !6, i64 2016, !11, i64 2020, !11, i64 2022, !6, i64 2024, !6, i64 2028, !6, i64 2032, !6, i64 2036, !6, i64 2040, !6, i64 2044, !6, i64 2048, !6, i64 2052, !6, i64 2056, !6, i64 2060, !6, i64 2064, !13, 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, !6, i64 2160, !6, i64 2164, !6, i64 2168, !6, i64 2172, !6, i64 2176, !6, i64 2180, !6, i64 2184, !6, i64 2188, !6, i64 2192, !6, i64 2196, !6, i64 2200, !6, i64 2204, !6, i64 2208, !6, i64 2212, !6, i64 2216, !6, i64 2220, !6, i64 2224, !6, i64 2228, !6, i64 2232, !6, i64 2236, !6, i64 2240, !6, i64 2244, !6, i64 2248, !6, i64 2252, !6, i64 2256, !6, i64 2260, !6, i64 2264, !6, i64 2268, !6, i64 2272, !6, i64 2276, !6, i64 2280, !6, i64 2284, !6, i64 2288, !6, i64 2292, !6, i64 2296, !6, i64 2300, !6, i64 2304, !6, i64 2308, !6, i64 2312, !6, i64 2316, !6, i64 2320, !6, i64 2324, !6, i64 2328, !6, i64 2332, !13, i64 2336, !13, i64 2344, !13, i64 2352, !13, i64 2360, !13, i64 2368, !12, i64 2376, !12, i64 2384, !13, i64 2392, !6, i64 2400, !12, i64 2408, !12, i64 2416, !12, i64 2424, !13, i64 2432, !13, i64 2440, !13, i64 2448, !13, i64 2456, !13, i64 2464, !13, i64 2472, !6, i64 2480, !13, i64 2488, !13, i64 2496, !13, i64 2504, !7, i64 2512, !7, i64 10512, !7, i64 18512, !6, i64 26512, !6, i64 26516, !6, 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 = !{!"double", !7, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!10, !6, i64 2028}
!15 = !{!10, !11, i64 32}
!16 = !{!17, !6, i64 2220}
!17 = !{!"transfers", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !7, i64 824, !11, i64 1624, !11, i64 1626, !7, i64 1628, !6, i64 1884, !13, i64 1888, !13, i64 1896, !13, i64 1904, !11, i64 1912, !11, i64 1914, !7, i64 1916, !6, i64 2172, !13, i64 2176, !13, i64 2184, !13, i64 2192, !13, i64 2200, !11, i64 2208, !6, i64 2212, !6, i64 2216, !6, i64 2220, !6, i64 2224, !6, i64 2228, !6, i64 2232, !6, i64 2236, !6, i64 2240, !6, i64 2244, !6, i64 2248, !6, i64 2252, !6, i64 2256, !6, i64 2260, !6, i64 2264, !6, i64 2268, !6, i64 2272, !6, i64 2276, !6, i64 2280, !13, i64 2288, !13, i64 2296, !13, i64 2304, !6, i64 2312, !13, i64 2320, !12, i64 2328, !18, i64 2336, !13, i64 2344, !13, i64 2352, !6, i64 2360, !13, i64 2368, !11, i64 2376, !11, i64 2378, !7, i64 2380}
!18 = !{!"long", !7, i64 0}
!19 = !{!17, !6, i64 2224}
!20 = !{!10, !11, i64 34}
!21 = !{!17, !6, i64 2228}
!22 = !{!10, !11, i64 56}
!23 = !{!17, !6, i64 2256}
!24 = !{!10, !6, i64 88}
!25 = !{!17, !6, i64 2248}
!26 = !{!10, !11, i64 60}
!27 = !{!17, !6, i64 2280}
!28 = !{!10, !11, i64 6}
!29 = !{!10, !6, i64 2036}
!30 = !{!17, !6, i64 2232}
!31 = !{!10, !11, i64 8}
!32 = !{!10, !6, i64 2032}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass