; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/Numerics/FEM/src (dsrc2c)

; 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.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.anon.0 = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.anon.1 = type { i64, i64, i64, i64, i64 }

@itcom1_ = external hidden global %struct.anon, align 8
@c__1 = external hidden global i64, align 8
@itcom3_ = external hidden global %struct.anon.0, align 8
@c__0 = external hidden global i64, align 8
@c_b21 = external hidden global double, align 8
@itcom2_ = external hidden global %struct.anon.1, align 8
@c__2 = external hidden global i64, align 8
@c_b286 = external hidden global double, align 8
@ssorsi_.n3 = external hidden global i64, align 8
@ssorsi_.nb = external hidden global i64, align 8
@ssorsi_.ib1 = external hidden global i64, align 8
@ssorsi_.ib2 = external hidden global i64, align 8
@ssorsi_.ib3 = external hidden global i64, align 8
@ssorsi_.ib4 = external hidden global i64, align 8
@ssorsi_.ib5 = external hidden global i64, align 8
@ssorsi_.ier = external hidden global i64, align 8
@ssorsi_.tol = external hidden global double, align 8
@ssorsi_.temp = external hidden global double, align 8
@ssorsi_.loop = external hidden global i64, align 8
@ssorsi_.time1 = external hidden global double, align 8
@ssorsi_.time2 = external hidden global double, align 8
@ssorsi_.timi1 = external hidden global float, align 4
@ssorsi_.timj1 = external hidden global float, align 4
@ssorsi_.timi2 = external hidden global float, align 4
@ssorsi_.timj2 = external hidden global float, align 4
@ssorsi_.idgts = external hidden global i64, align 8
@ssorsi_.digit1 = external hidden global double, align 8
@ssorsi_.digit2 = external hidden global double, align 8
@ssorsi_.itmax1 = external hidden global i64, align 8
@ssorsi_.betnew = external hidden global double, align 8
@ssorsi_.ierper = external hidden global i64, align 8
@c__5 = external hidden global i64, align 8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @ssorsi_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #0 {
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store ptr %4, ptr %18, align 8, !tbaa !5
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store ptr %8, ptr %22, align 8, !tbaa !5
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store ptr %11, ptr %25, align 8, !tbaa !5
  %26 = load ptr, ptr %23, align 8, !tbaa !5
  %27 = getelementptr inbounds i64, ptr %26, i64 1
  %28 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %28, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), align 8, !tbaa !11
  %29 = load ptr, ptr %23, align 8, !tbaa !5
  %30 = getelementptr inbounds i64, ptr %29, i64 3
  %31 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %31, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), align 8, !tbaa !13
  %32 = load ptr, ptr %23, align 8, !tbaa !5
  %33 = getelementptr inbounds i64, ptr %32, i64 8
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = icmp sge i64 %34, 0
  br i1 %35, label %36, label %39

36:                                               ; preds = %12
  %37 = load ptr, ptr %23, align 8, !tbaa !5
  %38 = getelementptr inbounds i64, ptr %37, i64 5
  store i64 2, ptr %38, align 8, !tbaa !9
  br label %39

39:                                               ; preds = %36, %12
  store i64 0, ptr @ssorsi_.ier, align 8, !tbaa !9
  %40 = load ptr, ptr %23, align 8, !tbaa !5
  %41 = getelementptr inbounds i64, ptr %40, i64 0
  %42 = load i64, ptr %41, align 8, !tbaa !9
  %43 = icmp sle i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %39
  store i32 0, ptr %13, align 4
  br label %526

45:                                               ; preds = %39
  %46 = load ptr, ptr %23, align 8, !tbaa !5
  %47 = getelementptr inbounds i64, ptr %46, i64 10
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %50, label %53

50:                                               ; preds = %45
  %51 = call double @dsrc_timer_(ptr noundef null)
  %52 = fptrunc double %51 to float
  store float %52, ptr @ssorsi_.timj1, align 4, !tbaa !14
  br label %53

53:                                               ; preds = %50, %45
  %54 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), align 8, !tbaa !11
  %55 = icmp slt i64 %54, 3
  br i1 %55, label %56, label %60

56:                                               ; preds = %53
  %57 = load ptr, ptr %23, align 8, !tbaa !5
  %58 = load ptr, ptr %24, align 8, !tbaa !5
  %59 = call i32 @echout_(ptr noundef %57, ptr noundef %58, ptr noundef @c__5)
  br label %69

60:                                               ; preds = %53
  %61 = load ptr, ptr %14, align 8, !tbaa !5
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = load ptr, ptr %16, align 8, !tbaa !5
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = load ptr, ptr %18, align 8, !tbaa !5
  %66 = load ptr, ptr %23, align 8, !tbaa !5
  %67 = load ptr, ptr %24, align 8, !tbaa !5
  %68 = call i32 @echall_(ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef @c__1)
  br label %69

69:                                               ; preds = %60, %56
  %70 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 16), align 8, !tbaa !16
  %71 = fmul double %70, 5.000000e+02
  store double %71, ptr @ssorsi_.temp, align 8, !tbaa !19
  %72 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 19), align 8, !tbaa !20
  %73 = load double, ptr @ssorsi_.temp, align 8, !tbaa !19
  %74 = fcmp olt double %72, %73
  br i1 %74, label %75, label %77

75:                                               ; preds = %69
  %76 = load double, ptr @ssorsi_.temp, align 8, !tbaa !19
  store double %76, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 19), align 8, !tbaa !20
  br label %77

77:                                               ; preds = %75, %69
  %78 = load ptr, ptr %24, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 8
  %80 = load double, ptr %79, align 8, !tbaa !19
  store double %80, ptr @ssorsi_.time1, align 8, !tbaa !19
  %81 = load ptr, ptr %24, align 8, !tbaa !5
  %82 = getelementptr inbounds double, ptr %81, i64 9
  %83 = load double, ptr %82, align 8, !tbaa !19
  store double %83, ptr @ssorsi_.time2, align 8, !tbaa !19
  %84 = load ptr, ptr %24, align 8, !tbaa !5
  %85 = getelementptr inbounds double, ptr %84, i64 10
  %86 = load double, ptr %85, align 8, !tbaa !19
  store double %86, ptr @ssorsi_.digit1, align 8, !tbaa !19
  %87 = load ptr, ptr %24, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i64 11
  %89 = load double, ptr %88, align 8, !tbaa !19
  store double %89, ptr @ssorsi_.digit2, align 8, !tbaa !19
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = load i64, ptr %90, align 8, !tbaa !9
  %92 = icmp sle i64 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %77
  store i64 51, ptr @ssorsi_.ier, align 8, !tbaa !9
  br label %511

94:                                               ; preds = %77
  %95 = load ptr, ptr %23, align 8, !tbaa !5
  %96 = getelementptr inbounds i64, ptr %95, i64 9
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = icmp ne i64 %97, 0
  br i1 %98, label %99, label %121

99:                                               ; preds = %94
  %100 = load ptr, ptr %24, align 8, !tbaa !5
  %101 = getelementptr inbounds double, ptr %100, i64 7
  %102 = load double, ptr %101, align 8, !tbaa !19
  store double %102, ptr @ssorsi_.tol, align 8, !tbaa !19
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load ptr, ptr %20, align 8, !tbaa !5
  %105 = call i32 @ivfill_(ptr noundef %103, ptr noundef %104, ptr noundef @c__0)
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  %108 = call i32 @vfill_(ptr noundef %106, ptr noundef %107, ptr noundef @c_b21)
  %109 = load ptr, ptr %14, align 8, !tbaa !5
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = load ptr, ptr %16, align 8, !tbaa !5
  %112 = load ptr, ptr %17, align 8, !tbaa !5
  %113 = load ptr, ptr %18, align 8, !tbaa !5
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  %115 = load ptr, ptr %22, align 8, !tbaa !5
  %116 = call i32 @sbelm_(ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef @ssorsi_.tol, ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 2), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), ptr noundef @ssorsi_.ier)
  %117 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %118 = icmp ne i64 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %99
  br label %511

