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

; 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 }
%struct.CPSpilsMemRec = type { i32, i32, i32, double, double, double, double, i32, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @CPSpgmr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef null, i32 noundef -1, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %17, ptr %8, align 8, !tbaa !5
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.CPodeMemRec, ptr %18, i32 0, i32 18
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = getelementptr inbounds %struct._generic_N_Vector, ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  %23 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %22, i32 0, i32 14
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = icmp eq ptr %24, null
  br i1 %25, label %26, label %28

26:                                               ; preds = %16
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %27, i32 noundef -3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3)
  store i32 -3, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

28:                                               ; preds = %16
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.CPodeMemRec, ptr %29, i32 0, i32 128
  %31 = load ptr, ptr %30, align 8, !tbaa !19
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %38

33:                                               ; preds = %28
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.CPodeMemRec, ptr %34, i32 0, i32 128
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  call void %36(ptr noundef %37)
  br label %38

38:                                               ; preds = %33, %28
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.CPodeMemRec, ptr %39, i32 0, i32 125
  store ptr @cpSpgmrInit, ptr %40, align 8, !tbaa !20
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.CPodeMemRec, ptr %41, i32 0, i32 126
  store ptr @cpSpgmrSetup, ptr %42, align 8, !tbaa !21
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.CPodeMemRec, ptr %43, i32 0, i32 127
  store ptr @cpSpgmrSolve, ptr %44, align 8, !tbaa !22
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.CPodeMemRec, ptr %45, i32 0, i32 128
  store ptr @cpSpgmrFree, ptr %46, align 8, !tbaa !19
  store ptr null, ptr %9, align 8, !tbaa !5
  %47 = call noalias ptr @malloc(i64 noundef 240) #6
  store ptr %47, ptr %9, align 8, !tbaa !5
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %52

50:                                               ; preds = %38
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %51, i32 noundef -4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  store i32 -4, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

52:                                               ; preds = %38
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %53, i32 0, i32 0
  store i32 1, ptr %54, align 8, !tbaa !23
  %55 = load i32, ptr %6, align 4, !tbaa !9
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %56, i32 0, i32 1
  store i32 %55, ptr %57, align 4, !tbaa !25
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = icmp sle i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %52
  br label %63

61:                                               ; preds = %52
  %62 = load i32, ptr %7, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %61, %60
  %64 = phi i32 [ 5, %60 ], [ %62, %61 ]
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %65, i32 0, i32 7
  store i32 %64, ptr %66, align 8, !tbaa !26
  store i32 %64, ptr %11, align 4, !tbaa !9
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %67, i32 0, i32 2
  store i32 1, ptr %68, align 8, !tbaa !27
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %69, i32 0, i32 4
  store double 5.000000e-02, ptr %70, align 8, !tbaa !28
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %71, i32 0, i32 21
  store ptr null, ptr %72, align 8, !tbaa !29
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %73, i32 0, i32 22
  store ptr null, ptr %74, align 8, !tbaa !30
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %75, i32 0, i32 23
  store ptr null, ptr %76, align 8, !tbaa !31
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %77, i32 0, i32 24
  store ptr null, ptr %78, align 8, !tbaa !32
  %79 = load ptr, ptr %9, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %79, i32 0, i32 25
  store ptr null, ptr %80, align 8, !tbaa !33
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %81, i32 0, i32 26
  store ptr null, ptr %82, align 8, !tbaa !34
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %83, i32 0, i32 27
  store ptr null, ptr %84, align 8, !tbaa !35
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %85, i32 0, i32 28
  store ptr null, ptr %86, align 8, !tbaa !36
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %87, i32 0, i32 30
  store i32 0, ptr %88, align 8, !tbaa !37
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.CPodeMemRec, ptr %89, i32 0, i32 130
  store i32 0, ptr %90, align 8, !tbaa !38
  %91 = load i32, ptr %6, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %105

93:                                               ; preds = %63
  %94 = load i32, ptr %6, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 1
  br i1 %95, label %96, label %105

96:                                               ; preds = %93
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 2
  br i1 %98, label %99, label %105

99:                                               ; preds = %96
  %100 = load i32, ptr %6, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 3
  br i1 %101, label %102, label %105

102:                                              ; preds = %99
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %103, i32 noundef -3, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.5)
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %104) #5
  store i32 -3, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

