; LLVM IR from simbody/simbody :: SimTKmath/Integrators/src/CPodes/sundials/src/cpodes (cpodes)

; 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.CPodeMemRec = type { double, i32, ptr, ptr, ptr, i32, i32, i32, double, double, ptr, ptr, ptr, [13 x ptr], ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, [14 x double], [6 x double], [13 x double], [13 x double], double, double, double, double, double, double, double, i32, i32, i32, i32, i64, i64, i32, i32, ptr, ptr, ptr, ptr, double, ptr, ptr, ptr, i64, i64, double, i32, i32, i32, ptr, ptr, ptr, ptr, i32, i64, i64, i64, i64, i32, i32, ptr, ptr, i32, i32, double, double, ptr, [13 x ptr], ptr, ptr, ptr, ptr, double, i64, i64, i32, i32, i32, i64, i64, i32, i32, double, i32, i64, i32, i32, i32, i32, double, double, double, i64, i64, i64, i64, i64, i64, i32, double, double, double, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i64, double, double, double, i32, double, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, i32, [6 x [4 x double]], i32, i64, i32, ptr, i32, ptr, ptr, ptr, ptr, double, double, double, ptr, ptr, ptr, double, i32, i32, i64, double, double, i32, i32, ptr, ptr }
%struct._generic_N_Vector = type { ptr, ptr }
%struct._generic_N_Vector_Ops = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 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

; Function Attrs: nounwind uwtable
declare dso_local void @cpProcessError(ptr noundef, i32 noundef, ptr noundef, 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 @CPodeInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8) #1 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store double %3, ptr %14, align 8, !tbaa !9
  store ptr %4, ptr %15, align 8, !tbaa !5
  store ptr %5, ptr %16, align 8, !tbaa !5
  store i32 %6, ptr %17, align 4, !tbaa !11
  store double %7, ptr %18, align 8, !tbaa !9
  store ptr %8, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %32

31:                                               ; preds = %9
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef null, i32 noundef -21, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.8)
  store i32 -21, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

32:                                               ; preds = %9
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %33, ptr %20, align 8, !tbaa !5
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = icmp eq ptr %34, null
  br i1 %35, label %36, label %38

36:                                               ; preds = %32
  %37 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %37, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.9)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

38:                                               ; preds = %32
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %43

41:                                               ; preds = %38
  %42 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %42, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.10)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

43:                                               ; preds = %38
  %44 = load ptr, ptr %20, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.CPodeMemRec, ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 8, !tbaa !13
  %47 = icmp eq i32 %46, 2
  br i1 %47, label %48, label %53

48:                                               ; preds = %43
  %49 = load ptr, ptr %16, align 8, !tbaa !5
  %50 = icmp eq ptr %49, null
  br i1 %50, label %51, label %53

51:                                               ; preds = %48
  %52 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %52, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.11)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

53:                                               ; preds = %48, %43
  %54 = load i32, ptr %17, align 4, !tbaa !11
  %55 = icmp ne i32 %54, 1
  br i1 %55, label %56, label %64

56:                                               ; preds = %53
  %57 = load i32, ptr %17, align 4, !tbaa !11
  %58 = icmp ne i32 %57, 2
  br i1 %58, label %59, label %64

59:                                               ; preds = %56
  %60 = load i32, ptr %17, align 4, !tbaa !11
  %61 = icmp ne i32 %60, 3
  br i1 %61, label %62, label %64

62:                                               ; preds = %59
  %63 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %63, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.12)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

64:                                               ; preds = %59, %56, %53
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = call i32 @cpCheckNvector(ptr noundef %65)
  store i32 %66, ptr %21, align 4, !tbaa !11
  %67 = load i32, ptr %21, align 4, !tbaa !11
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %71, label %69

69:                                               ; preds = %64
  %70 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %70, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.13)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

71:                                               ; preds = %64
  %72 = load i32, ptr %17, align 4, !tbaa !11
  %73 = icmp ne i32 %72, 3
  br i1 %73, label %74, label %103

74:                                               ; preds = %71
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = icmp eq ptr %75, null
  br i1 %76, label %77, label %79

77:                                               ; preds = %74
  %78 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %78, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.14)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

79:                                               ; preds = %74
  %80 = load double, ptr %18, align 8, !tbaa !9
  %81 = fcmp olt double %80, 0.000000e+00
  br i1 %81, label %82, label %84

82:                                               ; preds = %79
  %83 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %83, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.15)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

84:                                               ; preds = %79
  %85 = load i32, ptr %17, align 4, !tbaa !11
  %86 = icmp eq i32 %85, 1
  br i1 %86, label %87, label %92

87:                                               ; preds = %84
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = load double, ptr %88, align 8, !tbaa !9
  %90 = fcmp olt double %89, 0.000000e+00
  %91 = zext i1 %90 to i32
  store i32 %91, ptr %23, align 4, !tbaa !11
  br label %97