120:                                              ; preds = %99
  br label %121

121:                                              ; preds = %120, %94
  store i64 0, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %122 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %123 = load ptr, ptr %14, align 8, !tbaa !5
  %124 = load i64, ptr %123, align 8, !tbaa !9
  %125 = add nsw i64 %122, %124
  store i64 %125, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %126 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = load i64, ptr %127, align 8, !tbaa !9
  %129 = add nsw i64 %126, %128
  store i64 %129, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %130 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = load i64, ptr %131, align 8, !tbaa !9
  %133 = add nsw i64 %130, %132
  store i64 %133, ptr @ssorsi_.ib4, align 8, !tbaa !9
  %134 = load i64, ptr @ssorsi_.ib4, align 8, !tbaa !9
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = load i64, ptr %135, align 8, !tbaa !9
  %137 = add nsw i64 %134, %136
  store i64 %137, ptr @ssorsi_.ib5, align 8, !tbaa !9
  %138 = load ptr, ptr %14, align 8, !tbaa !5
  %139 = load i64, ptr %138, align 8, !tbaa !9
  %140 = mul nsw i64 %139, 5
  %141 = load ptr, ptr %23, align 8, !tbaa !5
  %142 = getelementptr inbounds i64, ptr %141, i64 7
  store i64 %140, ptr %142, align 8, !tbaa !9
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = load i64, ptr %143, align 8, !tbaa !9
  %145 = load ptr, ptr %23, align 8, !tbaa !5
  %146 = getelementptr inbounds i64, ptr %145, i64 7
  %147 = load i64, ptr %146, align 8, !tbaa !9
  %148 = icmp slt i64 %144, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %121
  store i64 52, ptr @ssorsi_.ier, align 8, !tbaa !9
  br label %150

150:                                              ; preds = %149, %121
  %151 = load ptr, ptr %23, align 8, !tbaa !5
  %152 = getelementptr inbounds i64, ptr %151, i64 8
  %153 = load i64, ptr %152, align 8, !tbaa !9
  store i64 %153, ptr @ssorsi_.nb, align 8, !tbaa !9
  %154 = load i64, ptr @ssorsi_.nb, align 8, !tbaa !9
  %155 = icmp slt i64 %154, 0
  br i1 %155, label %156, label %157

156:                                              ; preds = %150
  br label %196

157:                                              ; preds = %150
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = load i64, ptr %158, align 8, !tbaa !9
  %160 = mul nsw i64 %159, 3
  store i64 %160, ptr @ssorsi_.n3, align 8, !tbaa !9
  %161 = load ptr, ptr %20, align 8, !tbaa !5
  %162 = call i32 @ivfill_(ptr noundef @ssorsi_.n3, ptr noundef %161, ptr noundef @c__0)
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = load ptr, ptr %16, align 8, !tbaa !5
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  %167 = load ptr, ptr %20, align 8, !tbaa !5
  %168 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %169 = getelementptr inbounds i64, ptr %167, i64 %168
  %170 = call i32 @prbndx_(ptr noundef %163, ptr noundef @ssorsi_.nb, ptr noundef %164, ptr noundef %165, ptr noundef %166, ptr noundef %169, ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), ptr noundef @ssorsi_.ier)
  %171 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %172 = icmp ne i64 %171, 0
  br i1 %172, label %173, label %174

173:                                              ; preds = %157
  br label %511

174:                                              ; preds = %157
  %175 = load ptr, ptr %14, align 8, !tbaa !5
  %176 = load ptr, ptr %15, align 8, !tbaa !5
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  %178 = load ptr, ptr %17, align 8, !tbaa !5
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  %181 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %182 = getelementptr inbounds i64, ptr %180, i64 %181
  %183 = call i32 @permat_(ptr noundef %175, ptr noundef %176, ptr noundef %177, ptr noundef %178, ptr noundef %179, ptr noundef %182, ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 2), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), ptr noundef @ssorsi_.ier)
  %184 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %185 = icmp ne i64 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %174
  br label %511

187:                                              ; preds = %174
  %188 = load ptr, ptr %14, align 8, !tbaa !5
  %189 = load ptr, ptr %18, align 8, !tbaa !5
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = call i32 @pervec_(ptr noundef %188, ptr noundef %189, ptr noundef %190)
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  %193 = load ptr, ptr %19, align 8, !tbaa !5
  %194 = load ptr, ptr %20, align 8, !tbaa !5
  %195 = call i32 @pervec_(ptr noundef %192, ptr noundef %193, ptr noundef %194)
  br label %196

196:                                              ; preds = %187, %156
  %197 = load ptr, ptr %23, align 8, !tbaa !5
  %198 = getelementptr inbounds i64, ptr %197, i64 7
  %199 = load ptr, ptr %22, align 8, !tbaa !5
  %200 = call i32 @vfill_(ptr noundef %198, ptr noundef %199, ptr noundef @c_b21)
  %201 = load ptr, ptr %14, align 8, !tbaa !5
  %202 = load ptr, ptr %15, align 8, !tbaa !5
  %203 = load ptr, ptr %16, align 8, !tbaa !5
  %204 = load ptr, ptr %17, align 8, !tbaa !5
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = load ptr, ptr %19, align 8, !tbaa !5
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = call i32 @scal_(ptr noundef %201, ptr noundef %202, ptr noundef %203, ptr noundef %204, ptr noundef %205, ptr noundef %206, ptr noundef %207, ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), ptr noundef @ssorsi_.ier)
  %209 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %210 = icmp ne i64 %209, 0
  br i1 %210, label %211, label %212

211:                                              ; preds = %196
  br label %511

212:                                              ; preds = %196
  %213 = load ptr, ptr %23, align 8, !tbaa !5
  %214 = getelementptr inbounds i64, ptr %213, i64 10
  %215 = load i64, ptr %214, align 8, !tbaa !9
  %216 = icmp eq i64 %215, 0
  br i1 %216, label %217, label %220

217:                                              ; preds = %212
  %218 = call double @dsrc_timer_(ptr noundef null)
  %219 = fptrunc double %218 to float
  store float %219, ptr @ssorsi_.timi1, align 4, !tbaa !14
  br label %220

220:                                              ; preds = %217, %212
  %221 = load i64, ptr @itcom2_, align 8, !tbaa !21
  %222 = icmp ne i64 %221, 0
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  br label %274

224:                                              ; preds = %220
  %225 = load i64, ptr getelementptr inbounds (%struct.anon.1, ptr @itcom2_, i32 0, i32 1), align 8, !tbaa !23
  %226 = icmp ne i64 %225, 0
  br i1 %226, label %227, label %272