105:                                              ; preds = %99, %96, %93, %63
  store ptr null, ptr %10, align 8, !tbaa !5
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %106, i32 0, i32 15
  store ptr null, ptr %107, align 8, !tbaa !39
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %108, i32 0, i32 16
  store ptr null, ptr %109, align 8, !tbaa !40
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %110, i32 0, i32 17
  store ptr null, ptr %111, align 8, !tbaa !41
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = load ptr, ptr %8, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.CPodeMemRec, ptr %113, i32 0, i32 18
  %115 = load ptr, ptr %114, align 8, !tbaa !11
  %116 = call ptr @SpgmrMalloc(i32 noundef %112, ptr noundef %115)
  store ptr %116, ptr %10, align 8, !tbaa !5
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = icmp eq ptr %117, null
  br i1 %118, label %119, label %122

119:                                              ; preds = %105
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %120, i32 noundef -4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %121) #5
  store i32 -4, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

122:                                              ; preds = %105
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.CPodeMemRec, ptr %123, i32 0, i32 18
  %125 = load ptr, ptr %124, align 8, !tbaa !11
  %126 = call ptr @N_VClone(ptr noundef %125)
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %127, i32 0, i32 17
  store ptr %126, ptr %128, align 8, !tbaa !41
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %129, i32 0, i32 17
  %131 = load ptr, ptr %130, align 8, !tbaa !41
  %132 = icmp eq ptr %131, null
  br i1 %132, label %133, label %137

133:                                              ; preds = %122
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %134, i32 noundef -4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  call void @SpgmrFree(ptr noundef %135)
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %136) #5
  store i32 -4, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

137:                                              ; preds = %122
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.CPodeMemRec, ptr %138, i32 0, i32 18
  %140 = load ptr, ptr %139, align 8, !tbaa !11
  %141 = call ptr @N_VClone(ptr noundef %140)
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %142, i32 0, i32 15
  store ptr %141, ptr %143, align 8, !tbaa !39
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %144, i32 0, i32 15
  %146 = load ptr, ptr %145, align 8, !tbaa !39
  %147 = icmp eq ptr %146, null
  br i1 %147, label %148, label %155

148:                                              ; preds = %137
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %149, i32 noundef -4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  call void @SpgmrFree(ptr noundef %150)
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %151, i32 0, i32 17
  %153 = load ptr, ptr %152, align 8, !tbaa !41
  call void @N_VDestroy(ptr noundef %153)
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %154) #5
  store i32 -4, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

155:                                              ; preds = %137
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.CPodeMemRec, ptr %156, i32 0, i32 1
  %158 = load i32, ptr %157, align 8, !tbaa !42
  %159 = icmp eq i32 %158, 2
  br i1 %159, label %160, label %182

160:                                              ; preds = %155
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.CPodeMemRec, ptr %161, i32 0, i32 18
  %163 = load ptr, ptr %162, align 8, !tbaa !11
  %164 = call ptr @N_VClone(ptr noundef %163)
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %165, i32 0, i32 16
  store ptr %164, ptr %166, align 8, !tbaa !40
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %167, i32 0, i32 16
  %169 = load ptr, ptr %168, align 8, !tbaa !40
  %170 = icmp eq ptr %169, null
  br i1 %170, label %171, label %181

171:                                              ; preds = %160
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef %172, i32 noundef -4, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  %173 = load ptr, ptr %10, align 8, !tbaa !5
  call void @SpgmrFree(ptr noundef %173)
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %174, i32 0, i32 17
  %176 = load ptr, ptr %175, align 8, !tbaa !41
  call void @N_VDestroy(ptr noundef %176)
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %177, i32 0, i32 15
  %179 = load ptr, ptr %178, align 8, !tbaa !39
  call void @N_VDestroy(ptr noundef %179)
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %180) #5
  store i32 -4, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

181:                                              ; preds = %160
  br label %182

182:                                              ; preds = %181, %155
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %183, i32 0, i32 15
  %185 = load ptr, ptr %184, align 8, !tbaa !39
  call void @N_VConst(double noundef 1.000000e+00, ptr noundef %185)
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %186, i32 0, i32 15
  %188 = load ptr, ptr %187, align 8, !tbaa !39
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %189, i32 0, i32 15
  %191 = load ptr, ptr %190, align 8, !tbaa !39
  %192 = call double @N_VDotProd(ptr noundef %188, ptr noundef %191)
  %193 = call double @RSqrt(double noundef %192)
  %194 = load ptr, ptr %9, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %194, i32 0, i32 3
  store double %193, ptr %195, align 8, !tbaa !43
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.CPSpilsMemRec, ptr %197, i32 0, i32 29
  store ptr %196, ptr %198, align 8, !tbaa !44
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.CPodeMemRec, ptr %200, i32 0, i32 129
  store ptr %199, ptr %201, align 8, !tbaa !45
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %202

202:                                              ; preds = %182, %171, %148, %133, %119, %102, %50, %26, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %203 = load i32, ptr %4, align 4
  ret i32 %203
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare void @cpProcessError(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @cpSpgmrInit(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare hidden void @cpSpgmrFree(ptr noundef) #0

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

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

declare ptr @SpgmrMalloc(i32 noundef, ptr noundef) #2

declare ptr @N_VClone(ptr noundef) #2

declare void @SpgmrFree(ptr noundef) #2

declare void @N_VDestroy(ptr noundef) #2

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

declare double @RSqrt(double noundef) #2

declare double @N_VDotProd(ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

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


; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [93 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -4, 1) i32 @CPSpgmr(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = icmp eq ptr %0, null
  br i1 %4, label %5, label %6

5:                                                ; preds = %3
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef null, i32 noundef -1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #5
  br label %70

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %0, i64 232
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %10, i64 112
  %12 = load ptr, ptr %11, align 8, !tbaa !15
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %15

14:                                               ; preds = %6
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.3) #5
  br label %70

15:                                               ; preds = %6
  %16 = getelementptr inbounds i8, ptr %0, i64 1448
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  %.not = icmp eq ptr %17, null
  br i1 %.not, label %19, label %18

18:                                               ; preds = %15
  tail call void %17(ptr noundef nonnull %0) #5
  br label %19

19:                                               ; preds = %18, %15
  %20 = getelementptr inbounds i8, ptr %0, i64 1424
  store ptr @cpSpgmrInit, ptr %20, align 8, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %0, i64 1432
  store ptr @cpSpgmrSetup, ptr %21, align 8, !tbaa !19
  %22 = getelementptr inbounds i8, ptr %0, i64 1440
  store ptr @cpSpgmrSolve, ptr %22, align 8, !tbaa !20
  store ptr @cpSpgmrFree, ptr %16, align 8, !tbaa !17
  %23 = tail call noalias dereferenceable_or_null(240) ptr @malloc(i64 noundef 240) #6
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %19
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #5
  br label %70

26:                                               ; preds = %19
  store i32 1, ptr %23, align 8, !tbaa !21
  %27 = getelementptr inbounds i8, ptr %23, i64 4
  store i32 %1, ptr %27, align 4, !tbaa !23
  %28 = icmp slt i32 %2, 1
  %29 = select i1 %28, i32 5, i32 %2
  %30 = getelementptr inbounds i8, ptr %23, i64 48
  store i32 %29, ptr %30, align 8, !tbaa !24
  %31 = getelementptr inbounds i8, ptr %23, i64 8
  store i32 1, ptr %31, align 8, !tbaa !25
  %32 = getelementptr inbounds i8, ptr %23, i64 24
  store double 5.000000e-02, ptr %32, align 8, !tbaa !26
  %33 = getelementptr inbounds i8, ptr %23, i64 160
  %34 = getelementptr inbounds i8, ptr %23, i64 232
  store i32 0, ptr %34, align 8, !tbaa !27
  %35 = getelementptr inbounds i8, ptr %0, i64 1464
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %33, i8 0, i64 64, i1 false)
  store i32 0, ptr %35, align 8, !tbaa !28
  %or.cond5 = icmp ugt i32 %1, 3
  br i1 %or.cond5, label %36, label %37

36:                                               ; preds = %26
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.5) #5
  tail call void @free(ptr noundef nonnull %23) #5
  br label %70

37:                                               ; preds = %26
  %38 = getelementptr inbounds i8, ptr %23, i64 112
  %39 = getelementptr inbounds i8, ptr %23, i64 120
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %38, i8 0, i64 24, i1 false)
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = tail call ptr @SpgmrMalloc(i32 noundef %29, ptr noundef %40) #5
  %42 = icmp eq ptr %41, null
  br i1 %42, label %43, label %44

43:                                               ; preds = %37
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #5
  tail call void @free(ptr noundef nonnull %23) #5
  br label %70