92:                                               ; preds = %84
  %93 = load ptr, ptr %19, align 8, !tbaa !5
  %94 = call double @N_VMin(ptr noundef %93)
  %95 = fcmp olt double %94, 0.000000e+00
  %96 = zext i1 %95 to i32
  store i32 %96, ptr %23, align 4, !tbaa !11
  br label %97

97:                                               ; preds = %92, %87
  %98 = load i32, ptr %23, align 4, !tbaa !11
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %102

100:                                              ; preds = %97
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %101, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.16)
  store i32 -22, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

102:                                              ; preds = %97
  br label %103

103:                                              ; preds = %102, %71
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct._generic_N_Vector, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !16
  %107 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %106, i32 0, i32 3
  %108 = load ptr, ptr %107, align 8, !tbaa !18
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %112

110:                                              ; preds = %103
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  call void @N_VSpace(ptr noundef %111, ptr noundef %24, ptr noundef %25)
  br label %113

112:                                              ; preds = %103
  store i64 0, ptr %24, align 8, !tbaa !20
  store i64 0, ptr %25, align 8, !tbaa !20
  br label %113

113:                                              ; preds = %112, %110
  %114 = load i64, ptr %24, align 8, !tbaa !20
  %115 = load ptr, ptr %20, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.CPodeMemRec, ptr %115, i32 0, i32 119
  store i64 %114, ptr %116, align 8, !tbaa !21
  %117 = load i64, ptr %25, align 8, !tbaa !20
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.CPodeMemRec, ptr %118, i32 0, i32 120
  store i64 %117, ptr %119, align 8, !tbaa !22
  %120 = load ptr, ptr %20, align 8, !tbaa !5
  %121 = load ptr, ptr %15, align 8, !tbaa !5
  %122 = load i32, ptr %17, align 4, !tbaa !11
  %123 = call i32 @cpAllocVectors(ptr noundef %120, ptr noundef %121, i32 noundef %122)
  store i32 %123, ptr %22, align 4, !tbaa !11
  %124 = load i32, ptr %22, align 4, !tbaa !11
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %128, label %126

126:                                              ; preds = %113
  %127 = load ptr, ptr %20, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %127, i32 noundef -20, ptr noundef @.str, ptr noundef @.str.7, ptr noundef @.str.17)
  store i32 -20, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

128:                                              ; preds = %113
  %129 = load i32, ptr %17, align 4, !tbaa !11
  %130 = load ptr, ptr %20, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.CPodeMemRec, ptr %130, i32 0, i32 7
  store i32 %129, ptr %131, align 8, !tbaa !23
  %132 = load double, ptr %18, align 8, !tbaa !9
  %133 = load ptr, ptr %20, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.CPodeMemRec, ptr %133, i32 0, i32 8
  store double %132, ptr %134, align 8, !tbaa !24
  %135 = load i32, ptr %17, align 4, !tbaa !11
  %136 = icmp eq i32 %135, 1
  br i1 %136, label %137, label %142

137:                                              ; preds = %128
  %138 = load ptr, ptr %19, align 8, !tbaa !5
  %139 = load double, ptr %138, align 8, !tbaa !9
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.CPodeMemRec, ptr %140, i32 0, i32 9
  store double %139, ptr %141, align 8, !tbaa !25
  br label %151

142:                                              ; preds = %128
  %143 = load i32, ptr %17, align 4, !tbaa !11
  %144 = icmp eq i32 %143, 2
  br i1 %144, label %145, label %150

145:                                              ; preds = %142
  %146 = load ptr, ptr %19, align 8, !tbaa !5
  %147 = load ptr, ptr %20, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.CPodeMemRec, ptr %147, i32 0, i32 10
  %149 = load ptr, ptr %148, align 8, !tbaa !26
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %146, ptr noundef %149)
  br label %150

150:                                              ; preds = %145, %142
  br label %151

151:                                              ; preds = %150, %137
  %152 = load ptr, ptr %20, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.CPodeMemRec, ptr %152, i32 0, i32 1
  %154 = load i32, ptr %153, align 8, !tbaa !13
  %155 = icmp eq i32 %154, 1
  br i1 %155, label %156, label %160

156:                                              ; preds = %151
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.CPodeMemRec, ptr %158, i32 0, i32 3
  store ptr %157, ptr %159, align 8, !tbaa !27
  br label %164

160:                                              ; preds = %151
  %161 = load ptr, ptr %12, align 8, !tbaa !5
  %162 = load ptr, ptr %20, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.CPodeMemRec, ptr %162, i32 0, i32 2
  store ptr %161, ptr %163, align 8, !tbaa !28
  br label %164