227:                                              ; preds = %224
  %228 = load ptr, ptr %14, align 8, !tbaa !5
  %229 = load ptr, ptr %22, align 8, !tbaa !5
  %230 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %231 = getelementptr inbounds double, ptr %229, i64 %230
  %232 = call i32 @vfill_(ptr noundef %228, ptr noundef %231, ptr noundef @c_b286)
  %233 = load ptr, ptr %14, align 8, !tbaa !5
  %234 = load ptr, ptr %15, align 8, !tbaa !5
  %235 = load ptr, ptr %16, align 8, !tbaa !5
  %236 = load ptr, ptr %17, align 8, !tbaa !5
  %237 = load ptr, ptr %22, align 8, !tbaa !5
  %238 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %239 = getelementptr inbounds double, ptr %237, i64 %238
  %240 = load ptr, ptr %22, align 8, !tbaa !5
  %241 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %242 = getelementptr inbounds double, ptr %240, i64 %241
  %243 = load ptr, ptr %22, align 8, !tbaa !5
  %244 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %245 = getelementptr inbounds double, ptr %243, i64 %244
  %246 = call double @pbeta_(ptr noundef %233, ptr noundef %234, ptr noundef %235, ptr noundef %236, ptr noundef %239, ptr noundef %242, ptr noundef %245)
  %247 = load ptr, ptr %14, align 8, !tbaa !5
  %248 = load i64, ptr %247, align 8, !tbaa !9
  %249 = sitofp i64 %248 to double
  %250 = fdiv double %246, %249
  store double %250, ptr @ssorsi_.betnew, align 8, !tbaa !19
  %251 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  %252 = fcmp oge double %251, 2.500000e-01
  br i1 %252, label %253, label %255

253:                                              ; preds = %227
  %254 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  br label %256

255:                                              ; preds = %227
  br label %256

256:                                              ; preds = %255, %253
  %257 = phi double [ %254, %253 ], [ 2.500000e-01, %255 ]
  %258 = load double, ptr @ssorsi_.betnew, align 8, !tbaa !19
  %259 = fcmp oge double %257, %258
  br i1 %259, label %260, label %268

260:                                              ; preds = %256
  %261 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  %262 = fcmp oge double %261, 2.500000e-01
  br i1 %262, label %263, label %265

263:                                              ; preds = %260
  %264 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  br label %266

265:                                              ; preds = %260
  br label %266

266:                                              ; preds = %265, %263
  %267 = phi double [ %264, %263 ], [ 2.500000e-01, %265 ]
  br label %270

268:                                              ; preds = %256
  %269 = load double, ptr @ssorsi_.betnew, align 8, !tbaa !19
  br label %270

270:                                              ; preds = %268, %266
  %271 = phi double [ %267, %266 ], [ %269, %268 ]
  store double %271, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  br label %272

272:                                              ; preds = %270, %224
  %273 = call i32 @omeg_(ptr noundef @c_b21, ptr noundef @c__1)
  store i64 0, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 1), align 8, !tbaa !25
  br label %274

274:                                              ; preds = %272, %223
  %275 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 3), align 8, !tbaa !26
  %276 = add nsw i64 %275, 1
  store i64 %276, ptr @ssorsi_.itmax1, align 8, !tbaa !9
  store i64 1, ptr @ssorsi_.loop, align 8, !tbaa !9
  br label %277

277:                                              ; preds = %342, %274
  %278 = load i64, ptr @ssorsi_.loop, align 8, !tbaa !9
  %279 = load i64, ptr @ssorsi_.itmax1, align 8, !tbaa !9
  %280 = icmp sle i64 %278, %279
  br i1 %280, label %281, label %345

281:                                              ; preds = %277
  %282 = load i64, ptr @ssorsi_.loop, align 8, !tbaa !9
  %283 = sub nsw i64 %282, 1
  store i64 %283, ptr @itcom1_, align 8, !tbaa !27
  %284 = load i64, ptr @itcom1_, align 8, !tbaa !27
  %285 = srem i64 %284, 2
  %286 = icmp eq i64 %285, 1
  br i1 %286, label %287, label %288

287:                                              ; preds = %281
  br label %315

288:                                              ; preds = %281
  %289 = load ptr, ptr %14, align 8, !tbaa !5
  %290 = load ptr, ptr %15, align 8, !tbaa !5
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = load ptr, ptr %17, align 8, !tbaa !5
  %293 = load ptr, ptr %18, align 8, !tbaa !5
  %294 = load ptr, ptr %19, align 8, !tbaa !5
  %295 = load ptr, ptr %22, align 8, !tbaa !5
  %296 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %297 = getelementptr inbounds double, ptr %295, i64 %296
  %298 = load ptr, ptr %22, align 8, !tbaa !5
  %299 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %300 = getelementptr inbounds double, ptr %298, i64 %299
  %301 = load ptr, ptr %22, align 8, !tbaa !5
  %302 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %303 = getelementptr inbounds double, ptr %301, i64 %302
  %304 = load ptr, ptr %22, align 8, !tbaa !5
  %305 = load i64, ptr @ssorsi_.ib4, align 8, !tbaa !9
  %306 = getelementptr inbounds double, ptr %304, i64 %305
  %307 = load ptr, ptr %22, align 8, !tbaa !5
  %308 = load i64, ptr @ssorsi_.ib5, align 8, !tbaa !9
  %309 = getelementptr inbounds double, ptr %307, i64 %308
  %310 = call i32 @itsrsi_(ptr noundef %289, ptr noundef %290, ptr noundef %291, ptr noundef %292, ptr noundef %293, ptr noundef %294, ptr noundef %297, ptr noundef %300, ptr noundef %303, ptr noundef %306, ptr noundef %309)
  %311 = load i64, ptr getelementptr inbounds (%struct.anon.1, ptr @itcom2_, i32 0, i32 3), align 8, !tbaa !28
  %312 = icmp ne i64 %311, 0
  br i1 %312, label %313, label %314

313:                                              ; preds = %288
  br label %367

314:                                              ; preds = %288
  br label %342

315:                                              ; preds = %287
  %316 = load ptr, ptr %14, align 8, !tbaa !5
  %317 = load ptr, ptr %15, align 8, !tbaa !5
  %318 = load ptr, ptr %16, align 8, !tbaa !5
  %319 = load ptr, ptr %17, align 8, !tbaa !5
  %320 = load ptr, ptr %18, align 8, !tbaa !5
  %321 = load ptr, ptr %22, align 8, !tbaa !5
  %322 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %323 = getelementptr inbounds double, ptr %321, i64 %322
  %324 = load ptr, ptr %19, align 8, !tbaa !5
  %325 = load ptr, ptr %22, align 8, !tbaa !5
  %326 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %327 = getelementptr inbounds double, ptr %325, i64 %326
  %328 = load ptr, ptr %22, align 8, !tbaa !5
  %329 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %330 = getelementptr inbounds double, ptr %328, i64 %329
  %331 = load ptr, ptr %22, align 8, !tbaa !5
  %332 = load i64, ptr @ssorsi_.ib4, align 8, !tbaa !9
  %333 = getelementptr inbounds double, ptr %331, i64 %332
  %334 = load ptr, ptr %22, align 8, !tbaa !5
  %335 = load i64, ptr @ssorsi_.ib5, align 8, !tbaa !9
  %336 = getelementptr inbounds double, ptr %334, i64 %335
  %337 = call i32 @itsrsi_(ptr noundef %316, ptr noundef %317, ptr noundef %318, ptr noundef %319, ptr noundef %320, ptr noundef %323, ptr noundef %324, ptr noundef %327, ptr noundef %330, ptr noundef %333, ptr noundef %336)
  %338 = load i64, ptr getelementptr inbounds (%struct.anon.1, ptr @itcom2_, i32 0, i32 3), align 8, !tbaa !28
  %339 = icmp ne i64 %338, 0
  br i1 %339, label %340, label %341

340:                                              ; preds = %315
  br label %367

341:                                              ; preds = %315
  br label %342

342:                                              ; preds = %341, %314
  %343 = load i64, ptr @ssorsi_.loop, align 8, !tbaa !9
  %344 = add nsw i64 %343, 1
  store i64 %344, ptr @ssorsi_.loop, align 8, !tbaa !9
  br label %277, !llvm.loop !29

