; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/cvodes (cvodea)

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

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @CVodeAdjInit(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !11
  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 8, 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, ...) @cvProcessError(ptr noundef null, i32 noundef -21, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
  store i32 -21, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

16:                                               ; preds = %3
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %17, ptr %9, align 8, !tbaa !5
  %18 = load i64, ptr %6, align 8, !tbaa !9
  %19 = icmp sle i64 %18, 0
  br i1 %19, label %20, label %22

20:                                               ; preds = %16
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef %21, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.3)
  store i32 -22, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

22:                                               ; preds = %16
  %23 = load i32, ptr %7, align 4, !tbaa !11
  %24 = icmp ne i32 %23, 1
  br i1 %24, label %25, label %30

25:                                               ; preds = %22
  %26 = load i32, ptr %7, align 4, !tbaa !11
  %27 = icmp ne i32 %26, 2
  br i1 %27, label %28, label %30

28:                                               ; preds = %25
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef %29, i32 noundef -22, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.4)
  store i32 -22, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

30:                                               ; preds = %25, %22
  store ptr null, ptr %8, align 8, !tbaa !5
  %31 = call noalias ptr @malloc(i64 noundef 520) #6
  store ptr %31, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = icmp eq ptr %32, null
  br i1 %33, label %34, label %36

34:                                               ; preds = %30
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef %35, i32 noundef -20, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.5)
  store i32 -20, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

36:                                               ; preds = %30
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.CVodeMemRec, ptr %38, i32 0, i32 231
  store ptr %37, ptr %39, align 8, !tbaa !13
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.CVadjMemRec, ptr %40, i32 0, i32 11
  store ptr null, ptr %41, align 8, !tbaa !16
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.CVadjMemRec, ptr %42, i32 0, i32 12
  store i32 0, ptr %43, align 8, !tbaa !18
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.CVadjMemRec, ptr %44, i32 0, i32 13
  store ptr null, ptr %45, align 8, !tbaa !19
  %46 = load i32, ptr %7, align 4, !tbaa !11
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.CVadjMemRec, ptr %47, i32 0, i32 18
  store i32 %46, ptr %48, align 8, !tbaa !20
  %49 = load i64, ptr %6, align 8, !tbaa !9
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.CVadjMemRec, ptr %50, i32 0, i32 14
  store i64 %49, ptr %51, align 8, !tbaa !21
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.CVadjMemRec, ptr %52, i32 0, i32 15
  store i64 -1, ptr %53, align 8, !tbaa !22
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.CVadjMemRec, ptr %54, i32 0, i32 16
  store ptr null, ptr %55, align 8, !tbaa !23
  %56 = load i64, ptr %6, align 8, !tbaa !9
  %57 = add nsw i64 %56, 1
  %58 = mul i64 %57, 8
  %59 = call noalias ptr @malloc(i64 noundef %58) #6
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.CVadjMemRec, ptr %60, i32 0, i32 16
  store ptr %59, ptr %61, align 8, !tbaa !23
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.CVadjMemRec, ptr %62, i32 0, i32 16
  %64 = load ptr, ptr %63, align 8, !tbaa !23
  %65 = icmp eq ptr %64, null
  br i1 %65, label %66, label %69

66:                                               ; preds = %36
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %67) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef %68, i32 noundef -20, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.5)
  store i32 -20, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

69:                                               ; preds = %36
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %122, %69
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = load i64, ptr %6, align 8, !tbaa !9
  %73 = icmp sle i64 %71, %72
  br i1 %73, label %74, label %125

74:                                               ; preds = %70
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.CVadjMemRec, ptr %75, i32 0, i32 16
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = load i64, ptr %10, align 8, !tbaa !9
  %79 = getelementptr inbounds ptr, ptr %77, i64 %78
  store ptr null, ptr %79, align 8, !tbaa !5
  %80 = call noalias ptr @malloc(i64 noundef 16) #6
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.CVadjMemRec, ptr %81, i32 0, i32 16
  %83 = load ptr, ptr %82, align 8, !tbaa !23
  %84 = load i64, ptr %10, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %83, i64 %84
  store ptr %80, ptr %85, align 8, !tbaa !5
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.CVadjMemRec, ptr %86, i32 0, i32 16
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = load i64, ptr %10, align 8, !tbaa !9
  %90 = getelementptr inbounds ptr, ptr %88, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = icmp eq ptr %91, null
  br i1 %92, label %93, label %121