164:                                              ; preds = %160, %156
  %165 = load ptr, ptr %13, align 8, !tbaa !5
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.CPodeMemRec, ptr %166, i32 0, i32 4
  store ptr %165, ptr %167, align 8, !tbaa !29
  %168 = load double, ptr %14, align 8, !tbaa !9
  %169 = load ptr, ptr %20, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.CPodeMemRec, ptr %169, i32 0, i32 31
  store double %168, ptr %170, align 8, !tbaa !30
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.CPodeMemRec, ptr %171, i32 0, i32 20
  store i32 1, ptr %172, align 8, !tbaa !31
  %173 = load ptr, ptr %20, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.CPodeMemRec, ptr %173, i32 0, i32 24
  store i32 2, ptr %174, align 8, !tbaa !32
  %175 = load ptr, ptr %20, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.CPodeMemRec, ptr %175, i32 0, i32 24
  %177 = load i32, ptr %176, align 8, !tbaa !32
  %178 = load ptr, ptr %20, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.CPodeMemRec, ptr %178, i32 0, i32 23
  store i32 %177, ptr %179, align 4, !tbaa !33
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.CPodeMemRec, ptr %180, i32 0, i32 108
  store double 1.000000e+04, ptr %181, align 8, !tbaa !34
  %182 = load ptr, ptr %20, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.CPodeMemRec, ptr %182, i32 0, i32 138
  store i32 0, ptr %183, align 4, !tbaa !35
  %184 = load ptr, ptr %20, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.CPodeMemRec, ptr %184, i32 0, i32 141
  store double 0.000000e+00, ptr %185, align 8, !tbaa !36
  %186 = load ptr, ptr %20, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.CPodeMemRec, ptr %186, i32 0, i32 144
  store double 1.000000e+00, ptr %187, align 8, !tbaa !37
  %188 = load ptr, ptr %15, align 8, !tbaa !5
  %189 = load ptr, ptr %20, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.CPodeMemRec, ptr %189, i32 0, i32 13
  %191 = getelementptr inbounds [13 x ptr], ptr %190, i64 0, i64 0
  %192 = load ptr, ptr %191, align 8, !tbaa !5
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %188, ptr noundef %192)
  %193 = load ptr, ptr %20, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.CPodeMemRec, ptr %193, i32 0, i32 1
  %195 = load i32, ptr %194, align 8, !tbaa !13
  %196 = icmp eq i32 %195, 2
  br i1 %196, label %197, label %203

197:                                              ; preds = %164
  %198 = load ptr, ptr %16, align 8, !tbaa !5
  %199 = load ptr, ptr %20, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.CPodeMemRec, ptr %199, i32 0, i32 13
  %201 = getelementptr inbounds [13 x ptr], ptr %200, i64 0, i64 1
  %202 = load ptr, ptr %201, align 8, !tbaa !5
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %198, ptr noundef %202)
  br label %203

203:                                              ; preds = %197, %164
  %204 = load ptr, ptr %20, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.CPodeMemRec, ptr %204, i32 0, i32 109
  store i64 0, ptr %205, align 8, !tbaa !38
  %206 = load ptr, ptr %20, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.CPodeMemRec, ptr %206, i32 0, i32 110
  store i64 0, ptr %207, align 8, !tbaa !39
  %208 = load ptr, ptr %20, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.CPodeMemRec, ptr %208, i32 0, i32 111
  store i64 0, ptr %209, align 8, !tbaa !40
  %210 = load ptr, ptr %20, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.CPodeMemRec, ptr %210, i32 0, i32 112
  store i64 0, ptr %211, align 8, !tbaa !41
  %212 = load ptr, ptr %20, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.CPodeMemRec, ptr %212, i32 0, i32 113
  store i64 0, ptr %213, align 8, !tbaa !42
  %214 = load ptr, ptr %20, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.CPodeMemRec, ptr %214, i32 0, i32 114
  store i64 0, ptr %215, align 8, !tbaa !43
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.CPodeMemRec, ptr %216, i32 0, i32 115
  store i32 0, ptr %217, align 8, !tbaa !44
  %218 = load ptr, ptr %20, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.CPodeMemRec, ptr %218, i32 0, i32 139
  store i64 0, ptr %219, align 8, !tbaa !45
  %220 = load ptr, ptr %20, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.CPodeMemRec, ptr %220, i32 0, i32 156
  store i32 0, ptr %221, align 8, !tbaa !46
  %222 = load ptr, ptr %20, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.CPodeMemRec, ptr %222, i32 0, i32 174
  store i64 0, ptr %223, align 8, !tbaa !47
  %224 = load ptr, ptr %20, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.CPodeMemRec, ptr %224, i32 0, i32 173
  store i32 0, ptr %225, align 4, !tbaa !48
  %226 = load ptr, ptr %20, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.CPodeMemRec, ptr %226, i32 0, i32 71
  store i64 0, ptr %227, align 8, !tbaa !49
  %228 = load ptr, ptr %20, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.CPodeMemRec, ptr %228, i32 0, i32 72
  store i64 0, ptr %229, align 8, !tbaa !50
  %230 = load ptr, ptr %20, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.CPodeMemRec, ptr %230, i32 0, i32 73
  store i64 0, ptr %231, align 8, !tbaa !51
  %232 = load ptr, ptr %20, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.CPodeMemRec, ptr %232, i32 0, i32 49
  store i64 0, ptr %233, align 8, !tbaa !52
  %234 = load ptr, ptr %20, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.CPodeMemRec, ptr %234, i32 0, i32 74
  store i64 0, ptr %235, align 8, !tbaa !53
  %236 = load ptr, ptr %20, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.CPodeMemRec, ptr %236, i32 0, i32 70
  store i32 1, ptr %237, align 8, !tbaa !54
  %238 = load ptr, ptr %20, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.CPodeMemRec, ptr %238, i32 0, i32 140
  store double 0.000000e+00, ptr %239, align 8, !tbaa !55
  %240 = load ptr, ptr %20, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.CPodeMemRec, ptr %240, i32 0, i32 28
  store double 0.000000e+00, ptr %241, align 8, !tbaa !56
  %242 = load ptr, ptr %20, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.CPodeMemRec, ptr %242, i32 0, i32 22
  store i32 0, ptr %243, align 8, !tbaa !57
  %244 = load ptr, ptr %20, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.CPodeMemRec, ptr %244, i32 0, i32 157
  store i64 0, ptr %245, align 8, !tbaa !58
  store i32 1, ptr %26, align 4, !tbaa !11
  br label %246