345:                                              ; preds = %277
  %346 = load ptr, ptr %23, align 8, !tbaa !5
  %347 = getelementptr inbounds i64, ptr %346, i64 10
  %348 = load i64, ptr %347, align 8, !tbaa !9
  %349 = icmp eq i64 %348, 0
  br i1 %349, label %350, label %357

350:                                              ; preds = %345
  %351 = call double @dsrc_timer_(ptr noundef null)
  %352 = fptrunc double %351 to float
  store float %352, ptr @ssorsi_.timi2, align 4, !tbaa !14
  %353 = load float, ptr @ssorsi_.timi2, align 4, !tbaa !14
  %354 = load float, ptr @ssorsi_.timi1, align 4, !tbaa !14
  %355 = fsub float %353, %354
  %356 = fpext float %355 to double
  store double %356, ptr @ssorsi_.time1, align 8, !tbaa !19
  br label %357

357:                                              ; preds = %350, %345
  store i64 53, ptr @ssorsi_.ier, align 8, !tbaa !9
  %358 = load ptr, ptr %23, align 8, !tbaa !5
  %359 = getelementptr inbounds i64, ptr %358, i64 2
  %360 = load i64, ptr %359, align 8, !tbaa !9
  %361 = icmp eq i64 %360, 0
  br i1 %361, label %362, label %366

362:                                              ; preds = %357
  %363 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 17), align 8, !tbaa !31
  %364 = load ptr, ptr %24, align 8, !tbaa !5
  %365 = getelementptr inbounds double, ptr %364, i64 0
  store double %363, ptr %365, align 8, !tbaa !19
  br label %366

366:                                              ; preds = %362, %357
  br label %380

367:                                              ; preds = %340, %313
  %368 = load ptr, ptr %23, align 8, !tbaa !5
  %369 = getelementptr inbounds i64, ptr %368, i64 10
  %370 = load i64, ptr %369, align 8, !tbaa !9
  %371 = icmp eq i64 %370, 0
  br i1 %371, label %372, label %379

372:                                              ; preds = %367
  %373 = call double @dsrc_timer_(ptr noundef null)
  %374 = fptrunc double %373 to float
  store float %374, ptr @ssorsi_.timi2, align 4, !tbaa !14
  %375 = load float, ptr @ssorsi_.timi2, align 4, !tbaa !14
  %376 = load float, ptr @ssorsi_.timi1, align 4, !tbaa !14
  %377 = fsub float %375, %376
  %378 = fpext float %377 to double
  store double %378, ptr @ssorsi_.time1, align 8, !tbaa !19
  br label %379

379:                                              ; preds = %372, %367
  br label %380

380:                                              ; preds = %379, %366
  %381 = load i64, ptr @itcom1_, align 8, !tbaa !27
  %382 = srem i64 %381, 2
  %383 = icmp eq i64 %382, 1
  br i1 %383, label %384, label %391

384:                                              ; preds = %380
  %385 = load ptr, ptr %14, align 8, !tbaa !5
  %386 = load ptr, ptr %22, align 8, !tbaa !5
  %387 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !9
  %388 = getelementptr inbounds double, ptr %386, i64 %387
  %389 = load ptr, ptr %19, align 8, !tbaa !5
  %390 = call i32 @itpackdcopy_(ptr noundef %385, ptr noundef %388, ptr noundef @c__1, ptr noundef %389, ptr noundef @c__1)
  br label %391

391:                                              ; preds = %384, %380
  %392 = load ptr, ptr %14, align 8, !tbaa !5
  %393 = load ptr, ptr %15, align 8, !tbaa !5
  %394 = load ptr, ptr %16, align 8, !tbaa !5
  %395 = load ptr, ptr %17, align 8, !tbaa !5
  %396 = load ptr, ptr %18, align 8, !tbaa !5
  %397 = load ptr, ptr %19, align 8, !tbaa !5
  %398 = load ptr, ptr %22, align 8, !tbaa !5
  %399 = call i32 @unscal_(ptr noundef %392, ptr noundef %393, ptr noundef %394, ptr noundef %395, ptr noundef %396, ptr noundef %397, ptr noundef %398)
  %400 = load ptr, ptr %23, align 8, !tbaa !5
  %401 = getelementptr inbounds i64, ptr %400, i64 8
  %402 = load i64, ptr %401, align 8, !tbaa !9
  %403 = icmp slt i64 %402, 0
  br i1 %403, label %404, label %405

404:                                              ; preds = %391
  br label %438

405:                                              ; preds = %391
  %406 = load ptr, ptr %14, align 8, !tbaa !5
  %407 = load ptr, ptr %15, align 8, !tbaa !5
  %408 = load ptr, ptr %16, align 8, !tbaa !5
  %409 = load ptr, ptr %17, align 8, !tbaa !5
  %410 = load ptr, ptr %20, align 8, !tbaa !5
  %411 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %412 = getelementptr inbounds i64, ptr %410, i64 %411
  %413 = load ptr, ptr %20, align 8, !tbaa !5
  %414 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !9
  %415 = getelementptr inbounds i64, ptr %413, i64 %414
  %416 = call i32 @permat_(ptr noundef %406, ptr noundef %407, ptr noundef %408, ptr noundef %409, ptr noundef %412, ptr noundef %415, ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 2), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), ptr noundef getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 5), ptr noundef @ssorsi_.ierper)
  %417 = load i64, ptr @ssorsi_.ierper, align 8, !tbaa !9
  %418 = icmp ne i64 %417, 0
  br i1 %418, label %419, label %425

419:                                              ; preds = %405
  %420 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %421 = icmp eq i64 %420, 0
  br i1 %421, label %422, label %424

422:                                              ; preds = %419
  %423 = load i64, ptr @ssorsi_.ierper, align 8, !tbaa !9
  store i64 %423, ptr @ssorsi_.ier, align 8, !tbaa !9
  br label %424

424:                                              ; preds = %422, %419
  br label %511

425:                                              ; preds = %405
  %426 = load ptr, ptr %14, align 8, !tbaa !5
  %427 = load ptr, ptr %18, align 8, !tbaa !5
  %428 = load ptr, ptr %20, align 8, !tbaa !5
  %429 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %430 = getelementptr inbounds i64, ptr %428, i64 %429
  %431 = call i32 @pervec_(ptr noundef %426, ptr noundef %427, ptr noundef %430)
  %432 = load ptr, ptr %14, align 8, !tbaa !5
  %433 = load ptr, ptr %19, align 8, !tbaa !5
  %434 = load ptr, ptr %20, align 8, !tbaa !5
  %435 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !9
  %436 = getelementptr inbounds i64, ptr %434, i64 %435
  %437 = call i32 @pervec_(ptr noundef %432, ptr noundef %433, ptr noundef %436)
  br label %438

438:                                              ; preds = %425, %404
  %439 = load ptr, ptr %23, align 8, !tbaa !5
  %440 = getelementptr inbounds i64, ptr %439, i64 11
  %441 = load i64, ptr %440, align 8, !tbaa !9
  store i64 %441, ptr @ssorsi_.idgts, align 8, !tbaa !9
  %442 = load i64, ptr @ssorsi_.idgts, align 8, !tbaa !9
  %443 = icmp sge i64 %442, 0
  br i1 %443, label %444, label %459

444:                                              ; preds = %438
  %445 = load ptr, ptr %23, align 8, !tbaa !5
  %446 = getelementptr inbounds i64, ptr %445, i64 1
  %447 = load i64, ptr %446, align 8, !tbaa !9
  %448 = icmp sle i64 %447, 0
  br i1 %448, label %449, label %450

449:                                              ; preds = %444
  store i64 0, ptr @ssorsi_.idgts, align 8, !tbaa !9
  br label %450