44:                                               ; preds = %37
  %45 = getelementptr inbounds i8, ptr %23, i64 128
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = tail call ptr @N_VClone(ptr noundef %46) #5
  store ptr %47, ptr %45, align 8, !tbaa !29
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %50

49:                                               ; preds = %44
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #5
  tail call void @SpgmrFree(ptr noundef nonnull %41) #5
  tail call void @free(ptr noundef nonnull %23) #5
  br label %70

50:                                               ; preds = %44
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = tail call ptr @N_VClone(ptr noundef %51) #5
  store ptr %52, ptr %38, align 8, !tbaa !30
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %55

54:                                               ; preds = %50
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #5
  tail call void @SpgmrFree(ptr noundef nonnull %41) #5
  tail call void @N_VDestroy(ptr noundef nonnull %47) #5
  tail call void @free(ptr noundef nonnull %23) #5
  br label %70

55:                                               ; preds = %50
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = load i32, ptr %56, align 8, !tbaa !31
  %58 = icmp eq i32 %57, 2
  br i1 %58, label %59, label %64

59:                                               ; preds = %55
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = tail call ptr @N_VClone(ptr noundef %60) #5
  store ptr %61, ptr %39, align 8, !tbaa !32
  %62 = icmp eq ptr %61, null
  br i1 %62, label %63, label %64

63:                                               ; preds = %59
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cpProcessError(ptr noundef nonnull %0, i32 noundef -4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #5
  tail call void @SpgmrFree(ptr noundef nonnull %41) #5
  tail call void @N_VDestroy(ptr noundef nonnull %47) #5
  tail call void @N_VDestroy(ptr noundef nonnull %52) #5
  tail call void @free(ptr noundef nonnull %23) #5
  br label %70

64:                                               ; preds = %59, %55
  tail call void @N_VConst(double noundef 1.000000e+00, ptr noundef nonnull %52) #5
  %65 = tail call double @N_VDotProd(ptr noundef nonnull %52, ptr noundef nonnull %52) #5
  %66 = tail call double @RSqrt(double noundef %65) #5
  %67 = getelementptr inbounds i8, ptr %23, i64 16
  store double %66, ptr %67, align 8, !tbaa !33
  %68 = getelementptr inbounds i8, ptr %23, i64 224
  store ptr %41, ptr %68, align 8, !tbaa !34
  %69 = getelementptr inbounds i8, ptr %0, i64 1456
  store ptr %23, ptr %69, align 8, !tbaa !35
  br label %70

70:                                               ; preds = %64, %63, %54, %49, %43, %36, %25, %14, %5
  %.0 = phi i32 [ -1, %5 ], [ -3, %14 ], [ -4, %25 ], [ -3, %36 ], [ -4, %43 ], [ -4, %49 ], [ -4, %54 ], [ -4, %63 ], [ 0, %64 ]
  ret i32 %.0
}

declare void @cpProcessError(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @cpSpgmrInit(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare hidden void @cpSpgmrFree(ptr noundef) #0

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

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

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

declare ptr @N_VClone(ptr noundef) local_unnamed_addr #1

declare void @SpgmrFree(ptr noundef) local_unnamed_addr #1

declare void @N_VDestroy(ptr noundef) local_unnamed_addr #1

declare void @N_VConst(double noundef, ptr noundef) local_unnamed_addr #1

declare double @RSqrt(double noundef) local_unnamed_addr #1

declare double @N_VDotProd(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 232}
!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 = !{!14, !11, i64 8}
!14 = !{!"_generic_N_Vector", !11, i64 0, !11, i64 8}
!15 = !{!16, !11, i64 112}
!16 = !{!"_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}
!17 = !{!6, !11, i64 1448}
!18 = !{!6, !11, i64 1424}
!19 = !{!6, !11, i64 1432}
!20 = !{!6, !11, i64 1440}
!21 = !{!22, !10, i64 0}
!22 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, 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, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !10, i64 232}
!23 = !{!22, !10, i64 4}
!24 = !{!22, !10, i64 48}
!25 = !{!22, !10, i64 8}
!26 = !{!22, !7, i64 24}
!27 = !{!22, !10, i64 232}
!28 = !{!6, !10, i64 1464}
!29 = !{!22, !11, i64 128}
!30 = !{!22, !11, i64 112}
!31 = !{!6, !10, i64 8}
!32 = !{!22, !11, i64 120}
!33 = !{!22, !7, i64 16}
!34 = !{!22, !11, i64 224}
!35 = !{!6, !11, i64 1456}


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