246:                                              ; preds = %268, %203
  %247 = load i32, ptr %26, align 4, !tbaa !11
  %248 = icmp sle i32 %247, 5
  br i1 %248, label %249, label %271

249:                                              ; preds = %246
  store i32 1, ptr %27, align 4, !tbaa !11
  br label %250

250:                                              ; preds = %264, %249
  %251 = load i32, ptr %27, align 4, !tbaa !11
  %252 = icmp sle i32 %251, 3
  br i1 %252, label %253, label %267

253:                                              ; preds = %250
  %254 = load ptr, ptr %20, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.CPodeMemRec, ptr %254, i32 0, i32 155
  %256 = load i32, ptr %26, align 4, !tbaa !11
  %257 = sub nsw i32 %256, 1
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [6 x [4 x double]], ptr %255, i64 0, i64 %258
  %260 = load i32, ptr %27, align 4, !tbaa !11
  %261 = sub nsw i32 %260, 1
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds [4 x double], ptr %259, i64 0, i64 %262
  store double 0.000000e+00, ptr %263, align 8, !tbaa !9
  br label %264

264:                                              ; preds = %253
  %265 = load i32, ptr %27, align 4, !tbaa !11
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %27, align 4, !tbaa !11
  br label %250, !llvm.loop !59

267:                                              ; preds = %250
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %26, align 4, !tbaa !11
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %26, align 4, !tbaa !11
  br label %246, !llvm.loop !61

271:                                              ; preds = %246
  %272 = load ptr, ptr %20, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.CPodeMemRec, ptr %272, i32 0, i32 147
  store i32 1, ptr %273, align 8, !tbaa !62
  store i32 0, ptr %10, align 4
  store i32 1, ptr %28, align 4
  br label %274

274:                                              ; preds = %271, %126, %100, %82, %77, %69, %62, %51, %41, %36, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  %275 = load i32, ptr %10, align 4
  ret i32 %275
}

; Function Attrs: nounwind uwtable
declare hidden i32 @cpCheckNvector(ptr noundef) #1

declare double @N_VMin(ptr noundef) #2