450:                                              ; preds = %449, %444
  %451 = load ptr, ptr %14, align 8, !tbaa !5
  %452 = load ptr, ptr %15, align 8, !tbaa !5
  %453 = load ptr, ptr %16, align 8, !tbaa !5
  %454 = load ptr, ptr %17, align 8, !tbaa !5
  %455 = load ptr, ptr %18, align 8, !tbaa !5
  %456 = load ptr, ptr %19, align 8, !tbaa !5
  %457 = load ptr, ptr %22, align 8, !tbaa !5
  %458 = call i32 @perror_(ptr noundef %451, ptr noundef %452, ptr noundef %453, ptr noundef %454, ptr noundef %455, ptr noundef %456, ptr noundef %457, ptr noundef @ssorsi_.digit1, ptr noundef @ssorsi_.digit2, ptr noundef @ssorsi_.idgts)
  br label %459

459:                                              ; preds = %450, %438
  %460 = load ptr, ptr %23, align 8, !tbaa !5
  %461 = getelementptr inbounds i64, ptr %460, i64 10
  %462 = load i64, ptr %461, align 8, !tbaa !9
  %463 = icmp eq i64 %462, 0
  br i1 %463, label %464, label %471

464:                                              ; preds = %459
  %465 = call double @dsrc_timer_(ptr noundef null)
  %466 = fptrunc double %465 to float
  store float %466, ptr @ssorsi_.timj2, align 4, !tbaa !14
  %467 = load float, ptr @ssorsi_.timj2, align 4, !tbaa !14
  %468 = load float, ptr @ssorsi_.timj1, align 4, !tbaa !14
  %469 = fsub float %467, %468
  %470 = fpext float %469 to double
  store double %470, ptr @ssorsi_.time2, align 8, !tbaa !19
  br label %471

471:                                              ; preds = %464, %459
  %472 = load ptr, ptr %23, align 8, !tbaa !5
  %473 = getelementptr inbounds i64, ptr %472, i64 2
  %474 = load i64, ptr %473, align 8, !tbaa !9
  %475 = icmp eq i64 %474, 0
  br i1 %475, label %476, label %510

476:                                              ; preds = %471
  %477 = load i64, ptr @itcom1_, align 8, !tbaa !27
  %478 = load ptr, ptr %23, align 8, !tbaa !5
  %479 = getelementptr inbounds i64, ptr %478, i64 0
  store i64 %477, ptr %479, align 8, !tbaa !9
  %480 = load i64, ptr @ssorsi_.nb, align 8, !tbaa !9
  %481 = load ptr, ptr %23, align 8, !tbaa !5
  %482 = getelementptr inbounds i64, ptr %481, i64 8
  store i64 %480, ptr %482, align 8, !tbaa !9
  %483 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 2), align 8, !tbaa !32
  %484 = load ptr, ptr %24, align 8, !tbaa !5
  %485 = getelementptr inbounds double, ptr %484, i64 1
  store double %483, ptr %485, align 8, !tbaa !19
  %486 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 13), align 8, !tbaa !33
  %487 = load ptr, ptr %24, align 8, !tbaa !5
  %488 = getelementptr inbounds double, ptr %487, i64 2
  store double %486, ptr %488, align 8, !tbaa !19
  %489 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 7), align 8, !tbaa !34
  %490 = load ptr, ptr %24, align 8, !tbaa !5
  %491 = getelementptr inbounds double, ptr %490, i64 4
  store double %489, ptr %491, align 8, !tbaa !19
  %492 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 14), align 8, !tbaa !35
  %493 = load ptr, ptr %24, align 8, !tbaa !5
  %494 = getelementptr inbounds double, ptr %493, i64 5
  store double %492, ptr %494, align 8, !tbaa !19
  %495 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 1), align 8, !tbaa !24
  %496 = load ptr, ptr %24, align 8, !tbaa !5
  %497 = getelementptr inbounds double, ptr %496, i64 6
  store double %495, ptr %497, align 8, !tbaa !19
  %498 = load double, ptr @ssorsi_.time1, align 8, !tbaa !19
  %499 = load ptr, ptr %24, align 8, !tbaa !5
  %500 = getelementptr inbounds double, ptr %499, i64 8
  store double %498, ptr %500, align 8, !tbaa !19
  %501 = load double, ptr @ssorsi_.time2, align 8, !tbaa !19
  %502 = load ptr, ptr %24, align 8, !tbaa !5
  %503 = getelementptr inbounds double, ptr %502, i64 9
  store double %501, ptr %503, align 8, !tbaa !19
  %504 = load double, ptr @ssorsi_.digit1, align 8, !tbaa !19
  %505 = load ptr, ptr %24, align 8, !tbaa !5
  %506 = getelementptr inbounds double, ptr %505, i64 10
  store double %504, ptr %506, align 8, !tbaa !19
  %507 = load double, ptr @ssorsi_.digit2, align 8, !tbaa !19
  %508 = load ptr, ptr %24, align 8, !tbaa !5
  %509 = getelementptr inbounds double, ptr %508, i64 11
  store double %507, ptr %509, align 8, !tbaa !19
  br label %510

510:                                              ; preds = %476, %471
  br label %511

511:                                              ; preds = %510, %424, %211, %186, %173, %119, %93
  %512 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !9
  %513 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 %512, ptr %513, align 8, !tbaa !9
  %514 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), align 8, !tbaa !11
  %515 = icmp sge i64 %514, 3
  br i1 %515, label %516, label %525

516:                                              ; preds = %511
  %517 = load ptr, ptr %14, align 8, !tbaa !5
  %518 = load ptr, ptr %15, align 8, !tbaa !5
  %519 = load ptr, ptr %16, align 8, !tbaa !5
  %520 = load ptr, ptr %17, align 8, !tbaa !5
  %521 = load ptr, ptr %18, align 8, !tbaa !5
  %522 = load ptr, ptr %23, align 8, !tbaa !5
  %523 = load ptr, ptr %24, align 8, !tbaa !5
  %524 = call i32 @echall_(ptr noundef %517, ptr noundef %518, ptr noundef %519, ptr noundef %520, ptr noundef %521, ptr noundef %522, ptr noundef %523, ptr noundef @c__2)
  br label %525

525:                                              ; preds = %516, %511
  store i32 0, ptr %13, align 4
  br label %526

526:                                              ; preds = %525, %44
  %527 = load i32, ptr %13, align 4
  ret i32 %527
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @itsrsi_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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" }

!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, !10, i64 32}
!12 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!13 = !{!12, !10, i64 40}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!17, !18, i64 128}
!17 = !{!"", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152}
!18 = !{!"double", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!17, !18, i64 152}
!21 = !{!22, !10, i64 0}
!22 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!23 = !{!22, !10, i64 8}
!24 = !{!17, !18, i64 8}
!25 = !{!12, !10, i64 8}
!26 = !{!12, !10, i64 24}
!27 = !{!12, !10, i64 0}
!28 = !{!22, !10, i64 24}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!17, !18, i64 136}
!32 = !{!17, !18, i64 16}
!33 = !{!17, !18, i64 104}
!34 = !{!17, !18, i64 56}
!35 = !{!17, !18, i64 112}


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

%struct.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.anon.0 = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.anon.1 = type { i64, i64, i64, i64, i64 }