93:                                               ; preds = %74
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %94

94:                                               ; preds = %110, %93
  %95 = load i64, ptr %11, align 8, !tbaa !9
  %96 = load i64, ptr %10, align 8, !tbaa !9
  %97 = icmp slt i64 %95, %96
  br i1 %97, label %98, label %113

98:                                               ; preds = %94
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.CVadjMemRec, ptr %99, i32 0, i32 16
  %101 = load ptr, ptr %100, align 8, !tbaa !23
  %102 = load i64, ptr %11, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %101, i64 %102
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  call void @free(ptr noundef %104) #5
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.CVadjMemRec, ptr %105, i32 0, i32 16
  %107 = load ptr, ptr %106, align 8, !tbaa !23
  %108 = load i64, ptr %11, align 8, !tbaa !9
  %109 = getelementptr inbounds ptr, ptr %107, i64 %108
  store ptr null, ptr %109, align 8, !tbaa !5
  br label %110

110:                                              ; preds = %98
  %111 = load i64, ptr %11, align 8, !tbaa !9
  %112 = add nsw i64 %111, 1
  store i64 %112, ptr %11, align 8, !tbaa !9
  br label %94, !llvm.loop !24

113:                                              ; preds = %94
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.CVadjMemRec, ptr %114, i32 0, i32 16
  %116 = load ptr, ptr %115, align 8, !tbaa !23
  call void @free(ptr noundef %116) #5
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.CVadjMemRec, ptr %117, i32 0, i32 16
  store ptr null, ptr %118, align 8, !tbaa !23
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  call void @free(ptr noundef %119) #5
  store ptr null, ptr %8, align 8, !tbaa !5
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef %120, i32 noundef -20, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.5)
  store i32 -20, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

121:                                              ; preds = %74
  br label %122

122:                                              ; preds = %121
  %123 = load i64, ptr %10, align 8, !tbaa !9
  %124 = add nsw i64 %123, 1
  store i64 %124, ptr %10, align 8, !tbaa !9
  br label %70, !llvm.loop !26

125:                                              ; preds = %70
  %126 = load i32, ptr %7, align 4, !tbaa !11
  switch i32 %126, label %145 [
    i32 1, label %127
    i32 2, label %136
  ]

127:                                              ; preds = %125
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.CVadjMemRec, ptr %128, i32 0, i32 19
  store ptr @CVAhermiteMalloc, ptr %129, align 8, !tbaa !27
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.CVadjMemRec, ptr %130, i32 0, i32 20
  store ptr @CVAhermiteFree, ptr %131, align 8, !tbaa !28
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.CVadjMemRec, ptr %132, i32 0, i32 22
  store ptr @CVAhermiteGetY, ptr %133, align 8, !tbaa !29
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.CVadjMemRec, ptr %134, i32 0, i32 21
  store ptr @CVAhermiteStorePnt, ptr %135, align 8, !tbaa !30
  br label %145

136:                                              ; preds = %125
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.CVadjMemRec, ptr %137, i32 0, i32 19
  store ptr @CVApolynomialMalloc, ptr %138, align 8, !tbaa !27
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.CVadjMemRec, ptr %139, i32 0, i32 20
  store ptr @CVApolynomialFree, ptr %140, align 8, !tbaa !28
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.CVadjMemRec, ptr %141, i32 0, i32 22
  store ptr @CVApolynomialGetY, ptr %142, align 8, !tbaa !29
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.CVadjMemRec, ptr %143, i32 0, i32 21
  store ptr @CVApolynomialStorePnt, ptr %144, align 8, !tbaa !30
  br label %145

145:                                              ; preds = %136, %127, %125
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.CVadjMemRec, ptr %146, i32 0, i32 23
  store i32 0, ptr %147, align 8, !tbaa !31
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.CVadjMemRec, ptr %148, i32 0, i32 25
  store i32 1, ptr %149, align 8, !tbaa !32
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.CVadjMemRec, ptr %150, i32 0, i32 26
  store i32 0, ptr %151, align 4, !tbaa !33
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.CVadjMemRec, ptr %152, i32 0, i32 7
  store ptr null, ptr %153, align 8, !tbaa !34
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.CVadjMemRec, ptr %154, i32 0, i32 9
  store ptr null, ptr %155, align 8, !tbaa !35
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.CVadjMemRec, ptr %156, i32 0, i32 8
  store i32 0, ptr %157, align 8, !tbaa !36
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.CVadjMemRec, ptr %158, i32 0, i32 2
  store i32 1, ptr %159, align 8, !tbaa !37
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.CVadjMemRec, ptr %160, i32 0, i32 3
  store i32 0, ptr %161, align 4, !tbaa !38
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.CVadjMemRec, ptr %162, i32 0, i32 10
  store i32 1, ptr %163, align 8, !tbaa !39
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.CVadjMemRec, ptr %164, i32 0, i32 5
  store i32 0, ptr %165, align 8, !tbaa !40
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.CVodeMemRec, ptr %166, i32 0, i32 230
  store i32 1, ptr %167, align 8, !tbaa !41
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.CVodeMemRec, ptr %168, i32 0, i32 232
  store i32 1, ptr %169, align 8, !tbaa !42
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %170

170:                                              ; preds = %145, %113, %66, %34, %28, %20, %15
  call void @llvm.lifetime.end.p0(i64 8, 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
  %171 = load i32, ptr %4, align 4
  ret i32 %171
}

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

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

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

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

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

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

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

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

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

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

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

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

; 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 2456}
!14 = !{!"CVodeMemRec", !6, i64 0, !15, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !12, i64 36, !15, i64 40, !15, i64 48, !6, i64 56, !12, i64 64, !12, i64 68, !6, i64 72, !6, i64 80, !12, i64 88, !12, i64 92, !6, i64 96, !12, i64 104, !12, i64 108, !15, i64 112, !15, i64 120, !6, i64 128, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !15, i64 216, !12, i64 224, !12, i64 228, !15, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !12, i64 264, !6, i64 272, !6, i64 280, !12, i64 288, !12, i64 292, !12, i64 296, !15, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !7, i64 336, !6, i64 440, !6, i64 448, !6, i64 456, !6, i64 464, !6, i64 472, !6, i64 480, !6, i64 488, !6, i64 496, !6, i64 504, !7, i64 512, !6, i64 616, !6, i64 624, !6, i64 632, !6, i64 640, !7, i64 648, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !12, i64 792, !7, i64 800, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !12, i64 944, !15, i64 952, !12, i64 960, !12, i64 964, !12, i64 968, !12, i64 972, !12, i64 976, !15, i64 984, !15, i64 992, !15, i64 1000, !15, i64 1008, !15, i64 1016, !15, i64 1024, !15, i64 1032, !15, i64 1040, !7, i64 1048, !7, i64 1160, !7, i64 1208, !15, i64 1312, !15, i64 1320, !15, i64 1328, !15, i64 1336, !15, i64 1344, !15, i64 1352, !15, i64 1360, !15, i64 1368, !12, i64 1376, !15, i64 1384, !15, i64 1392, !12, i64 1400, !15, i64 1408, !15, i64 1416, !6, i64 1424, !12, i64 1432, !10, i64 1440, !12, i64 1448, !12, i64 1452, !12, i64 1456, !15, i64 1464, !15, i64 1472, !15, i64 1480, !10, i64 1488, !10, i64 1496, !10, i64 1504, !10, i64 1512, !10, i64 1520, !10, i64 1528, !10, i64 1536, !10, i64 1544, !10, i64 1552, !6, i64 1560, !10, i64 1568, !10, i64 1576, !6, i64 1584, !10, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !10, i64 1632, !12, i64 1640, !15, i64 1648, !15, i64 1656, !15, i64 1664, !10, i64 1672, !10, i64 1680, !10, i64 1688, !10, i64 1696, !10, i64 1704, !10, i64 1712, !6, i64 1720, !12, i64 1728, !6, i64 1736, !12, i64 1744, !6, i64 1752, !12, i64 1760, !6, i64 1768, !12, i64 1776, !12, i64 1780, !10, i64 1784, !12, i64 1792, !6, i64 1800, !12, i64 1808, !6, i64 1816, !6, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !12, i64 1864, !12, i64 1868, !6, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !10, i64 1912, !12, i64 1920, !12, i64 1924, !10, i64 1928, !15, i64 1936, !15, i64 1944, !15, i64 1952, !12, i64 1960, !12, i64 1964, !15, i64 1968, !12, i64 1976, !12, i64 1980, !12, i64 1984, !12, i64 1988, !12, i64 1992, !12, i64 1996, !12, i64 2000, !12, i64 2004, !12, i64 2008, !12, i64 2012, !12, i64 2016, !12, i64 2020, !12, i64 2024, !12, i64 2028, !12, i64 2032, !12, i64 2036, !6, i64 2040, !6, i64 2048, !6, i64 2056, !6, i64 2064, !10, i64 2072, !12, i64 2080, !7, i64 2088, !12, i64 2280, !10, i64 2288, !6, i64 2296, !12, i64 2304, !6, i64 2312, !6, i64 2320, !15, i64 2328, !15, i64 2336, !15, i64 2344, !6, i64 2352, !6, i64 2360, !6, i64 2368, !15, i64 2376, !15, i64 2384, !12, i64 2392, !12, i64 2396, !10, i64 2400, !6, i64 2408, !12, i64 2416, !6, i64 2424, !6, i64 2432, !6, i64 2440, !12, i64 2448, !6, i64 2456, !12, i64 2464}
!15 = !{!"double", !7, i64 0}
!16 = !{!17, !6, i64 80}
!17 = !{!"CVadjMemRec", !15, i64 0, !15, i64 8, !12, i64 16, !12, i64 20, !15, i64 24, !12, i64 32, !15, i64 40, !6, i64 48, !12, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !12, i64 88, !6, i64 96, !10, i64 104, !10, i64 112, !6, i64 120, !10, i64 128, !12, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !7, i64 192, !7, i64 296, !7, i64 400, !6, i64 504, !6, i64 512}
!18 = !{!17, !12, i64 88}
!19 = !{!17, !6, i64 96}
!20 = !{!17, !12, i64 136}
!21 = !{!17, !10, i64 104}
!22 = !{!17, !10, i64 112}
!23 = !{!17, !6, i64 120}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!17, !6, i64 144}
!28 = !{!17, !6, i64 152}
!29 = !{!17, !6, i64 168}
!30 = !{!17, !6, i64 160}
!31 = !{!17, !12, i64 176}
!32 = !{!17, !12, i64 184}
!33 = !{!17, !12, i64 188}
!34 = !{!17, !6, i64 48}
!35 = !{!17, !6, i64 64}
!36 = !{!17, !12, i64 56}
!37 = !{!17, !12, i64 16}
!38 = !{!17, !12, i64 20}
!39 = !{!17, !12, i64 72}
!40 = !{!17, !12, i64 32}
!41 = !{!14, !12, i64 2448}
!42 = !{!14, !12, i64 2464}


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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -22, 1) i32 @CVodeAdjInit(ptr noundef %0, i64 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, ...) @cvProcessError(ptr noundef null, i32 noundef -21, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2) #4
  br label %66

6:                                                ; preds = %3
  %7 = icmp slt i64 %1, 1
  br i1 %7, label %8, label %9

8:                                                ; preds = %6
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.3) #4
  br label %66

9:                                                ; preds = %6
  %10 = add i32 %2, -3
  %or.cond = icmp ult i32 %10, -2
  br i1 %or.cond, label %11, label %12

11:                                               ; preds = %9
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef nonnull %0, i32 noundef -22, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.4) #4
  br label %66

12:                                               ; preds = %9
  %13 = tail call noalias dereferenceable_or_null(520) ptr @malloc(i64 noundef 520) #5
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %12
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef nonnull %0, i32 noundef -20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.5) #4
  br label %66

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 2456
  store ptr %13, ptr %17, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %13, i64 80
  store ptr null, ptr %18, align 8, !tbaa !13
  %19 = getelementptr inbounds i8, ptr %13, i64 88
  store i32 0, ptr %19, align 8, !tbaa !15
  %20 = getelementptr inbounds i8, ptr %13, i64 96
  store ptr null, ptr %20, align 8, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %13, i64 136
  store i32 %2, ptr %21, align 8, !tbaa !17
  %22 = getelementptr inbounds i8, ptr %13, i64 104
  store i64 %1, ptr %22, align 8, !tbaa !18
  %23 = getelementptr inbounds i8, ptr %13, i64 112
  store i64 -1, ptr %23, align 8, !tbaa !19
  %24 = getelementptr inbounds i8, ptr %13, i64 120
  %25 = shl i64 %1, 3
  %26 = add i64 %25, 8
  %27 = tail call noalias ptr @malloc(i64 noundef %26) #5
  store ptr %27, ptr %24, align 8, !tbaa !20
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %.lr.ph

29:                                               ; preds = %16
  tail call void @free(ptr noundef nonnull %13) #4
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef nonnull %0, i32 noundef -20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.5) #4
  br label %66

.lr.ph:                                           ; preds = %16, %46
  %30 = phi ptr [ %35, %46 ], [ %27, %16 ]
  %.06775 = phi i64 [ %47, %46 ], [ 0, %16 ]
  %31 = getelementptr inbounds ptr, ptr %30, i64 %.06775
  store ptr null, ptr %31, align 8, !tbaa !21
  %32 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #5
  %33 = load ptr, ptr %24, align 8, !tbaa !20
  %34 = getelementptr inbounds ptr, ptr %33, i64 %.06775
  store ptr %32, ptr %34, align 8, !tbaa !21
  %35 = load ptr, ptr %24, align 8, !tbaa !20
  %36 = getelementptr inbounds ptr, ptr %35, i64 %.06775
  %37 = load ptr, ptr %36, align 8, !tbaa !21
  %38 = icmp eq ptr %37, null
  br i1 %38, label %.preheader, label %46

.preheader:                                       ; preds = %.lr.ph
  %.not = icmp eq i64 %.06775, 0
  br i1 %.not, label %._crit_edge78, label %.lr.ph77

.lr.ph77:                                         ; preds = %.preheader, %.lr.ph77
  %.076 = phi i64 [ %44, %.lr.ph77 ], [ 0, %.preheader ]
  %39 = load ptr, ptr %24, align 8, !tbaa !20
  %40 = getelementptr inbounds ptr, ptr %39, i64 %.076
  %41 = load ptr, ptr %40, align 8, !tbaa !21
  tail call void @free(ptr noundef %41) #4
  %42 = load ptr, ptr %24, align 8, !tbaa !20
  %43 = getelementptr inbounds ptr, ptr %42, i64 %.076
  store ptr null, ptr %43, align 8, !tbaa !21
  %44 = add nuw nsw i64 %.076, 1
  %exitcond82.not = icmp eq i64 %44, %.06775
  br i1 %exitcond82.not, label %._crit_edge78.loopexit, label %.lr.ph77, !llvm.loop !22

._crit_edge78.loopexit:                           ; preds = %.lr.ph77
  %.pre = load ptr, ptr %24, align 8, !tbaa !20
  br label %._crit_edge78

._crit_edge78:                                    ; preds = %._crit_edge78.loopexit, %.preheader
  %45 = phi ptr [ %.pre, %._crit_edge78.loopexit ], [ %35, %.preheader ]
  tail call void @free(ptr noundef %45) #4
  tail call void @free(ptr noundef nonnull %13) #4
  tail call void (ptr, i32, ptr, ptr, ptr, ...) @cvProcessError(ptr noundef nonnull %0, i32 noundef -20, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.5) #4
  br label %66

46:                                               ; preds = %.lr.ph
  %47 = add nuw i64 %.06775, 1
  %exitcond.not = icmp eq i64 %.06775, %1
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !24

._crit_edge:                                      ; preds = %46
  switch i32 %2, label %53 [
    i32 1, label %.sink.split
    i32 2, label %48
  ]

48:                                               ; preds = %._crit_edge
  br label %.sink.split

.sink.split:                                      ; preds = %._crit_edge, %48
  %CVApolynomialMalloc.sink = phi ptr [ @CVApolynomialMalloc, %48 ], [ @CVAhermiteMalloc, %._crit_edge ]
  %CVApolynomialFree.sink = phi ptr [ @CVApolynomialFree, %48 ], [ @CVAhermiteFree, %._crit_edge ]
  %CVApolynomialGetY.sink = phi ptr [ @CVApolynomialGetY, %48 ], [ @CVAhermiteGetY, %._crit_edge ]
  %CVApolynomialStorePnt.sink = phi ptr [ @CVApolynomialStorePnt, %48 ], [ @CVAhermiteStorePnt, %._crit_edge ]
  %49 = getelementptr inbounds i8, ptr %13, i64 144
  store ptr %CVApolynomialMalloc.sink, ptr %49, align 8, !tbaa !25
  %50 = getelementptr inbounds i8, ptr %13, i64 152
  store ptr %CVApolynomialFree.sink, ptr %50, align 8, !tbaa !26
  %51 = getelementptr inbounds i8, ptr %13, i64 168
  store ptr %CVApolynomialGetY.sink, ptr %51, align 8, !tbaa !27
  %52 = getelementptr inbounds i8, ptr %13, i64 160
  store ptr %CVApolynomialStorePnt.sink, ptr %52, align 8, !tbaa !28
  br label %53

53:                                               ; preds = %.sink.split, %._crit_edge
  %54 = getelementptr inbounds i8, ptr %13, i64 176
  store i32 0, ptr %54, align 8, !tbaa !29
  %55 = getelementptr inbounds i8, ptr %13, i64 184
  store i32 1, ptr %55, align 8, !tbaa !30
  %56 = getelementptr inbounds i8, ptr %13, i64 188
  store i32 0, ptr %56, align 4, !tbaa !31
  %57 = getelementptr inbounds i8, ptr %13, i64 48
  store ptr null, ptr %57, align 8, !tbaa !32
  %58 = getelementptr inbounds i8, ptr %13, i64 64
  store ptr null, ptr %58, align 8, !tbaa !33
  %59 = getelementptr inbounds i8, ptr %13, i64 56
  store i32 0, ptr %59, align 8, !tbaa !34
  %60 = getelementptr inbounds i8, ptr %13, i64 16
  store i32 1, ptr %60, align 8, !tbaa !35
  %61 = getelementptr inbounds i8, ptr %13, i64 20
  store i32 0, ptr %61, align 4, !tbaa !36
  %62 = getelementptr inbounds i8, ptr %13, i64 72
  store i32 1, ptr %62, align 8, !tbaa !37
  %63 = getelementptr inbounds i8, ptr %13, i64 32
  store i32 0, ptr %63, align 8, !tbaa !38
  %64 = getelementptr inbounds i8, ptr %0, i64 2448
  store i32 1, ptr %64, align 8, !tbaa !39
  %65 = getelementptr inbounds i8, ptr %0, i64 2464
  store i32 1, ptr %65, align 8, !tbaa !40
  br label %66

66:                                               ; preds = %53, %._crit_edge78, %29, %15, %11, %8, %5
  %.068 = phi i32 [ -21, %5 ], [ -22, %8 ], [ -22, %11 ], [ -20, %15 ], [ -20, %29 ], [ -20, %._crit_edge78 ], [ 0, %53 ]
  ret i32 %.068
}

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

; 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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @CVApolynomialStorePnt(ptr noundef, ptr noundef) #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" }
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 = { nounwind }
attributes #5 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 2456}
!6 = !{!"CVodeMemRec", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !11, i64 36, !10, i64 40, !10, i64 48, !7, i64 56, !11, i64 64, !11, i64 68, !7, i64 72, !7, i64 80, !11, i64 88, !11, i64 92, !7, i64 96, !11, i64 104, !11, i64 108, !10, i64 112, !10, i64 120, !7, i64 128, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !7, i64 152, !7, i64 160, !7, i64 168, !11, i64 176, !11, i64 180, !7, i64 184, !7, i64 192, !7, i64 200, !11, i64 208, !10, i64 216, !11, i64 224, !11, i64 228, !10, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !11, i64 264, !7, i64 272, !7, i64 280, !11, i64 288, !11, i64 292, !11, i64 296, !10, i64 304, !7, i64 312, !7, i64 320, !7, i64 328, !8, i64 336, !7, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !7, i64 504, !8, i64 512, !7, i64 616, !7, i64 624, !7, i64 632, !7, i64 640, !8, i64 648, !7, i64 752, !7, i64 760, !7, i64 768, !7, i64 776, !7, i64 784, !11, i64 792, !8, i64 800, !7, i64 904, !7, i64 912, !7, i64 920, !7, i64 928, !7, i64 936, !11, i64 944, !10, i64 952, !11, i64 960, !11, i64 964, !11, i64 968, !11, i64 972, !11, i64 976, !10, i64 984, !10, i64 992, !10, i64 1000, !10, i64 1008, !10, i64 1016, !10, i64 1024, !10, i64 1032, !10, i64 1040, !8, i64 1048, !8, i64 1160, !8, i64 1208, !10, i64 1312, !10, i64 1320, !10, i64 1328, !10, i64 1336, !10, i64 1344, !10, i64 1352, !10, i64 1360, !10, i64 1368, !11, i64 1376, !10, i64 1384, !10, i64 1392, !11, i64 1400, !10, i64 1408, !10, i64 1416, !7, i64 1424, !11, i64 1432, !12, i64 1440, !11, i64 1448, !11, i64 1452, !11, i64 1456, !10, i64 1464, !10, i64 1472, !10, i64 1480, !12, i64 1488, !12, i64 1496, !12, i64 1504, !12, i64 1512, !12, i64 1520, !12, i64 1528, !12, i64 1536, !12, i64 1544, !12, i64 1552, !7, i64 1560, !12, i64 1568, !12, i64 1576, !7, i64 1584, !12, i64 1592, !12, i64 1600, !12, i64 1608, !12, i64 1616, !12, i64 1624, !12, i64 1632, !11, i64 1640, !10, i64 1648, !10, i64 1656, !10, i64 1664, !12, i64 1672, !12, i64 1680, !12, i64 1688, !12, i64 1696, !12, i64 1704, !12, i64 1712, !7, i64 1720, !11, i64 1728, !7, i64 1736, !11, i64 1744, !7, i64 1752, !11, i64 1760, !7, i64 1768, !11, i64 1776, !11, i64 1780, !12, i64 1784, !11, i64 1792, !7, i64 1800, !11, i64 1808, !7, i64 1816, !7, i64 1824, !7, i64 1832, !7, i64 1840, !7, i64 1848, !7, i64 1856, !11, i64 1864, !11, i64 1868, !7, i64 1872, !7, i64 1880, !7, i64 1888, !7, i64 1896, !7, i64 1904, !12, i64 1912, !11, i64 1920, !11, i64 1924, !12, i64 1928, !10, i64 1936, !10, i64 1944, !10, i64 1952, !11, i64 1960, !11, i64 1964, !10, i64 1968, !11, i64 1976, !11, i64 1980, !11, i64 1984, !11, i64 1988, !11, i64 1992, !11, i64 1996, !11, i64 2000, !11, i64 2004, !11, i64 2008, !11, i64 2012, !11, i64 2016, !11, i64 2020, !11, i64 2024, !11, i64 2028, !11, i64 2032, !11, i64 2036, !7, i64 2040, !7, i64 2048, !7, i64 2056, !7, i64 2064, !12, i64 2072, !11, i64 2080, !8, i64 2088, !11, i64 2280, !12, i64 2288, !7, i64 2296, !11, i64 2304, !7, i64 2312, !7, i64 2320, !10, i64 2328, !10, i64 2336, !10, i64 2344, !7, i64 2352, !7, i64 2360, !7, i64 2368, !10, i64 2376, !10, i64 2384, !11, i64 2392, !11, i64 2396, !12, i64 2400, !7, i64 2408, !11, i64 2416, !7, i64 2424, !7, i64 2432, !7, i64 2440, !11, i64 2448, !7, i64 2456, !11, i64 2464}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!14, !7, i64 80}
!14 = !{!"CVadjMemRec", !10, i64 0, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !11, i64 32, !10, i64 40, !7, i64 48, !11, i64 56, !7, i64 64, !11, i64 72, !7, i64 80, !11, i64 88, !7, i64 96, !12, i64 104, !12, i64 112, !7, i64 120, !12, i64 128, !11, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !8, i64 192, !8, i64 296, !8, i64 400, !7, i64 504, !7, i64 512}
!15 = !{!14, !11, i64 88}
!16 = !{!14, !7, i64 96}
!17 = !{!14, !11, i64 136}
!18 = !{!14, !12, i64 104}
!19 = !{!14, !12, i64 112}
!20 = !{!14, !7, i64 120}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!14, !7, i64 144}
!26 = !{!14, !7, i64 152}
!27 = !{!14, !7, i64 168}
!28 = !{!14, !7, i64 160}
!29 = !{!14, !11, i64 176}
!30 = !{!14, !11, i64 184}
!31 = !{!14, !11, i64 188}
!32 = !{!14, !7, i64 48}
!33 = !{!14, !7, i64 64}
!34 = !{!14, !11, i64 56}
!35 = !{!14, !11, i64 16}
!36 = !{!14, !11, i64 20}
!37 = !{!14, !11, i64 72}
!38 = !{!14, !11, i64 32}
!39 = !{!6, !11, i64 2448}
!40 = !{!6, !11, i64 2464}


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