declare void @N_VSpace(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @cpAllocVectors(ptr noundef, ptr noundef, i32 noundef) #1

declare void @N_VScale(double noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 8}
!14 = !{!"CPodeMemRec", !10, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !7, i64 96, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !12, i64 248, !12, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !7, i64 336, !7, i64 448, !7, i64 496, !7, i64 600, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !12, i64 760, !12, i64 764, !12, i64 768, !12, i64 772, !15, i64 776, !15, i64 784, !12, i64 792, !12, i64 796, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !10, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !15, i64 864, !15, i64 872, !10, i64 880, !12, i64 888, !12, i64 892, !12, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !12, i64 936, !15, i64 944, !15, i64 952, !15, i64 960, !15, i64 968, !12, i64 976, !12, i64 980, !6, i64 984, !6, i64 992, !12, i64 1000, !12, i64 1004, !10, i64 1008, !10, i64 1016, !6, i64 1024, !7, i64 1032, !6, i64 1136, !6, i64 1144, !6, i64 1152, !6, i64 1160, !10, i64 1168, !15, i64 1176, !15, i64 1184, !12, i64 1192, !12, i64 1196, !12, i64 1200, !15, i64 1208, !15, i64 1216, !12, i64 1224, !12, i64 1228, !10, i64 1232, !12, i64 1240, !15, i64 1248, !12, i64 1256, !12, i64 1260, !12, i64 1264, !12, i64 1268, !10, i64 1272, !10, i64 1280, !10, i64 1288, !15, i64 1296, !15, i64 1304, !15, i64 1312, !15, i64 1320, !15, i64 1328, !15, i64 1336, !12, i64 1344, !10, i64 1352, !10, i64 1360, !10, i64 1368, !15, i64 1376, !15, i64 1384, !15, i64 1392, !15, i64 1400, !15, i64 1408, !15, i64 1416, !6, i64 1424, !6, i64 1432, !6, i64 1440, !6, i64 1448, !6, i64 1456, !12, i64 1464, !6, i64 1472, !6, i64 1480, !6, i64 1488, !6, i64 1496, !6, i64 1504, !6, i64 1512, !12, i64 1520, !12, i64 1524, !15, i64 1528, !10, i64 1536, !10, i64 1544, !10, i64 1552, !12, i64 1560, !10, i64 1568, !12, i64 1576, !12, i64 1580, !12, i64 1584, !12, i64 1588, !12, i64 1592, !12, i64 1596, !6, i64 1600, !6, i64 1608, !6, i64 1616, !12, i64 1624, !7, i64 1632, !12, i64 1824, !15, i64 1832, !12, i64 1840, !6, i64 1848, !12, i64 1856, !6, i64 1864, !6, i64 1872, !6, i64 1880, !6, i64 1888, !10, i64 1896, !10, i64 1904, !10, i64 1912, !6, i64 1920, !6, i64 1928, !6, i64 1936, !10, i64 1944, !12, i64 1952, !12, i64 1956, !15, i64 1960, !10, i64 1968, !10, i64 1976, !12, i64 1984, !12, i64 1988, !6, i64 1992, !6, i64 2000}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !6, i64 8}
!17 = !{!"_generic_N_Vector", !6, i64 0, !6, i64 8}
!18 = !{!19, !6, i64 24}
!19 = !{!"_generic_N_Vector_Ops", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192}
!20 = !{!15, !15, i64 0}
!21 = !{!14, !15, i64 1376}
!22 = !{!14, !15, i64 1384}
!23 = !{!14, !12, i64 48}
!24 = !{!14, !10, i64 56}
!25 = !{!14, !10, i64 64}
!26 = !{!14, !6, i64 72}
!27 = !{!14, !6, i64 24}
!28 = !{!14, !6, i64 16}
!29 = !{!14, !6, i64 32}
!30 = !{!14, !10, i64 320}
!31 = !{!14, !12, i64 248}
!32 = !{!14, !12, i64 264}
!33 = !{!14, !12, i64 260}
!34 = !{!14, !10, i64 1288}
!35 = !{!14, !12, i64 1524}
!36 = !{!14, !10, i64 1544}
!37 = !{!14, !10, i64 1568}
!38 = !{!14, !15, i64 1296}
!39 = !{!14, !15, i64 1304}
!40 = !{!14, !15, i64 1312}
!41 = !{!14, !15, i64 1320}
!42 = !{!14, !15, i64 1328}
!43 = !{!14, !15, i64 1336}
!44 = !{!14, !12, i64 1344}
!45 = !{!14, !15, i64 1528}
!46 = !{!14, !12, i64 1824}
!47 = !{!14, !15, i64 1960}
!48 = !{!14, !12, i64 1956}
!49 = !{!14, !15, i64 944}
!50 = !{!14, !15, i64 952}
!51 = !{!14, !15, i64 960}
!52 = !{!14, !15, i64 784}
!53 = !{!14, !15, i64 968}
!54 = !{!14, !12, i64 936}
!55 = !{!14, !10, i64 1536}
!56 = !{!14, !10, i64 296}
!57 = !{!14, !12, i64 256}
!58 = !{!14, !15, i64 1832}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = distinct !{!61, !60}
!62 = !{!14, !12, i64 1584}


; 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 [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [25 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

; Function Attrs: nounwind uwtable
declare dso_local void @cpProcessError(ptr noundef, i32 noundef, ptr noundef, 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 -22, 1) i32 @CPodeInit(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, double noundef %7, ptr noundef %8) local_unnamed_addr #1 {
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %12 = icmp eq ptr %0, null
  br i1 %12, label %13, label %14

13:                                               ; preds = %9
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef null, i32 noundef -21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8)
  br label %103

14:                                               ; preds = %9
  %15 = icmp eq ptr %1, null
  br i1 %15, label %16, label %17

16:                                               ; preds = %14
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.9)
  br label %103

17:                                               ; preds = %14
  %18 = icmp eq ptr %4, null
  br i1 %18, label %19, label %20

19:                                               ; preds = %17
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.10)
  br label %103

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  %22 = load i32, ptr %21, align 8, !tbaa !5
  %23 = icmp eq i32 %22, 2
  %24 = icmp eq ptr %5, null
  %or.cond = and i1 %24, %23
  br i1 %or.cond, label %25, label %26

25:                                               ; preds = %20
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.11)
  br label %103

26:                                               ; preds = %20
  %.not = icmp eq i32 %6, 3
  %27 = add i32 %6, -4
  %or.cond5 = icmp ult i32 %27, -3
  br i1 %or.cond5, label %28, label %29

28:                                               ; preds = %26
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.12)
  br label %103

29:                                               ; preds = %26
  %30 = tail call i32 @cpCheckNvector(ptr noundef nonnull %4)
  %.not109 = icmp eq i32 %30, 0
  br i1 %.not109, label %31, label %32

31:                                               ; preds = %29
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.13)
  br label %103

32:                                               ; preds = %29
  br i1 %.not, label %47, label %33

33:                                               ; preds = %32
  %34 = icmp eq ptr %8, null
  br i1 %34, label %35, label %36

35:                                               ; preds = %33
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.14)
  br label %103

36:                                               ; preds = %33
  %37 = fcmp olt double %7, 0.000000e+00
  br i1 %37, label %38, label %39

38:                                               ; preds = %36
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.15)
  br label %103

39:                                               ; preds = %36
  %40 = icmp eq i32 %6, 1
  br i1 %40, label %41, label %43

41:                                               ; preds = %39
  %42 = load double, ptr %8, align 8, !tbaa !13
  br label %45

43:                                               ; preds = %39
  %44 = tail call double @N_VMin(ptr noundef nonnull %8) #4
  br label %45

45:                                               ; preds = %43, %41
  %.0102.in.in = phi double [ %42, %41 ], [ %44, %43 ]
  %.0102.in = fcmp olt double %.0102.in.in, 0.000000e+00
  br i1 %.0102.in, label %46, label %47

46:                                               ; preds = %45
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.16)
  br label %103

47:                                               ; preds = %45, %32
  %48 = getelementptr inbounds i8, ptr %4, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %.not110 = icmp eq ptr %51, null
  br i1 %.not110, label %53, label %52

52:                                               ; preds = %47
  call void @N_VSpace(ptr noundef nonnull %4, ptr noundef nonnull %10, ptr noundef nonnull %11) #4
  %.pre = load i64, ptr %10, align 8, !tbaa !18
  %.pre115 = load i64, ptr %11, align 8, !tbaa !18
  br label %54

53:                                               ; preds = %47
  store i64 0, ptr %10, align 8, !tbaa !18
  store i64 0, ptr %11, align 8, !tbaa !18
  br label %54

54:                                               ; preds = %53, %52
  %55 = phi i64 [ 0, %53 ], [ %.pre115, %52 ]
  %56 = phi i64 [ 0, %53 ], [ %.pre, %52 ]
  %57 = getelementptr inbounds i8, ptr %0, i64 1376
  store i64 %56, ptr %57, align 8, !tbaa !19
  %58 = getelementptr inbounds i8, ptr %0, i64 1384
  store i64 %55, ptr %58, align 8, !tbaa !20
  %59 = call i32 @cpAllocVectors(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %6)
  %.not111 = icmp eq i32 %59, 0
  br i1 %.not111, label %60, label %61

60:                                               ; preds = %54
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.17)
  br label %103

61:                                               ; preds = %54
  %62 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %6, ptr %62, align 8, !tbaa !21
  %63 = getelementptr inbounds i8, ptr %0, i64 56
  store double %7, ptr %63, align 8, !tbaa !22
  switch i32 %6, label %70 [
    i32 1, label %64
    i32 2, label %67
  ]

64:                                               ; preds = %61
  %65 = load double, ptr %8, align 8, !tbaa !13
  %66 = getelementptr inbounds i8, ptr %0, i64 64
  store double %65, ptr %66, align 8, !tbaa !23
  br label %70

67:                                               ; preds = %61
  %68 = getelementptr inbounds i8, ptr %0, i64 72
  %69 = load ptr, ptr %68, align 8, !tbaa !24
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %8, ptr noundef %69) #4
  br label %70