@itcom1_ = external hidden global %struct.anon, align 8
@c__1 = external hidden global i64, align 8
@itcom3_ = external hidden local_unnamed_addr global %struct.anon.0, align 8
@c__0 = external hidden global i64, align 8
@c_b21 = external hidden global double, align 8
@itcom2_ = external hidden local_unnamed_addr global %struct.anon.1, align 8
@c__2 = external hidden global i64, align 8
@c_b286 = external hidden global double, align 8
@ssorsi_.n3 = external hidden global i64, align 8
@ssorsi_.nb = external hidden global i64, align 8
@ssorsi_.ib1 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.ib2 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.ib3 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.ib4 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.ib5 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.ier = external hidden global i64, align 8
@ssorsi_.tol = external hidden global double, align 8
@ssorsi_.temp = external hidden local_unnamed_addr global double, align 8
@ssorsi_.loop = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.time1 = external hidden local_unnamed_addr global double, align 8
@ssorsi_.time2 = external hidden local_unnamed_addr global double, align 8
@ssorsi_.timi1 = external hidden local_unnamed_addr global float, align 4
@ssorsi_.timj1 = external hidden local_unnamed_addr global float, align 4
@ssorsi_.timi2 = external hidden local_unnamed_addr global float, align 4
@ssorsi_.timj2 = external hidden local_unnamed_addr global float, align 4
@ssorsi_.idgts = external hidden global i64, align 8
@ssorsi_.digit1 = external hidden global double, align 8
@ssorsi_.digit2 = external hidden global double, align 8
@ssorsi_.itmax1 = external hidden local_unnamed_addr global i64, align 8
@ssorsi_.betnew = external hidden local_unnamed_addr global double, align 8
@ssorsi_.ierper = external hidden global i64, align 8
@c__5 = external hidden global i64, align 8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @ssorsi_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr nocapture noundef writeonly %11) local_unnamed_addr #0 {
  %13 = getelementptr inbounds i8, ptr %9, i64 8
  %14 = load i64, ptr %13, align 8, !tbaa !5
  store i64 %14, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 32), align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %9, i64 24
  %16 = load i64, ptr %15, align 8, !tbaa !5
  store i64 %16, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 40), align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %9, i64 64
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = icmp sgt i64 %18, -1
  br i1 %19, label %20, label %22

20:                                               ; preds = %12
  %21 = getelementptr inbounds i8, ptr %9, i64 40
  store i64 2, ptr %21, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %20, %12
  store i64 0, ptr @ssorsi_.ier, align 8, !tbaa !5
  %23 = load i64, ptr %9, align 8, !tbaa !5
  %24 = icmp slt i64 %23, 1
  br i1 %24, label %256, label %25

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %9, i64 80
  %27 = load i64, ptr %26, align 8, !tbaa !5
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %25
  %30 = tail call double @dsrc_timer_(ptr noundef null)
  %31 = fptrunc double %30 to float
  store float %31, ptr @ssorsi_.timj1, align 4, !tbaa !12
  %.pre = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 32), align 8, !tbaa !9
  br label %32

32:                                               ; preds = %29, %25
  %33 = phi i64 [ %.pre, %29 ], [ %14, %25 ]
  %34 = icmp slt i64 %33, 3
  br i1 %34, label %35, label %37

35:                                               ; preds = %32
  %36 = tail call i32 @echout_(ptr noundef nonnull %9, ptr noundef %10, ptr noundef nonnull @c__5)
  br label %39

37:                                               ; preds = %32
  %38 = tail call i32 @echall_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %9, ptr noundef %10, ptr noundef nonnull @c__1)
  br label %39

39:                                               ; preds = %37, %35
  %40 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 128), align 8, !tbaa !14
  %41 = fmul double %40, 5.000000e+02
  store double %41, ptr @ssorsi_.temp, align 8, !tbaa !17
  %42 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 152), align 8, !tbaa !18
  %43 = fcmp olt double %42, %41
  br i1 %43, label %44, label %45

44:                                               ; preds = %39
  store double %41, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 152), align 8, !tbaa !18
  br label %45

45:                                               ; preds = %44, %39
  %46 = getelementptr inbounds i8, ptr %10, i64 64
  %47 = load double, ptr %46, align 8, !tbaa !17
  store double %47, ptr @ssorsi_.time1, align 8, !tbaa !17
  %48 = getelementptr inbounds i8, ptr %10, i64 72
  %49 = load double, ptr %48, align 8, !tbaa !17
  store double %49, ptr @ssorsi_.time2, align 8, !tbaa !17
  %50 = getelementptr inbounds i8, ptr %10, i64 80
  %51 = load double, ptr %50, align 8, !tbaa !17
  store double %51, ptr @ssorsi_.digit1, align 8, !tbaa !17
  %52 = getelementptr inbounds i8, ptr %10, i64 88
  %53 = load double, ptr %52, align 8, !tbaa !17
  store double %53, ptr @ssorsi_.digit2, align 8, !tbaa !17
  %54 = load i64, ptr %0, align 8, !tbaa !5
  %55 = icmp slt i64 %54, 1
  br i1 %55, label %56, label %57

56:                                               ; preds = %45
  store i64 51, ptr @ssorsi_.ier, align 8, !tbaa !5
  br label %250

57:                                               ; preds = %45
  %58 = getelementptr inbounds i8, ptr %9, i64 72
  %59 = load i64, ptr %58, align 8, !tbaa !5
  %.not = icmp eq i64 %59, 0
  br i1 %.not, label %67, label %60

60:                                               ; preds = %57
  %61 = getelementptr inbounds i8, ptr %10, i64 56
  %62 = load double, ptr %61, align 8, !tbaa !17
  store double %62, ptr @ssorsi_.tol, align 8, !tbaa !17
  %63 = tail call i32 @ivfill_(ptr noundef nonnull %0, ptr noundef %6, ptr noundef nonnull @c__0)
  %64 = tail call i32 @vfill_(ptr noundef nonnull %0, ptr noundef %8, ptr noundef nonnull @c_b21)
  %65 = tail call i32 @sbelm_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %6, ptr noundef %8, ptr noundef nonnull @ssorsi_.tol, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @ssorsi_.ier)
  %66 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  %.not164 = icmp eq i64 %66, 0
  br i1 %.not164, label %67, label %250

67:                                               ; preds = %60, %57
  store i64 0, ptr @ssorsi_.ib1, align 8, !tbaa !5
  %68 = load i64, ptr %0, align 8, !tbaa !5
  store i64 %68, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %69 = shl nsw i64 %68, 1
  store i64 %69, ptr @ssorsi_.ib3, align 8, !tbaa !5
  %70 = load i64, ptr %0, align 8, !tbaa !5
  %71 = add nsw i64 %70, %69
  store i64 %71, ptr @ssorsi_.ib4, align 8, !tbaa !5
  %72 = load i64, ptr %0, align 8, !tbaa !5
  %73 = add nsw i64 %72, %71
  store i64 %73, ptr @ssorsi_.ib5, align 8, !tbaa !5
  %74 = load i64, ptr %0, align 8, !tbaa !5
  %75 = mul nsw i64 %74, 5
  %76 = getelementptr inbounds i8, ptr %9, i64 56
  store i64 %75, ptr %76, align 8, !tbaa !5
  %77 = load i64, ptr %7, align 8, !tbaa !5
  %78 = icmp slt i64 %77, %75
  br i1 %78, label %79, label %80

79:                                               ; preds = %67
  store i64 52, ptr @ssorsi_.ier, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %79, %67
  %81 = load i64, ptr %17, align 8, !tbaa !5
  store i64 %81, ptr @ssorsi_.nb, align 8, !tbaa !5
  %82 = icmp slt i64 %81, 0
  br i1 %82, label %99, label %83

83:                                               ; preds = %80
  %84 = load i64, ptr %0, align 8, !tbaa !5
  %85 = mul nsw i64 %84, 3
  store i64 %85, ptr @ssorsi_.n3, align 8, !tbaa !5
  %86 = tail call i32 @ivfill_(ptr noundef nonnull @ssorsi_.n3, ptr noundef %6, ptr noundef nonnull @c__0)
  %87 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %88 = getelementptr inbounds i64, ptr %6, i64 %87
  %89 = tail call i32 @prbndx_(ptr noundef nonnull %0, ptr noundef nonnull @ssorsi_.nb, ptr noundef %1, ptr noundef %2, ptr noundef %6, ptr noundef %88, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @ssorsi_.ier)
  %90 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  %.not165 = icmp eq i64 %90, 0
  br i1 %.not165, label %91, label %250

91:                                               ; preds = %83
  %92 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !5
  %93 = getelementptr inbounds i64, ptr %6, i64 %92
  %94 = tail call i32 @permat_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %6, ptr noundef %93, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @ssorsi_.ier)
  %95 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  %.not166 = icmp eq i64 %95, 0
  br i1 %.not166, label %96, label %250

96:                                               ; preds = %91
  %97 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %6)
  %98 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %6)
  br label %99

99:                                               ; preds = %80, %96
  %100 = tail call i32 @vfill_(ptr noundef nonnull %76, ptr noundef %8, ptr noundef nonnull @c_b21)
  %101 = tail call i32 @scal_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %8, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @ssorsi_.ier)
  %102 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  %.not167 = icmp eq i64 %102, 0
  br i1 %.not167, label %103, label %250

103:                                              ; preds = %99
  %104 = load i64, ptr %26, align 8, !tbaa !5
  %105 = icmp eq i64 %104, 0
  br i1 %105, label %106, label %109

106:                                              ; preds = %103
  %107 = tail call double @dsrc_timer_(ptr noundef null)
  %108 = fptrunc double %107 to float
  store float %108, ptr @ssorsi_.timi1, align 4, !tbaa !12
  br label %109

109:                                              ; preds = %106, %103
  %110 = load i64, ptr @itcom2_, align 8, !tbaa !19
  %.not168 = icmp eq i64 %110, 0
  br i1 %.not168, label %132, label %111

111:                                              ; preds = %109
  %112 = load i64, ptr getelementptr inbounds (i8, ptr @itcom2_, i64 8), align 8, !tbaa !21
  %.not169 = icmp eq i64 %112, 0
  br i1 %.not169, label %130, label %113

113:                                              ; preds = %111
  %114 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !5
  %115 = getelementptr inbounds double, ptr %8, i64 %114
  %116 = tail call i32 @vfill_(ptr noundef nonnull %0, ptr noundef %115, ptr noundef nonnull @c_b286)
  %117 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !5
  %118 = getelementptr inbounds double, ptr %8, i64 %117
  %119 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %120 = getelementptr inbounds double, ptr %8, i64 %119
  %121 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !5
  %122 = getelementptr inbounds double, ptr %8, i64 %121
  %123 = tail call double @pbeta_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %118, ptr noundef %120, ptr noundef %122)
  %124 = load i64, ptr %0, align 8, !tbaa !5
  %125 = sitofp i64 %124 to double
  %126 = fdiv double %123, %125
  store double %126, ptr @ssorsi_.betnew, align 8, !tbaa !17
  %127 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 8), align 8
  %128 = fcmp oge double %127, 2.500000e-01
  %129 = select i1 %128, double %127, double 2.500000e-01
  %.inv = fcmp oge double %129, %126
  %. = select i1 %.inv, double %129, double %126
  store double %., ptr getelementptr inbounds (i8, ptr @itcom3_, i64 8), align 8, !tbaa !22
  br label %130

130:                                              ; preds = %113, %111
  %131 = tail call i32 @omeg_(ptr noundef nonnull @c_b21, ptr noundef nonnull @c__1)
  store i64 0, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 8), align 8, !tbaa !23
  br label %132

132:                                              ; preds = %109, %130
  %133 = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 24), align 8, !tbaa !24
  %134 = add nsw i64 %133, 1
  store i64 %134, ptr @ssorsi_.itmax1, align 8, !tbaa !5
  store i64 1, ptr @ssorsi_.loop, align 8, !tbaa !5
  %.not170174 = icmp slt i64 %133, 0
  br i1 %.not170174, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %132, %153
  %storemerge175 = phi i64 [ %154, %153 ], [ 0, %132 ]
  store i64 %storemerge175, ptr @itcom1_, align 8, !tbaa !25
  %135 = and i64 %storemerge175, -9223372036854775807
  %136 = icmp eq i64 %135, 1
  %137 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !5
  %138 = getelementptr inbounds double, ptr %8, i64 %137
  %139 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %140 = getelementptr inbounds double, ptr %8, i64 %139
  %141 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !5
  %142 = getelementptr inbounds double, ptr %8, i64 %141
  %143 = load i64, ptr @ssorsi_.ib4, align 8, !tbaa !5
  %144 = getelementptr inbounds double, ptr %8, i64 %143
  %145 = load i64, ptr @ssorsi_.ib5, align 8, !tbaa !5
  %146 = getelementptr inbounds double, ptr %8, i64 %145
  br i1 %136, label %150, label %147

147:                                              ; preds = %.lr.ph
  %148 = tail call i32 @itsrsi_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %138, ptr noundef %140, ptr noundef %142, ptr noundef %144, ptr noundef %146)
  %149 = load i64, ptr getelementptr inbounds (i8, ptr @itcom2_, i64 24), align 8, !tbaa !26
  %.not171 = icmp eq i64 %149, 0
  br i1 %.not171, label %153, label %171

150:                                              ; preds = %.lr.ph
  %151 = tail call i32 @itsrsi_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %138, ptr noundef %5, ptr noundef %140, ptr noundef %142, ptr noundef %144, ptr noundef %146)
  %152 = load i64, ptr getelementptr inbounds (i8, ptr @itcom2_, i64 24), align 8, !tbaa !26
  %.not172 = icmp eq i64 %152, 0
  br i1 %.not172, label %153, label %171

153:                                              ; preds = %150, %147
  %154 = load i64, ptr @ssorsi_.loop, align 8, !tbaa !5
  %155 = add nsw i64 %154, 1
  store i64 %155, ptr @ssorsi_.loop, align 8, !tbaa !5
  %156 = load i64, ptr @ssorsi_.itmax1, align 8, !tbaa !5
  %.not170.not = icmp slt i64 %154, %156
  br i1 %.not170.not, label %.lr.ph, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %153, %132
  %157 = load i64, ptr %26, align 8, !tbaa !5
  %158 = icmp eq i64 %157, 0
  br i1 %158, label %159, label %165

159:                                              ; preds = %._crit_edge
  %160 = tail call double @dsrc_timer_(ptr noundef null)
  %161 = fptrunc double %160 to float
  store float %161, ptr @ssorsi_.timi2, align 4, !tbaa !12
  %162 = load float, ptr @ssorsi_.timi1, align 4, !tbaa !12
  %163 = fsub float %161, %162
  %164 = fpext float %163 to double
  store double %164, ptr @ssorsi_.time1, align 8, !tbaa !17
  br label %165

165:                                              ; preds = %159, %._crit_edge
  store i64 53, ptr @ssorsi_.ier, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %9, i64 16
  %167 = load i64, ptr %166, align 8, !tbaa !5
  %168 = icmp eq i64 %167, 0
  br i1 %168, label %169, label %180

169:                                              ; preds = %165
  %170 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 136), align 8, !tbaa !29
  store double %170, ptr %10, align 8, !tbaa !17
  br label %180

171:                                              ; preds = %150, %147
  %172 = load i64, ptr %26, align 8, !tbaa !5
  %173 = icmp eq i64 %172, 0
  br i1 %173, label %174, label %180

174:                                              ; preds = %171
  %175 = tail call double @dsrc_timer_(ptr noundef null)
  %176 = fptrunc double %175 to float
  store float %176, ptr @ssorsi_.timi2, align 4, !tbaa !12
  %177 = load float, ptr @ssorsi_.timi1, align 4, !tbaa !12
  %178 = fsub float %176, %177
  %179 = fpext float %178 to double
  store double %179, ptr @ssorsi_.time1, align 8, !tbaa !17
  br label %180

180:                                              ; preds = %171, %174, %165, %169
  %181 = load i64, ptr @itcom1_, align 8, !tbaa !25
  %182 = and i64 %181, -9223372036854775807
  %183 = icmp eq i64 %182, 1
  br i1 %183, label %184, label %188

184:                                              ; preds = %180
  %185 = load i64, ptr @ssorsi_.ib1, align 8, !tbaa !5
  %186 = getelementptr inbounds double, ptr %8, i64 %185
  %187 = tail call i32 @itpackdcopy_(ptr noundef nonnull %0, ptr noundef %186, ptr noundef nonnull @c__1, ptr noundef %5, ptr noundef nonnull @c__1)
  br label %188

188:                                              ; preds = %184, %180
  %189 = tail call i32 @unscal_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %8)
  %190 = load i64, ptr %17, align 8, !tbaa !5
  %191 = icmp slt i64 %190, 0
  br i1 %191, label %210, label %192

192:                                              ; preds = %188
  %193 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %194 = getelementptr inbounds i64, ptr %6, i64 %193
  %195 = load i64, ptr @ssorsi_.ib3, align 8, !tbaa !5
  %196 = getelementptr inbounds i64, ptr %6, i64 %195
  %197 = tail call i32 @permat_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %194, ptr noundef %196, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @ssorsi_.ierper)
  %198 = load i64, ptr @ssorsi_.ierper, align 8, !tbaa !5
  %.not173 = icmp eq i64 %198, 0
  br i1 %.not173, label %203, label %199

199:                                              ; preds = %192
  %200 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  %201 = icmp eq i64 %200, 0
  br i1 %201, label %202, label %250

202:                                              ; preds = %199
  store i64 %198, ptr @ssorsi_.ier, align 8, !tbaa !5
  br label %250

203:                                              ; preds = %192
  %204 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %205 = getelementptr inbounds i64, ptr %6, i64 %204
  %206 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %205)
  %207 = load i64, ptr @ssorsi_.ib2, align 8, !tbaa !5
  %208 = getelementptr inbounds i64, ptr %6, i64 %207
  %209 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %208)
  br label %210

210:                                              ; preds = %188, %203
  %211 = getelementptr inbounds i8, ptr %9, i64 88
  %212 = load i64, ptr %211, align 8, !tbaa !5
  store i64 %212, ptr @ssorsi_.idgts, align 8, !tbaa !5
  %213 = icmp sgt i64 %212, -1
  br i1 %213, label %214, label %220

214:                                              ; preds = %210
  %215 = load i64, ptr %13, align 8, !tbaa !5
  %216 = icmp slt i64 %215, 1
  br i1 %216, label %217, label %218

217:                                              ; preds = %214
  store i64 0, ptr @ssorsi_.idgts, align 8, !tbaa !5
  br label %218

218:                                              ; preds = %217, %214
  %219 = tail call i32 @perror_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %8, ptr noundef nonnull @ssorsi_.digit1, ptr noundef nonnull @ssorsi_.digit2, ptr noundef nonnull @ssorsi_.idgts)
  br label %220

220:                                              ; preds = %218, %210
  %221 = load i64, ptr %26, align 8, !tbaa !5
  %222 = icmp eq i64 %221, 0
  br i1 %222, label %223, label %229

223:                                              ; preds = %220
  %224 = tail call double @dsrc_timer_(ptr noundef null)
  %225 = fptrunc double %224 to float
  store float %225, ptr @ssorsi_.timj2, align 4, !tbaa !12
  %226 = load float, ptr @ssorsi_.timj1, align 4, !tbaa !12
  %227 = fsub float %225, %226
  %228 = fpext float %227 to double
  store double %228, ptr @ssorsi_.time2, align 8, !tbaa !17
  br label %229

229:                                              ; preds = %223, %220
  %230 = getelementptr inbounds i8, ptr %9, i64 16
  %231 = load i64, ptr %230, align 8, !tbaa !5
  %232 = icmp eq i64 %231, 0
  br i1 %232, label %233, label %250

233:                                              ; preds = %229
  %234 = load i64, ptr @itcom1_, align 8, !tbaa !25
  store i64 %234, ptr %9, align 8, !tbaa !5
  %235 = load i64, ptr @ssorsi_.nb, align 8, !tbaa !5
  store i64 %235, ptr %17, align 8, !tbaa !5
  %236 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 16), align 8, !tbaa !30
  %237 = getelementptr inbounds i8, ptr %10, i64 8
  store double %236, ptr %237, align 8, !tbaa !17
  %238 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 104), align 8, !tbaa !31
  %239 = getelementptr inbounds i8, ptr %10, i64 16
  store double %238, ptr %239, align 8, !tbaa !17
  %240 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 56), align 8, !tbaa !32
  %241 = getelementptr inbounds i8, ptr %10, i64 32
  store double %240, ptr %241, align 8, !tbaa !17
  %242 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 112), align 8, !tbaa !33
  %243 = getelementptr inbounds i8, ptr %10, i64 40
  store double %242, ptr %243, align 8, !tbaa !17
  %244 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 8), align 8, !tbaa !22
  %245 = getelementptr inbounds i8, ptr %10, i64 48
  store double %244, ptr %245, align 8, !tbaa !17
  %246 = load double, ptr @ssorsi_.time1, align 8, !tbaa !17
  store double %246, ptr %46, align 8, !tbaa !17
  %247 = load double, ptr @ssorsi_.time2, align 8, !tbaa !17
  store double %247, ptr %48, align 8, !tbaa !17
  %248 = load double, ptr @ssorsi_.digit1, align 8, !tbaa !17
  store double %248, ptr %50, align 8, !tbaa !17
  %249 = load double, ptr @ssorsi_.digit2, align 8, !tbaa !17
  store double %249, ptr %52, align 8, !tbaa !17
  br label %250

250:                                              ; preds = %229, %233, %199, %202, %99, %91, %83, %60, %56
  %251 = load i64, ptr @ssorsi_.ier, align 8, !tbaa !5
  store i64 %251, ptr %11, align 8, !tbaa !5
  %252 = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 32), align 8, !tbaa !9
  %253 = icmp sgt i64 %252, 2
  br i1 %253, label %254, label %256

254:                                              ; preds = %250
  %255 = tail call i32 @echall_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef nonnull %9, ptr noundef %10, ptr noundef nonnull @c__2)
  br label %256

256:                                              ; preds = %250, %254, %22
  ret i32 0
}

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!11 = !{!10, !6, i64 40}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = !{!15, !16, i64 128}
!15 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152}
!16 = !{!"double", !7, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !16, i64 152}
!19 = !{!20, !6, i64 0}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!21 = !{!20, !6, i64 8}
!22 = !{!15, !16, i64 8}
!23 = !{!10, !6, i64 8}
!24 = !{!10, !6, i64 24}
!25 = !{!10, !6, i64 0}
!26 = !{!20, !6, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!15, !16, i64 136}
!30 = !{!15, !16, i64 16}
!31 = !{!15, !16, i64 104}
!32 = !{!15, !16, i64 56}
!33 = !{!15, !16, i64 112}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass