; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/sunlinsol/spfgmr (sunlinsol_spfgmr)

; 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._generic_N_Vector = type { ptr, 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, 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, ptr, ptr, ptr, ptr, ptr }
%struct._generic_SUNLinearSolver = type { ptr, ptr, ptr }
%struct._generic_SUNLinearSolver_Ops = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._SUNLinearSolverContent_SPFGMR = type { i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr }

@stdout = external global ptr, align 8

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

15:                                               ; preds = %4
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = icmp eq i32 %16, 2
  br i1 %17, label %21, label %18

18:                                               ; preds = %15
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 3
  br label %21

21:                                               ; preds = %18, %15, %4
  %22 = phi i1 [ true, %15 ], [ true, %4 ], [ %20, %18 ]
  %23 = zext i1 %22 to i64
  %24 = select i1 %22, i32 2, i32 0
  store i32 %24, ptr %7, align 4, !tbaa !9
  %25 = load i32, ptr %8, align 4, !tbaa !9
  %26 = icmp sle i32 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  store i32 5, ptr %8, align 4, !tbaa !9
  br label %28

28:                                               ; preds = %27, %21
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._generic_N_Vector, ptr %29, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %31, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = icmp eq ptr %33, null
  br i1 %34, label %84, label %35

35:                                               ; preds = %28
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._generic_N_Vector, ptr %36, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %38, i32 0, i32 3
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = icmp eq ptr %40, null
  br i1 %41, label %84, label %42

42:                                               ; preds = %35
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct._generic_N_Vector, ptr %43, i32 0, i32 1
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %46 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %45, i32 0, i32 10
  %47 = load ptr, ptr %46, align 8, !tbaa !16
  %48 = icmp eq ptr %47, null
  br i1 %48, label %84, label %49

49:                                               ; preds = %42
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct._generic_N_Vector, ptr %50, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %52, i32 0, i32 11
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = icmp eq ptr %54, null
  br i1 %55, label %84, label %56

56:                                               ; preds = %49
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct._generic_N_Vector, ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !11
  %60 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %59, i32 0, i32 12
  %61 = load ptr, ptr %60, align 8, !tbaa !18
  %62 = icmp eq ptr %61, null
  br i1 %62, label %84, label %63

63:                                               ; preds = %56
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct._generic_N_Vector, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !11
  %67 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %66, i32 0, i32 13
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = icmp eq ptr %68, null
  br i1 %69, label %84, label %70

70:                                               ; preds = %63
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct._generic_N_Vector, ptr %71, i32 0, i32 1
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %73, i32 0, i32 14
  %75 = load ptr, ptr %74, align 8, !tbaa !20
  %76 = icmp eq ptr %75, null
  br i1 %76, label %84, label %77

77:                                               ; preds = %70
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct._generic_N_Vector, ptr %78, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !11
  %81 = getelementptr inbounds %struct._generic_N_Vector_Ops, ptr %80, i32 0, i32 18
  %82 = load ptr, ptr %81, align 8, !tbaa !21
  %83 = icmp eq ptr %82, null
  br i1 %83, label %84, label %85

84:                                               ; preds = %77, %70, %63, %56, %49, %42, %35, %28
  store ptr null, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %242

85:                                               ; preds = %77
  store ptr null, ptr %10, align 8, !tbaa !5
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = call ptr @SUNLinSolNewEmpty(ptr noundef %86)
  store ptr %87, ptr %10, align 8, !tbaa !5
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %91

90:                                               ; preds = %85
  store ptr null, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %242

91:                                               ; preds = %85
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %92, i32 0, i32 1
  %94 = load ptr, ptr %93, align 8, !tbaa !22
  %95 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %94, i32 0, i32 0
  store ptr @SUNLinSolGetType_SPFGMR, ptr %95, align 8, !tbaa !24
  %96 = load ptr, ptr %10, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !22
  %99 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %98, i32 0, i32 1
  store ptr @SUNLinSolGetID_SPFGMR, ptr %99, align 8, !tbaa !26
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !22
  %103 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %102, i32 0, i32 2
  store ptr @SUNLinSolSetATimes_SPFGMR, ptr %103, align 8, !tbaa !27
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !22
  %107 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %106, i32 0, i32 3
  store ptr @SUNLinSolSetPreconditioner_SPFGMR, ptr %107, align 8, !tbaa !28
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %108, i32 0, i32 1
  %110 = load ptr, ptr %109, align 8, !tbaa !22
  %111 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %110, i32 0, i32 4
  store ptr @SUNLinSolSetScalingVectors_SPFGMR, ptr %111, align 8, !tbaa !29
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %112, i32 0, i32 1
  %114 = load ptr, ptr %113, align 8, !tbaa !22
  %115 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %114, i32 0, i32 5
  store ptr @SUNLinSolSetZeroGuess_SPFGMR, ptr %115, align 8, !tbaa !30
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %116, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !22
  %119 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %118, i32 0, i32 6
  store ptr @SUNLinSolInitialize_SPFGMR, ptr %119, align 8, !tbaa !31
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %120, i32 0, i32 1
  %122 = load ptr, ptr %121, align 8, !tbaa !22
  %123 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %122, i32 0, i32 7
  store ptr @SUNLinSolSetup_SPFGMR, ptr %123, align 8, !tbaa !32
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %124, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !22
  %127 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %126, i32 0, i32 8
  store ptr @SUNLinSolSolve_SPFGMR, ptr %127, align 8, !tbaa !33
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !22
  %131 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %130, i32 0, i32 9
  store ptr @SUNLinSolNumIters_SPFGMR, ptr %131, align 8, !tbaa !34
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %132, i32 0, i32 1
  %134 = load ptr, ptr %133, align 8, !tbaa !22
  %135 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %134, i32 0, i32 10
  store ptr @SUNLinSolResNorm_SPFGMR, ptr %135, align 8, !tbaa !35
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %136, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8, !tbaa !22
  %139 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %138, i32 0, i32 13
  store ptr @SUNLinSolResid_SPFGMR, ptr %139, align 8, !tbaa !36
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %140, i32 0, i32 1
  %142 = load ptr, ptr %141, align 8, !tbaa !22
  %143 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %142, i32 0, i32 11
  store ptr @SUNLinSolLastFlag_SPFGMR, ptr %143, align 8, !tbaa !37
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %144, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !22
  %147 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %146, i32 0, i32 12
  store ptr @SUNLinSolSpace_SPFGMR, ptr %147, align 8, !tbaa !38
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %148, i32 0, i32 1
  %150 = load ptr, ptr %149, align 8, !tbaa !22
  %151 = getelementptr inbounds %struct._generic_SUNLinearSolver_Ops, ptr %150, i32 0, i32 14
  store ptr @SUNLinSolFree_SPFGMR, ptr %151, align 8, !tbaa !39
  store ptr null, ptr %11, align 8, !tbaa !5
  %152 = call noalias ptr @malloc(i64 noundef 184) #5
  store ptr %152, ptr %11, align 8, !tbaa !5
  %153 = load ptr, ptr %11, align 8, !tbaa !5
  %154 = icmp eq ptr %153, null
  br i1 %154, label %155, label %158

155:                                              ; preds = %91
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  %157 = call i32 @SUNLinSolFree(ptr noundef %156)
  store ptr null, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %242

158:                                              ; preds = %91
  %159 = load ptr, ptr %11, align 8, !tbaa !5
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct._generic_SUNLinearSolver, ptr %160, i32 0, i32 0
  store ptr %159, ptr %161, align 8, !tbaa !40
  %162 = load ptr, ptr %11, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %162, i32 0, i32 7
  store i32 0, ptr %163, align 8, !tbaa !41
  %164 = load i32, ptr %8, align 4, !tbaa !9
  %165 = load ptr, ptr %11, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %165, i32 0, i32 0
  store i32 %164, ptr %166, align 8, !tbaa !44
  %167 = load i32, ptr %7, align 4, !tbaa !9
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %168, i32 0, i32 1
  store i32 %167, ptr %169, align 4, !tbaa !45
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %170, i32 0, i32 2
  store i32 1, ptr %171, align 8, !tbaa !46
  %172 = load ptr, ptr %11, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %172, i32 0, i32 3
  store i32 0, ptr %173, align 4, !tbaa !47
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %174, i32 0, i32 4
  store i32 0, ptr %175, align 8, !tbaa !48
  %176 = load ptr, ptr %11, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %176, i32 0, i32 5
  store i32 0, ptr %177, align 4, !tbaa !49
  %178 = load ptr, ptr %11, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %178, i32 0, i32 6
  store double 0.000000e+00, ptr %179, align 8, !tbaa !50
  %180 = load ptr, ptr %11, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %180, i32 0, i32 19
  store ptr null, ptr %181, align 8, !tbaa !51
  %182 = load ptr, ptr %11, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %182, i32 0, i32 21
  store ptr null, ptr %183, align 8, !tbaa !52
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %184, i32 0, i32 13
  store ptr null, ptr %185, align 8, !tbaa !53
  %186 = load ptr, ptr %11, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %186, i32 0, i32 14
  store ptr null, ptr %187, align 8, !tbaa !54
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %188, i32 0, i32 8
  store ptr null, ptr %189, align 8, !tbaa !55
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %190, i32 0, i32 9
  store ptr null, ptr %191, align 8, !tbaa !56
  %192 = load ptr, ptr %11, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %192, i32 0, i32 10
  store ptr null, ptr %193, align 8, !tbaa !57
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %194, i32 0, i32 11
  store ptr null, ptr %195, align 8, !tbaa !58
  %196 = load ptr, ptr %11, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %196, i32 0, i32 12
  store ptr null, ptr %197, align 8, !tbaa !59
  %198 = load ptr, ptr %11, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %198, i32 0, i32 15
  store ptr null, ptr %199, align 8, !tbaa !60
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %200, i32 0, i32 16
  store ptr null, ptr %201, align 8, !tbaa !61
  %202 = load ptr, ptr %11, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %202, i32 0, i32 17
  store ptr null, ptr %203, align 8, !tbaa !62
  %204 = load ptr, ptr %11, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %204, i32 0, i32 18
  store ptr null, ptr %205, align 8, !tbaa !63
  %206 = load ptr, ptr %11, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %206, i32 0, i32 20
  store ptr null, ptr %207, align 8, !tbaa !64
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %208, i32 0, i32 22
  store ptr null, ptr %209, align 8, !tbaa !65
  %210 = load ptr, ptr %11, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %210, i32 0, i32 23
  store ptr null, ptr %211, align 8, !tbaa !66
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %212, i32 0, i32 24
  store i32 0, ptr %213, align 8, !tbaa !67
  %214 = load ptr, ptr @stdout, align 8, !tbaa !5
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %215, i32 0, i32 25
  store ptr %214, ptr %216, align 8, !tbaa !68
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = call ptr @N_VClone(ptr noundef %217)
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %219, i32 0, i32 19
  store ptr %218, ptr %220, align 8, !tbaa !51
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %221, i32 0, i32 19
  %223 = load ptr, ptr %222, align 8, !tbaa !51
  %224 = icmp eq ptr %223, null
  br i1 %224, label %225, label %228

225:                                              ; preds = %158
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = call i32 @SUNLinSolFree(ptr noundef %226)
  store ptr null, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %242

228:                                              ; preds = %158
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = call ptr @N_VClone(ptr noundef %229)
  %231 = load ptr, ptr %11, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %231, i32 0, i32 21
  store ptr %230, ptr %232, align 8, !tbaa !52
  %233 = load ptr, ptr %11, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct._SUNLinearSolverContent_SPFGMR, ptr %233, i32 0, i32 21
  %235 = load ptr, ptr %234, align 8, !tbaa !52
  %236 = icmp eq ptr %235, null
  br i1 %236, label %237, label %240

237:                                              ; preds = %228
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  %239 = call i32 @SUNLinSolFree(ptr noundef %238)
  store ptr null, ptr %5, align 8
  store i32 1, ptr %12, align 4
  br label %242

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

242:                                              ; preds = %240, %237, %225, %155, %90, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  %243 = load ptr, ptr %5, align 8
  ret ptr %243
}

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

declare ptr @SUNLinSolNewEmpty(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolGetType_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolGetID_SPFGMR(ptr noundef) #0

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolInitialize_SPFGMR(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolNumIters_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local double @SUNLinSolResNorm_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @SUNLinSolResid_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @SUNLinSolLastFlag_SPFGMR(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolFree_SPFGMR(ptr noundef) #0

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

declare i32 @SUNLinSolFree(ptr noundef) #2

declare ptr @N_VClone(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 }
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, !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 8}
!12 = !{!"_generic_N_Vector", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!14, !6, i64 8}
!14 = !{!"_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, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432}
!15 = !{!14, !6, i64 24}
!16 = !{!14, !6, i64 80}
!17 = !{!14, !6, i64 88}
!18 = !{!14, !6, i64 96}
!19 = !{!14, !6, i64 104}
!20 = !{!14, !6, i64 112}
!21 = !{!14, !6, i64 144}
!22 = !{!23, !6, i64 8}
!23 = !{!"_generic_SUNLinearSolver", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!25, !6, i64 0}
!25 = !{!"_generic_SUNLinearSolver_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}
!26 = !{!25, !6, i64 8}
!27 = !{!25, !6, i64 16}
!28 = !{!25, !6, i64 24}
!29 = !{!25, !6, i64 32}
!30 = !{!25, !6, i64 40}
!31 = !{!25, !6, i64 48}
!32 = !{!25, !6, i64 56}
!33 = !{!25, !6, i64 64}
!34 = !{!25, !6, i64 72}
!35 = !{!25, !6, i64 80}
!36 = !{!25, !6, i64 104}
!37 = !{!25, !6, i64 88}
!38 = !{!25, !6, i64 96}
!39 = !{!25, !6, i64 112}
!40 = !{!23, !6, i64 0}
!41 = !{!42, !10, i64 32}
!42 = !{!"_SUNLinearSolverContent_SPFGMR", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !43, i64 24, !10, 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, !10, i64 168, !6, i64 176}
!43 = !{!"double", !7, i64 0}
!44 = !{!42, !10, i64 0}
!45 = !{!42, !10, i64 4}
!46 = !{!42, !10, i64 8}
!47 = !{!42, !10, i64 12}
!48 = !{!42, !10, i64 16}
!49 = !{!42, !10, i64 20}
!50 = !{!42, !43, i64 24}
!51 = !{!42, !6, i64 128}
!52 = !{!42, !6, i64 144}
!53 = !{!42, !6, i64 80}
!54 = !{!42, !6, i64 88}
!55 = !{!42, !6, i64 40}
!56 = !{!42, !6, i64 48}
!57 = !{!42, !6, i64 56}
!58 = !{!42, !6, i64 64}
!59 = !{!42, !6, i64 72}
!60 = !{!42, !6, i64 96}
!61 = !{!42, !6, i64 104}
!62 = !{!42, !6, i64 112}
!63 = !{!42, !6, i64 120}
!64 = !{!42, !6, i64 136}
!65 = !{!42, !6, i64 152}
!66 = !{!42, !6, i64 160}
!67 = !{!42, !10, i64 168}
!68 = !{!42, !6, i64 176}


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

@stdout = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local ptr @SUNLinSol_SPFGMR(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = add i32 %1, -1
  %6 = icmp ult i32 %5, 3
  %7 = select i1 %6, i32 2, i32 0
  %8 = icmp slt i32 %2, 1
  %spec.store.select = select i1 %8, i32 5, i32 %2
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !10
  %13 = icmp eq ptr %12, null
  br i1 %13, label %80, label %14

14:                                               ; preds = %4
  %15 = getelementptr inbounds i8, ptr %10, i64 24
  %16 = load ptr, ptr %15, align 8, !tbaa !12
  %17 = icmp eq ptr %16, null
  br i1 %17, label %80, label %18

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %10, i64 80
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  %21 = icmp eq ptr %20, null
  br i1 %21, label %80, label %22

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %10, i64 88
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  %25 = icmp eq ptr %24, null
  br i1 %25, label %80, label %26

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %10, i64 96
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  %29 = icmp eq ptr %28, null
  br i1 %29, label %80, label %30

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %10, i64 104
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = icmp eq ptr %32, null
  br i1 %33, label %80, label %34

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %10, i64 112
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = icmp eq ptr %36, null
  br i1 %37, label %80, label %38

38:                                               ; preds = %34
  %39 = getelementptr inbounds i8, ptr %10, i64 144
  %40 = load ptr, ptr %39, align 8, !tbaa !18
  %41 = icmp eq ptr %40, null
  br i1 %41, label %80, label %42

42:                                               ; preds = %38
  %43 = tail call ptr @SUNLinSolNewEmpty(ptr noundef %3) #4
  %44 = icmp eq ptr %43, null
  br i1 %44, label %80, label %45

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %43, i64 8
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  store ptr @SUNLinSolGetType_SPFGMR, ptr %47, align 8, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  store ptr @SUNLinSolGetID_SPFGMR, ptr %48, align 8, !tbaa !23
  %49 = getelementptr inbounds i8, ptr %47, i64 16
  store ptr @SUNLinSolSetATimes_SPFGMR, ptr %49, align 8, !tbaa !24
  %50 = getelementptr inbounds i8, ptr %47, i64 24
  store ptr @SUNLinSolSetPreconditioner_SPFGMR, ptr %50, align 8, !tbaa !25
  %51 = getelementptr inbounds i8, ptr %47, i64 32
  store ptr @SUNLinSolSetScalingVectors_SPFGMR, ptr %51, align 8, !tbaa !26
  %52 = getelementptr inbounds i8, ptr %47, i64 40
  store ptr @SUNLinSolSetZeroGuess_SPFGMR, ptr %52, align 8, !tbaa !27
  %53 = getelementptr inbounds i8, ptr %47, i64 48
  store ptr @SUNLinSolInitialize_SPFGMR, ptr %53, align 8, !tbaa !28
  %54 = getelementptr inbounds i8, ptr %47, i64 56
  store ptr @SUNLinSolSetup_SPFGMR, ptr %54, align 8, !tbaa !29
  %55 = getelementptr inbounds i8, ptr %47, i64 64
  store ptr @SUNLinSolSolve_SPFGMR, ptr %55, align 8, !tbaa !30
  %56 = getelementptr inbounds i8, ptr %47, i64 72
  store ptr @SUNLinSolNumIters_SPFGMR, ptr %56, align 8, !tbaa !31
  %57 = getelementptr inbounds i8, ptr %47, i64 80
  store ptr @SUNLinSolResNorm_SPFGMR, ptr %57, align 8, !tbaa !32
  %58 = getelementptr inbounds i8, ptr %47, i64 104
  store ptr @SUNLinSolResid_SPFGMR, ptr %58, align 8, !tbaa !33
  %59 = getelementptr inbounds i8, ptr %47, i64 88
  store ptr @SUNLinSolLastFlag_SPFGMR, ptr %59, align 8, !tbaa !34
  %60 = getelementptr inbounds i8, ptr %47, i64 96
  store ptr @SUNLinSolSpace_SPFGMR, ptr %60, align 8, !tbaa !35
  %61 = getelementptr inbounds i8, ptr %47, i64 112
  store ptr @SUNLinSolFree_SPFGMR, ptr %61, align 8, !tbaa !36
  %62 = tail call noalias dereferenceable_or_null(184) ptr @malloc(i64 noundef 184) #5
  %63 = icmp eq ptr %62, null
  br i1 %63, label %.sink.split, label %64

64:                                               ; preds = %45
  store ptr %62, ptr %43, align 8, !tbaa !37
  %65 = getelementptr inbounds i8, ptr %62, i64 32
  store i32 0, ptr %65, align 8, !tbaa !38
  store i32 %spec.store.select, ptr %62, align 8, !tbaa !42
  %66 = getelementptr inbounds i8, ptr %62, i64 4
  store i32 %7, ptr %66, align 4, !tbaa !43
  %67 = getelementptr inbounds i8, ptr %62, i64 8
  store i32 1, ptr %67, align 8, !tbaa !44
  %68 = getelementptr inbounds i8, ptr %62, i64 12
  %69 = getelementptr inbounds i8, ptr %62, i64 128
  %70 = getelementptr inbounds i8, ptr %62, i64 40
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %68, i8 0, i64 20, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(132) %70, i8 0, i64 132, i1 false)
  %71 = load ptr, ptr @stdout, align 8, !tbaa !45
  %72 = getelementptr inbounds i8, ptr %62, i64 176
  store ptr %71, ptr %72, align 8, !tbaa !46
  %73 = tail call ptr @N_VClone(ptr noundef nonnull %0) #4
  store ptr %73, ptr %69, align 8, !tbaa !47
  %74 = icmp eq ptr %73, null
  br i1 %74, label %.sink.split, label %75

75:                                               ; preds = %64
  %76 = getelementptr inbounds i8, ptr %62, i64 144
  %77 = tail call ptr @N_VClone(ptr noundef nonnull %0) #4
  store ptr %77, ptr %76, align 8, !tbaa !48
  %78 = icmp eq ptr %77, null
  br i1 %78, label %.sink.split, label %80

.sink.split:                                      ; preds = %75, %64, %45
  %79 = tail call i32 @SUNLinSolFree(ptr noundef nonnull %43) #4
  br label %80

80:                                               ; preds = %.sink.split, %75, %42, %4, %14, %18, %22, %26, %30, %34, %38
  %.0 = phi ptr [ null, %38 ], [ null, %34 ], [ null, %30 ], [ null, %26 ], [ null, %22 ], [ null, %18 ], [ null, %14 ], [ null, %4 ], [ null, %42 ], [ %43, %75 ], [ null, %.sink.split ]
  ret ptr %.0
}

declare ptr @SUNLinSolNewEmpty(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolGetType_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolGetID_SPFGMR(ptr noundef) #0

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolInitialize_SPFGMR(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolNumIters_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local double @SUNLinSolResNorm_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @SUNLinSolResid_SPFGMR(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @SUNLinSolLastFlag_SPFGMR(ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @SUNLinSolFree_SPFGMR(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

declare i32 @SUNLinSolFree(ptr noundef) local_unnamed_addr #1

declare ptr @N_VClone(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) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 8}
!6 = !{!"_generic_N_Vector", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 8}
!11 = !{!"_generic_N_Vector_Ops", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, 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, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432}
!12 = !{!11, !7, i64 24}
!13 = !{!11, !7, i64 80}
!14 = !{!11, !7, i64 88}
!15 = !{!11, !7, i64 96}
!16 = !{!11, !7, i64 104}
!17 = !{!11, !7, i64 112}
!18 = !{!11, !7, i64 144}
!19 = !{!20, !7, i64 8}
!20 = !{!"_generic_SUNLinearSolver", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!22, !7, i64 0}
!22 = !{!"_generic_SUNLinearSolver_Ops", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112}
!23 = !{!22, !7, i64 8}
!24 = !{!22, !7, i64 16}
!25 = !{!22, !7, i64 24}
!26 = !{!22, !7, i64 32}
!27 = !{!22, !7, i64 40}
!28 = !{!22, !7, i64 48}
!29 = !{!22, !7, i64 56}
!30 = !{!22, !7, i64 64}
!31 = !{!22, !7, i64 72}
!32 = !{!22, !7, i64 80}
!33 = !{!22, !7, i64 104}
!34 = !{!22, !7, i64 88}
!35 = !{!22, !7, i64 96}
!36 = !{!22, !7, i64 112}
!37 = !{!20, !7, i64 0}
!38 = !{!39, !40, i64 32}
!39 = !{!"_SUNLinearSolverContent_SPFGMR", !40, i64 0, !40, i64 4, !40, i64 8, !40, i64 12, !40, i64 16, !40, i64 20, !41, i64 24, !40, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !40, i64 168, !7, i64 176}
!40 = !{!"int", !8, i64 0}
!41 = !{!"double", !8, i64 0}
!42 = !{!39, !40, i64 0}
!43 = !{!39, !40, i64 4}
!44 = !{!39, !40, i64 8}
!45 = !{!7, !7, i64 0}
!46 = !{!39, !7, i64 176}
!47 = !{!39, !7, i64 128}
!48 = !{!39, !7, i64 144}


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