70:                                               ; preds = %61, %67, %64
  %71 = load i32, ptr %21, align 8, !tbaa !5
  %72 = icmp eq i32 %71, 1
  %. = select i1 %72, i64 24, i64 16
  %73 = getelementptr inbounds i8, ptr %0, i64 %.
  store ptr %1, ptr %73, align 8, !tbaa !25
  %74 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %2, ptr %74, align 8, !tbaa !26
  %75 = getelementptr inbounds i8, ptr %0, i64 320
  store double %3, ptr %75, align 8, !tbaa !27
  %76 = getelementptr inbounds i8, ptr %0, i64 248
  store i32 1, ptr %76, align 8, !tbaa !28
  %77 = getelementptr inbounds i8, ptr %0, i64 264
  store i32 2, ptr %77, align 8, !tbaa !29
  %78 = getelementptr inbounds i8, ptr %0, i64 260
  store i32 2, ptr %78, align 4, !tbaa !30
  %79 = getelementptr inbounds i8, ptr %0, i64 1288
  store double 1.000000e+04, ptr %79, align 8, !tbaa !31
  %80 = getelementptr inbounds i8, ptr %0, i64 1524
  store i32 0, ptr %80, align 4, !tbaa !32
  %81 = getelementptr inbounds i8, ptr %0, i64 1544
  store double 0.000000e+00, ptr %81, align 8, !tbaa !33
  %82 = getelementptr inbounds i8, ptr %0, i64 1568
  store double 1.000000e+00, ptr %82, align 8, !tbaa !34
  %83 = getelementptr inbounds i8, ptr %0, i64 96
  %84 = load ptr, ptr %83, align 8, !tbaa !25
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef nonnull %4, ptr noundef %84) #4
  %85 = load i32, ptr %21, align 8, !tbaa !5
  %86 = icmp eq i32 %85, 2
  br i1 %86, label %87, label %.preheader

87:                                               ; preds = %70
  %88 = getelementptr inbounds i8, ptr %0, i64 104
  %89 = load ptr, ptr %88, align 8, !tbaa !25
  call void @N_VScale(double noundef 1.000000e+00, ptr noundef %5, ptr noundef %89) #4
  br label %.preheader

.preheader:                                       ; preds = %87, %70
  %90 = getelementptr inbounds i8, ptr %0, i64 1296
  %91 = getelementptr inbounds i8, ptr %0, i64 1528
  store i64 0, ptr %91, align 8, !tbaa !35
  %92 = getelementptr inbounds i8, ptr %0, i64 1824
  store i32 0, ptr %92, align 8, !tbaa !36
  %93 = getelementptr inbounds i8, ptr %0, i64 1960
  store i64 0, ptr %93, align 8, !tbaa !37
  %94 = getelementptr inbounds i8, ptr %0, i64 1956
  store i32 0, ptr %94, align 4, !tbaa !38
  %95 = getelementptr inbounds i8, ptr %0, i64 944
  %96 = getelementptr inbounds i8, ptr %0, i64 784
  store i64 0, ptr %96, align 8, !tbaa !39
  %97 = getelementptr inbounds i8, ptr %0, i64 936
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %95, i8 0, i64 32, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(52) %90, i8 0, i64 52, i1 false)
  store i32 1, ptr %97, align 8, !tbaa !40
  %98 = getelementptr inbounds i8, ptr %0, i64 1536
  store double 0.000000e+00, ptr %98, align 8, !tbaa !41
  %99 = getelementptr inbounds i8, ptr %0, i64 296
  store double 0.000000e+00, ptr %99, align 8, !tbaa !42
  %100 = getelementptr inbounds i8, ptr %0, i64 256
  store i32 0, ptr %100, align 8, !tbaa !43
  %101 = getelementptr inbounds i8, ptr %0, i64 1832
  store i64 0, ptr %101, align 8, !tbaa !44
  %scevgep = getelementptr i8, ptr %0, i64 1632
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %scevgep, i8 0, i64 24, i1 false), !tbaa !13
  %scevgep.1 = getelementptr i8, ptr %0, i64 1664
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %scevgep.1, i8 0, i64 24, i1 false), !tbaa !13
  %scevgep.2 = getelementptr i8, ptr %0, i64 1696
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %scevgep.2, i8 0, i64 24, i1 false), !tbaa !13
  %scevgep.3 = getelementptr i8, ptr %0, i64 1728
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %scevgep.3, i8 0, i64 24, i1 false), !tbaa !13
  %scevgep.4 = getelementptr i8, ptr %0, i64 1760
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %scevgep.4, i8 0, i64 24, i1 false), !tbaa !13
  %102 = getelementptr inbounds i8, ptr %0, i64 1584
  store i32 1, ptr %102, align 8, !tbaa !45
  br label %103

103:                                              ; preds = %.preheader, %60, %46, %38, %35, %31, %28, %25, %19, %16, %13
  %.0103 = phi i32 [ -21, %13 ], [ -22, %16 ], [ -22, %19 ], [ -22, %25 ], [ -22, %28 ], [ -22, %35 ], [ -22, %38 ], [ -22, %46 ], [ 0, %.preheader ], [ -20, %60 ], [ -22, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  ret i32 %.0103
}

; Function Attrs: nounwind uwtable
declare hidden i32 @cpCheckNvector(ptr noundef) local_unnamed_addr #1

declare double @N_VMin(ptr noundef) local_unnamed_addr #2

declare void @N_VSpace(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden i32 @cpAllocVectors(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @N_VScale(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !10, i64 8}
!6 = !{!"CPodeMemRec", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !8, i64 96, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !8, i64 336, !8, i64 448, !8, i64 496, !8, i64 600, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !10, i64 760, !10, i64 764, !10, i64 768, !10, i64 772, !12, i64 776, !12, i64 784, !10, i64 792, !10, i64 796, !11, i64 800, !11, i64 808, !11, i64 816, !11, i64 824, !7, i64 832, !11, i64 840, !11, i64 848, !11, i64 856, !12, i64 864, !12, i64 872, !7, i64 880, !10, i64 888, !10, i64 892, !10, i64 896, !11, i64 904, !11, i64 912, !11, i64 920, !11, i64 928, !10, i64 936, !12, i64 944, !12, i64 952, !12, i64 960, !12, i64 968, !10, i64 976, !10, i64 980, !11, i64 984, !11, i64 992, !10, i64 1000, !10, i64 1004, !7, i64 1008, !7, i64 1016, !11, i64 1024, !8, i64 1032, !11, i64 1136, !11, i64 1144, !11, i64 1152, !11, i64 1160, !7, i64 1168, !12, i64 1176, !12, i64 1184, !10, i64 1192, !10, i64 1196, !10, i64 1200, !12, i64 1208, !12, i64 1216, !10, i64 1224, !10, i64 1228, !7, i64 1232, !10, i64 1240, !12, i64 1248, !10, i64 1256, !10, i64 1260, !10, i64 1264, !10, i64 1268, !7, i64 1272, !7, i64 1280, !7, i64 1288, !12, i64 1296, !12, i64 1304, !12, i64 1312, !12, i64 1320, !12, i64 1328, !12, i64 1336, !10, i64 1344, !7, i64 1352, !7, i64 1360, !7, i64 1368, !12, i64 1376, !12, i64 1384, !12, i64 1392, !12, i64 1400, !12, i64 1408, !12, i64 1416, !11, i64 1424, !11, i64 1432, !11, i64 1440, !11, i64 1448, !11, i64 1456, !10, i64 1464, !11, i64 1472, !11, i64 1480, !11, i64 1488, !11, i64 1496, !11, i64 1504, !11, i64 1512, !10, i64 1520, !10, i64 1524, !12, i64 1528, !7, i64 1536, !7, i64 1544, !7, i64 1552, !10, i64 1560, !7, i64 1568, !10, i64 1576, !10, i64 1580, !10, i64 1584, !10, i64 1588, !10, i64 1592, !10, i64 1596, !11, i64 1600, !11, i64 1608, !11, i64 1616, !10, i64 1624, !8, i64 1632, !10, i64 1824, !12, i64 1832, !10, i64 1840, !11, i64 1848, !10, i64 1856, !11, i64 1864, !11, i64 1872, !11, i64 1880, !11, i64 1888, !7, i64 1896, !7, i64 1904, !7, i64 1912, !11, i64 1920, !11, i64 1928, !11, i64 1936, !7, i64 1944, !10, i64 1952, !10, i64 1956, !12, i64 1960, !7, i64 1968, !7, i64 1976, !10, i64 1984, !10, i64 1988, !11, i64 1992, !11, i64 2000}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !11, i64 8}
!15 = !{!"_generic_N_Vector", !11, i64 0, !11, i64 8}
!16 = !{!17, !11, i64 24}
!17 = !{!"_generic_N_Vector_Ops", !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, !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, !11, i64 176, !11, i64 184, !11, i64 192}
!18 = !{!12, !12, i64 0}
!19 = !{!6, !12, i64 1376}
!20 = !{!6, !12, i64 1384}
!21 = !{!6, !10, i64 48}
!22 = !{!6, !7, i64 56}
!23 = !{!6, !7, i64 64}
!24 = !{!6, !11, i64 72}
!25 = !{!11, !11, i64 0}
!26 = !{!6, !11, i64 32}
!27 = !{!6, !7, i64 320}
!28 = !{!6, !10, i64 248}
!29 = !{!6, !10, i64 264}
!30 = !{!6, !10, i64 260}
!31 = !{!6, !7, i64 1288}
!32 = !{!6, !10, i64 1524}
!33 = !{!6, !7, i64 1544}
!34 = !{!6, !7, i64 1568}
!35 = !{!6, !12, i64 1528}
!36 = !{!6, !10, i64 1824}
!37 = !{!6, !12, i64 1960}
!38 = !{!6, !10, i64 1956}
!39 = !{!6, !12, i64 784}
!40 = !{!6, !10, i64 936}
!41 = !{!6, !7, i64 1536}
!42 = !{!6, !7, i64 296}
!43 = !{!6, !10, i64 256}
!44 = !{!6, !12, i64 1832}
!45 = !{!6, !10, i64 1584}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass