; 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
@rssi_.n3 = external hidden global i64, align 8
@rssi_.nb = external hidden global i64, align 8
@rssi_.nr = external hidden global i64, align 8
@rssi_.ib1 = external hidden global i64, align 8
@rssi_.ib2 = external hidden global i64, align 8
@rssi_.jb3 = external hidden global i64, align 8
@rssi_.ier = external hidden global i64, align 8
@rssi_.tol = external hidden global double, align 8
@rssi_.temp = external hidden global double, align 8
@rssi_.loop = external hidden global i64, align 8
@rssi_.time1 = external hidden global double, align 8
@rssi_.time2 = external hidden global double, align 8
@rssi_.timi1 = external hidden global float, align 4
@rssi_.timj1 = external hidden global float, align 4
@rssi_.timi2 = external hidden global float, align 4
@rssi_.timj2 = external hidden global float, align 4
@rssi_.idgts = external hidden global i64, align 8
@rssi_.digit1 = external hidden global double, align 8
@rssi_.digit2 = external hidden global double, align 8
@rssi_.itmax1 = external hidden global i64, align 8
@rssi_.ierper = external hidden global i64, align 8
@c__7 = 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 i32 @prsred_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @rssi_(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
  store i64 0, ptr @rssi_.ier, align 8, !tbaa !9
  %32 = load ptr, ptr %23, align 8, !tbaa !5
  %33 = getelementptr inbounds i64, ptr %32, i64 0
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = icmp sle i64 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %12
  store i32 0, ptr %13, align 4
  br label %482

37:                                               ; preds = %12
  %38 = load ptr, ptr %23, align 8, !tbaa !5
  %39 = getelementptr inbounds i64, ptr %38, i64 10
  %40 = load i64, ptr %39, align 8, !tbaa !9
  %41 = icmp eq i64 %40, 0
  br i1 %41, label %42, label %45

42:                                               ; preds = %37
  %43 = call double @dsrc_timer_(ptr noundef null)
  %44 = fptrunc double %43 to float
  store float %44, ptr @rssi_.timj1, align 4, !tbaa !14
  br label %45

45:                                               ; preds = %42, %37
  %46 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), align 8, !tbaa !11
  %47 = icmp slt i64 %46, 3
  br i1 %47, label %48, label %52

48:                                               ; preds = %45
  %49 = load ptr, ptr %23, align 8, !tbaa !5
  %50 = load ptr, ptr %24, align 8, !tbaa !5
  %51 = call i32 @echout_(ptr noundef %49, ptr noundef %50, ptr noundef @c__7)
  br label %61

52:                                               ; preds = %45
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = load ptr, ptr %16, align 8, !tbaa !5
  %56 = load ptr, ptr %17, align 8, !tbaa !5
  %57 = load ptr, ptr %18, align 8, !tbaa !5
  %58 = load ptr, ptr %23, align 8, !tbaa !5
  %59 = load ptr, ptr %24, align 8, !tbaa !5
  %60 = call i32 @echall_(ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef @c__1)
  br label %61

61:                                               ; preds = %52, %48
  %62 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 16), align 8, !tbaa !16
  %63 = fmul double %62, 5.000000e+02
  store double %63, ptr @rssi_.temp, align 8, !tbaa !19
  %64 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 19), align 8, !tbaa !20
  %65 = load double, ptr @rssi_.temp, align 8, !tbaa !19
  %66 = fcmp olt double %64, %65
  br i1 %66, label %67, label %69

67:                                               ; preds = %61
  %68 = load double, ptr @rssi_.temp, align 8, !tbaa !19
  store double %68, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 19), align 8, !tbaa !20
  br label %69

69:                                               ; preds = %67, %61
  %70 = load ptr, ptr %24, align 8, !tbaa !5
  %71 = getelementptr inbounds double, ptr %70, i64 8
  %72 = load double, ptr %71, align 8, !tbaa !19
  store double %72, ptr @rssi_.time1, align 8, !tbaa !19
  %73 = load ptr, ptr %24, align 8, !tbaa !5
  %74 = getelementptr inbounds double, ptr %73, i64 9
  %75 = load double, ptr %74, align 8, !tbaa !19
  store double %75, ptr @rssi_.time2, align 8, !tbaa !19
  %76 = load ptr, ptr %24, align 8, !tbaa !5
  %77 = getelementptr inbounds double, ptr %76, i64 10
  %78 = load double, ptr %77, align 8, !tbaa !19
  store double %78, ptr @rssi_.digit1, align 8, !tbaa !19
  %79 = load ptr, ptr %24, align 8, !tbaa !5
  %80 = getelementptr inbounds double, ptr %79, i64 11
  %81 = load double, ptr %80, align 8, !tbaa !19
  store double %81, ptr @rssi_.digit2, align 8, !tbaa !19
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load i64, ptr %82, align 8, !tbaa !9
  %84 = icmp sle i64 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %69
  store i64 71, ptr @rssi_.ier, align 8, !tbaa !9
  br label %467

86:                                               ; preds = %69
  %87 = load ptr, ptr %23, align 8, !tbaa !5
  %88 = getelementptr inbounds i64, ptr %87, i64 9
  %89 = load i64, ptr %88, align 8, !tbaa !9
  %90 = icmp ne i64 %89, 0
  br i1 %90, label %91, label %109

91:                                               ; preds = %86
  %92 = load ptr, ptr %24, align 8, !tbaa !5
  %93 = getelementptr inbounds double, ptr %92, i64 7
  %94 = load double, ptr %93, align 8, !tbaa !19
  store double %94, ptr @rssi_.tol, align 8, !tbaa !19
  %95 = load ptr, ptr %14, align 8, !tbaa !5
  %96 = load ptr, ptr %20, align 8, !tbaa !5
  %97 = call i32 @ivfill_(ptr noundef %95, ptr noundef %96, ptr noundef @c__0)
  %98 = load ptr, ptr %14, align 8, !tbaa !5
  %99 = load ptr, ptr %22, align 8, !tbaa !5
  %100 = call i32 @vfill_(ptr noundef %98, ptr noundef %99, ptr noundef @c_b21)
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = load ptr, ptr %16, align 8, !tbaa !5
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = load ptr, ptr %18, align 8, !tbaa !5
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  %107 = load ptr, ptr %22, align 8, !tbaa !5
  %108 = call i32 @sbelm_(ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105, ptr noundef %106, ptr noundef %107, ptr noundef @rssi_.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 @rssi_.ier)
  br label %109

109:                                              ; preds = %91, %86
  store i64 0, ptr @rssi_.ib1, align 8, !tbaa !9
  %110 = load i64, ptr @rssi_.ib1, align 8, !tbaa !9
  %111 = load ptr, ptr %14, align 8, !tbaa !5
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %113 = add nsw i64 %110, %112
  store i64 %113, ptr @rssi_.ib2, align 8, !tbaa !9
  %114 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %115 = load ptr, ptr %14, align 8, !tbaa !5
  %116 = load i64, ptr %115, align 8, !tbaa !9
  %117 = add nsw i64 %114, %116
  store i64 %117, ptr @rssi_.jb3, align 8, !tbaa !9
  %118 = load ptr, ptr %23, align 8, !tbaa !5
  %119 = getelementptr inbounds i64, ptr %118, i64 8
  %120 = load i64, ptr %119, align 8, !tbaa !9
  store i64 %120, ptr @rssi_.nb, align 8, !tbaa !9
  %121 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %122 = icmp slt i64 %121, 0
  br i1 %122, label %123, label %141

123:                                              ; preds = %109
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = load i64, ptr %124, align 8, !tbaa !9
  %126 = mul nsw i64 %125, 3
  store i64 %126, ptr @rssi_.n3, align 8, !tbaa !9
  %127 = load ptr, ptr %20, align 8, !tbaa !5
  %128 = call i32 @ivfill_(ptr noundef @rssi_.n3, ptr noundef %127, ptr noundef @c__0)
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = load ptr, ptr %20, align 8, !tbaa !5
  %134 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %135 = getelementptr inbounds i64, ptr %133, i64 %134
  %136 = call i32 @prbndx_(ptr noundef %129, ptr noundef @rssi_.nb, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %135, 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 @rssi_.ier)
  %137 = load i64, ptr @rssi_.ier, align 8, !tbaa !9
  %138 = icmp ne i64 %137, 0
  br i1 %138, label %139, label %140

139:                                              ; preds = %123
  br label %467

140:                                              ; preds = %123
  br label %141

141:                                              ; preds = %140, %109
  %142 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %143 = icmp slt i64 %142, 0
  br i1 %143, label %149, label %144

144:                                              ; preds = %141
  %145 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %146 = load ptr, ptr %14, align 8, !tbaa !5
  %147 = load i64, ptr %146, align 8, !tbaa !9
  %148 = icmp sgt i64 %145, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %144, %141
  store i64 74, ptr @rssi_.ier, align 8, !tbaa !9
  br label %467

150:                                              ; preds = %144
  %151 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %152 = icmp eq i64 %151, 0
  br i1 %152, label %158, label %153

153:                                              ; preds = %150
  %154 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  %156 = load i64, ptr %155, align 8, !tbaa !9
  %157 = icmp eq i64 %154, %156
  br i1 %157, label %158, label %162

158:                                              ; preds = %153, %150
  %159 = load ptr, ptr %14, align 8, !tbaa !5
  %160 = load i64, ptr %159, align 8, !tbaa !9
  %161 = sdiv i64 %160, 2
  store i64 %161, ptr @rssi_.nb, align 8, !tbaa !9
  br label %162

162:                                              ; preds = %158, %153
  %163 = load ptr, ptr %23, align 8, !tbaa !5
  %164 = getelementptr inbounds i64, ptr %163, i64 8
  %165 = load i64, ptr %164, align 8, !tbaa !9
  %166 = icmp slt i64 %165, 0
  br i1 %166, label %167, label %189

167:                                              ; preds = %162
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = load ptr, ptr %16, align 8, !tbaa !5
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = load ptr, ptr %20, align 8, !tbaa !5
  %173 = load ptr, ptr %20, align 8, !tbaa !5
  %174 = load i64, ptr @rssi_.jb3, align 8, !tbaa !9
  %175 = getelementptr inbounds i64, ptr %173, i64 %174
  %176 = call i32 @permat_(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172, ptr noundef %175, 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 @rssi_.ier)
  %177 = load i64, ptr @rssi_.ier, align 8, !tbaa !9
  %178 = icmp ne i64 %177, 0
  br i1 %178, label %179, label %180

179:                                              ; preds = %167
  br label %467

180:                                              ; preds = %167
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = load ptr, ptr %20, align 8, !tbaa !5
  %184 = call i32 @pervec_(ptr noundef %181, ptr noundef %182, ptr noundef %183)
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = load ptr, ptr %19, align 8, !tbaa !5
  %187 = load ptr, ptr %20, align 8, !tbaa !5
  %188 = call i32 @pervec_(ptr noundef %185, ptr noundef %186, ptr noundef %187)
  br label %189

189:                                              ; preds = %180, %162
  %190 = load ptr, ptr %14, align 8, !tbaa !5
  %191 = load i64, ptr %190, align 8, !tbaa !9
  %192 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %193 = sub nsw i64 %191, %192
  store i64 %193, ptr @rssi_.nr, align 8, !tbaa !9
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = load i64, ptr %194, align 8, !tbaa !9
  %196 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %197 = add nsw i64 %195, %196
  %198 = load ptr, ptr %23, align 8, !tbaa !5
  %199 = getelementptr inbounds i64, ptr %198, i64 7
  store i64 %197, ptr %199, align 8, !tbaa !9
  %200 = load ptr, ptr %21, align 8, !tbaa !5
  %201 = load i64, ptr %200, align 8, !tbaa !9
  %202 = load ptr, ptr %23, align 8, !tbaa !5
  %203 = getelementptr inbounds i64, ptr %202, i64 7
  %204 = load i64, ptr %203, align 8, !tbaa !9
  %205 = icmp slt i64 %201, %204
  br i1 %205, label %206, label %207

206:                                              ; preds = %189
  store i64 72, ptr @rssi_.ier, align 8, !tbaa !9
  br label %467

207:                                              ; preds = %189
  %208 = load ptr, ptr %23, align 8, !tbaa !5
  %209 = getelementptr inbounds i64, ptr %208, i64 7
  %210 = load ptr, ptr %22, align 8, !tbaa !5
  %211 = call i32 @vfill_(ptr noundef %209, ptr noundef %210, ptr noundef @c_b21)
  %212 = load ptr, ptr %14, align 8, !tbaa !5
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = load ptr, ptr %16, align 8, !tbaa !5
  %215 = load ptr, ptr %17, align 8, !tbaa !5
  %216 = load ptr, ptr %18, align 8, !tbaa !5
  %217 = load ptr, ptr %19, align 8, !tbaa !5
  %218 = load ptr, ptr %22, align 8, !tbaa !5
  %219 = call i32 @scal_(ptr noundef %212, ptr noundef %213, ptr noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217, ptr noundef %218, 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 @rssi_.ier)
  %220 = load i64, ptr @rssi_.ier, align 8, !tbaa !9
  %221 = icmp ne i64 %220, 0
  br i1 %221, label %222, label %223

222:                                              ; preds = %207
  br label %467

223:                                              ; preds = %207
  %224 = load ptr, ptr %23, align 8, !tbaa !5
  %225 = getelementptr inbounds i64, ptr %224, i64 10
  %226 = load i64, ptr %225, align 8, !tbaa !9
  %227 = icmp eq i64 %226, 0
  br i1 %227, label %228, label %231

228:                                              ; preds = %223
  %229 = call double @dsrc_timer_(ptr noundef null)
  %230 = fptrunc double %229 to float
  store float %230, ptr @rssi_.timi1, align 4, !tbaa !14
  br label %231

231:                                              ; preds = %228, %223
  %232 = load ptr, ptr %14, align 8, !tbaa !5
  %233 = load i64, ptr %232, align 8, !tbaa !9
  %234 = icmp sle i64 %233, 1
  br i1 %234, label %235, label %241

235:                                              ; preds = %231
  %236 = load ptr, ptr %18, align 8, !tbaa !5
  %237 = getelementptr inbounds double, ptr %236, i64 0
  %238 = load double, ptr %237, align 8, !tbaa !19
  %239 = load ptr, ptr %19, align 8, !tbaa !5
  %240 = getelementptr inbounds double, ptr %239, i64 0
  store double %238, ptr %240, align 8, !tbaa !19
  br label %316

241:                                              ; preds = %231
  %242 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 3), align 8, !tbaa !21
  %243 = add nsw i64 %242, 1
  store i64 %243, ptr @rssi_.itmax1, align 8, !tbaa !9
  store i64 1, ptr @rssi_.loop, align 8, !tbaa !9
  br label %244

244:                                              ; preds = %291, %241
  %245 = load i64, ptr @rssi_.loop, align 8, !tbaa !9
  %246 = load i64, ptr @rssi_.itmax1, align 8, !tbaa !9
  %247 = icmp sle i64 %245, %246
  br i1 %247, label %248, label %294

248:                                              ; preds = %244
  %249 = load i64, ptr @rssi_.loop, align 8, !tbaa !9
  %250 = sub nsw i64 %249, 1
  store i64 %250, ptr @itcom1_, align 8, !tbaa !22
  %251 = load i64, ptr @itcom1_, align 8, !tbaa !22
  %252 = srem i64 %251, 2
  %253 = icmp eq i64 %252, 1
  br i1 %253, label %254, label %255

254:                                              ; preds = %248
  br label %273

255:                                              ; preds = %248
  %256 = load ptr, ptr %14, align 8, !tbaa !5
  %257 = load ptr, ptr %15, align 8, !tbaa !5
  %258 = load ptr, ptr %16, align 8, !tbaa !5
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = load ptr, ptr %18, align 8, !tbaa !5
  %261 = load ptr, ptr %19, align 8, !tbaa !5
  %262 = load ptr, ptr %22, align 8, !tbaa !5
  %263 = load i64, ptr @rssi_.ib1, align 8, !tbaa !9
  %264 = getelementptr inbounds double, ptr %262, i64 %263
  %265 = load ptr, ptr %22, align 8, !tbaa !5
  %266 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %267 = getelementptr inbounds double, ptr %265, i64 %266
  %268 = call i32 @itrssi_(ptr noundef %256, ptr noundef @rssi_.nb, ptr noundef %257, ptr noundef %258, ptr noundef %259, ptr noundef %260, ptr noundef %261, ptr noundef %264, ptr noundef %267)
  %269 = load i64, ptr getelementptr inbounds (%struct.anon.1, ptr @itcom2_, i32 0, i32 3), align 8, !tbaa !23
  %270 = icmp ne i64 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %255
  br label %316

272:                                              ; preds = %255
  br label %291

273:                                              ; preds = %254
  %274 = load ptr, ptr %14, align 8, !tbaa !5
  %275 = load ptr, ptr %15, align 8, !tbaa !5
  %276 = load ptr, ptr %16, align 8, !tbaa !5
  %277 = load ptr, ptr %17, align 8, !tbaa !5
  %278 = load ptr, ptr %18, align 8, !tbaa !5
  %279 = load ptr, ptr %22, align 8, !tbaa !5
  %280 = load i64, ptr @rssi_.ib1, align 8, !tbaa !9
  %281 = getelementptr inbounds double, ptr %279, i64 %280
  %282 = load ptr, ptr %19, align 8, !tbaa !5
  %283 = load ptr, ptr %22, align 8, !tbaa !5
  %284 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %285 = getelementptr inbounds double, ptr %283, i64 %284
  %286 = call i32 @itrssi_(ptr noundef %274, ptr noundef @rssi_.nb, ptr noundef %275, ptr noundef %276, ptr noundef %277, ptr noundef %278, ptr noundef %281, ptr noundef %282, ptr noundef %285)
  %287 = load i64, ptr getelementptr inbounds (%struct.anon.1, ptr @itcom2_, i32 0, i32 3), align 8, !tbaa !23
  %288 = icmp ne i64 %287, 0
  br i1 %288, label %289, label %290

289:                                              ; preds = %273
  br label %316

290:                                              ; preds = %273
  br label %291

291:                                              ; preds = %290, %272
  %292 = load i64, ptr @rssi_.loop, align 8, !tbaa !9
  %293 = add nsw i64 %292, 1
  store i64 %293, ptr @rssi_.loop, align 8, !tbaa !9
  br label %244, !llvm.loop !25

294:                                              ; preds = %244
  %295 = load ptr, ptr %23, align 8, !tbaa !5
  %296 = getelementptr inbounds i64, ptr %295, i64 10
  %297 = load i64, ptr %296, align 8, !tbaa !9
  %298 = icmp eq i64 %297, 0
  br i1 %298, label %299, label %306

299:                                              ; preds = %294
  %300 = call double @dsrc_timer_(ptr noundef null)
  %301 = fptrunc double %300 to float
  store float %301, ptr @rssi_.timi2, align 4, !tbaa !14
  %302 = load float, ptr @rssi_.timi2, align 4, !tbaa !14
  %303 = load float, ptr @rssi_.timi1, align 4, !tbaa !14
  %304 = fsub float %302, %303
  %305 = fpext float %304 to double
  store double %305, ptr @rssi_.time1, align 8, !tbaa !19
  br label %306

306:                                              ; preds = %299, %294
  store i64 73, ptr @rssi_.ier, align 8, !tbaa !9
  %307 = load ptr, ptr %23, align 8, !tbaa !5
  %308 = getelementptr inbounds i64, ptr %307, i64 2
  %309 = load i64, ptr %308, align 8, !tbaa !9
  %310 = icmp eq i64 %309, 0
  br i1 %310, label %311, label %315

311:                                              ; preds = %306
  %312 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 17), align 8, !tbaa !27
  %313 = load ptr, ptr %24, align 8, !tbaa !5
  %314 = getelementptr inbounds double, ptr %313, i64 0
  store double %312, ptr %314, align 8, !tbaa !19
  br label %315

315:                                              ; preds = %311, %306
  br label %329

316:                                              ; preds = %289, %271, %235
  %317 = load ptr, ptr %23, align 8, !tbaa !5
  %318 = getelementptr inbounds i64, ptr %317, i64 10
  %319 = load i64, ptr %318, align 8, !tbaa !9
  %320 = icmp eq i64 %319, 0
  br i1 %320, label %321, label %328

321:                                              ; preds = %316
  %322 = call double @dsrc_timer_(ptr noundef null)
  %323 = fptrunc double %322 to float
  store float %323, ptr @rssi_.timi2, align 4, !tbaa !14
  %324 = load float, ptr @rssi_.timi2, align 4, !tbaa !14
  %325 = load float, ptr @rssi_.timi1, align 4, !tbaa !14
  %326 = fsub float %324, %325
  %327 = fpext float %326 to double
  store double %327, ptr @rssi_.time1, align 8, !tbaa !19
  br label %328

328:                                              ; preds = %321, %316
  br label %329

329:                                              ; preds = %328, %315
  %330 = load ptr, ptr %14, align 8, !tbaa !5
  %331 = load i64, ptr %330, align 8, !tbaa !9
  %332 = icmp ne i64 %331, 1
  br i1 %332, label %333, label %356

333:                                              ; preds = %329
  %334 = load i64, ptr @itcom1_, align 8, !tbaa !22
  %335 = srem i64 %334, 2
  %336 = icmp eq i64 %335, 1
  br i1 %336, label %337, label %344

337:                                              ; preds = %333
  %338 = load ptr, ptr %14, align 8, !tbaa !5
  %339 = load ptr, ptr %22, align 8, !tbaa !5
  %340 = load i64, ptr @rssi_.ib1, align 8, !tbaa !9
  %341 = getelementptr inbounds double, ptr %339, i64 %340
  %342 = load ptr, ptr %19, align 8, !tbaa !5
  %343 = call i32 @itpackdcopy_(ptr noundef %338, ptr noundef %341, ptr noundef @c__1, ptr noundef %342, ptr noundef @c__1)
  br label %344

344:                                              ; preds = %337, %333
  %345 = load ptr, ptr %18, align 8, !tbaa !5
  %346 = load ptr, ptr %19, align 8, !tbaa !5
  %347 = call i32 @itpackdcopy_(ptr noundef @rssi_.nr, ptr noundef %345, ptr noundef @c__1, ptr noundef %346, ptr noundef @c__1)
  %348 = load ptr, ptr %15, align 8, !tbaa !5
  %349 = load ptr, ptr %16, align 8, !tbaa !5
  %350 = load ptr, ptr %17, align 8, !tbaa !5
  %351 = load ptr, ptr %19, align 8, !tbaa !5
  %352 = load i64, ptr @rssi_.nr, align 8, !tbaa !9
  %353 = getelementptr inbounds double, ptr %351, i64 %352
  %354 = load ptr, ptr %19, align 8, !tbaa !5
  %355 = call i32 @prsred_(ptr noundef @rssi_.nb, ptr noundef @rssi_.nr, ptr noundef %348, ptr noundef %349, ptr noundef %350, ptr noundef %353, ptr noundef %354)
  br label %356

356:                                              ; preds = %344, %329
  %357 = load ptr, ptr %14, align 8, !tbaa !5
  %358 = load ptr, ptr %15, align 8, !tbaa !5
  %359 = load ptr, ptr %16, align 8, !tbaa !5
  %360 = load ptr, ptr %17, align 8, !tbaa !5
  %361 = load ptr, ptr %18, align 8, !tbaa !5
  %362 = load ptr, ptr %19, align 8, !tbaa !5
  %363 = load ptr, ptr %22, align 8, !tbaa !5
  %364 = call i32 @unscal_(ptr noundef %357, ptr noundef %358, ptr noundef %359, ptr noundef %360, ptr noundef %361, ptr noundef %362, ptr noundef %363)
  %365 = load ptr, ptr %23, align 8, !tbaa !5
  %366 = getelementptr inbounds i64, ptr %365, i64 8
  %367 = load i64, ptr %366, align 8, !tbaa !9
  %368 = icmp sge i64 %367, 0
  br i1 %368, label %369, label %370

369:                                              ; preds = %356
  br label %403

370:                                              ; preds = %356
  %371 = load ptr, ptr %14, align 8, !tbaa !5
  %372 = load ptr, ptr %15, align 8, !tbaa !5
  %373 = load ptr, ptr %16, align 8, !tbaa !5
  %374 = load ptr, ptr %17, align 8, !tbaa !5
  %375 = load ptr, ptr %20, align 8, !tbaa !5
  %376 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %377 = getelementptr inbounds i64, ptr %375, i64 %376
  %378 = load ptr, ptr %20, align 8, !tbaa !5
  %379 = load i64, ptr @rssi_.jb3, align 8, !tbaa !9
  %380 = getelementptr inbounds i64, ptr %378, i64 %379
  %381 = call i32 @permat_(ptr noundef %371, ptr noundef %372, ptr noundef %373, ptr noundef %374, ptr noundef %377, ptr noundef %380, 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 @rssi_.ierper)
  %382 = load i64, ptr @rssi_.ierper, align 8, !tbaa !9
  %383 = icmp ne i64 %382, 0
  br i1 %383, label %384, label %390

384:                                              ; preds = %370
  %385 = load i64, ptr @rssi_.ier, align 8, !tbaa !9
  %386 = icmp eq i64 %385, 0
  br i1 %386, label %387, label %389

387:                                              ; preds = %384
  %388 = load i64, ptr @rssi_.ierper, align 8, !tbaa !9
  store i64 %388, ptr @rssi_.ier, align 8, !tbaa !9
  br label %389

389:                                              ; preds = %387, %384
  br label %467

390:                                              ; preds = %370
  %391 = load ptr, ptr %14, align 8, !tbaa !5
  %392 = load ptr, ptr %18, align 8, !tbaa !5
  %393 = load ptr, ptr %20, align 8, !tbaa !5
  %394 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %395 = getelementptr inbounds i64, ptr %393, i64 %394
  %396 = call i32 @pervec_(ptr noundef %391, ptr noundef %392, ptr noundef %395)
  %397 = load ptr, ptr %14, align 8, !tbaa !5
  %398 = load ptr, ptr %19, align 8, !tbaa !5
  %399 = load ptr, ptr %20, align 8, !tbaa !5
  %400 = load i64, ptr @rssi_.ib2, align 8, !tbaa !9
  %401 = getelementptr inbounds i64, ptr %399, i64 %400
  %402 = call i32 @pervec_(ptr noundef %397, ptr noundef %398, ptr noundef %401)
  br label %403

403:                                              ; preds = %390, %369
  %404 = load ptr, ptr %23, align 8, !tbaa !5
  %405 = getelementptr inbounds i64, ptr %404, i64 11
  %406 = load i64, ptr %405, align 8, !tbaa !9
  store i64 %406, ptr @rssi_.idgts, align 8, !tbaa !9
  %407 = load i64, ptr @rssi_.idgts, align 8, !tbaa !9
  %408 = icmp sge i64 %407, 0
  br i1 %408, label %409, label %424

409:                                              ; preds = %403
  %410 = load ptr, ptr %23, align 8, !tbaa !5
  %411 = getelementptr inbounds i64, ptr %410, i64 1
  %412 = load i64, ptr %411, align 8, !tbaa !9
  %413 = icmp sle i64 %412, 0
  br i1 %413, label %414, label %415

414:                                              ; preds = %409
  store i64 0, ptr @rssi_.idgts, align 8, !tbaa !9
  br label %415

415:                                              ; preds = %414, %409
  %416 = load ptr, ptr %14, align 8, !tbaa !5
  %417 = load ptr, ptr %15, align 8, !tbaa !5
  %418 = load ptr, ptr %16, align 8, !tbaa !5
  %419 = load ptr, ptr %17, align 8, !tbaa !5
  %420 = load ptr, ptr %18, align 8, !tbaa !5
  %421 = load ptr, ptr %19, align 8, !tbaa !5
  %422 = load ptr, ptr %22, align 8, !tbaa !5
  %423 = call i32 @perror_(ptr noundef %416, ptr noundef %417, ptr noundef %418, ptr noundef %419, ptr noundef %420, ptr noundef %421, ptr noundef %422, ptr noundef @rssi_.digit1, ptr noundef @rssi_.digit2, ptr noundef @rssi_.idgts)
  br label %424

424:                                              ; preds = %415, %403
  %425 = load ptr, ptr %23, align 8, !tbaa !5
  %426 = getelementptr inbounds i64, ptr %425, i64 10
  %427 = load i64, ptr %426, align 8, !tbaa !9
  %428 = icmp eq i64 %427, 0
  br i1 %428, label %429, label %436

429:                                              ; preds = %424
  %430 = call double @dsrc_timer_(ptr noundef null)
  %431 = fptrunc double %430 to float
  store float %431, ptr @rssi_.timj2, align 4, !tbaa !14
  %432 = load float, ptr @rssi_.timj2, align 4, !tbaa !14
  %433 = load float, ptr @rssi_.timj1, align 4, !tbaa !14
  %434 = fsub float %432, %433
  %435 = fpext float %434 to double
  store double %435, ptr @rssi_.time2, align 8, !tbaa !19
  br label %436

436:                                              ; preds = %429, %424
  %437 = load ptr, ptr %23, align 8, !tbaa !5
  %438 = getelementptr inbounds i64, ptr %437, i64 2
  %439 = load i64, ptr %438, align 8, !tbaa !9
  %440 = icmp eq i64 %439, 0
  br i1 %440, label %441, label %466

441:                                              ; preds = %436
  %442 = load i64, ptr @itcom1_, align 8, !tbaa !22
  %443 = load ptr, ptr %23, align 8, !tbaa !5
  %444 = getelementptr inbounds i64, ptr %443, i64 0
  store i64 %442, ptr %444, align 8, !tbaa !9
  %445 = load i64, ptr @rssi_.nb, align 8, !tbaa !9
  %446 = load ptr, ptr %23, align 8, !tbaa !5
  %447 = getelementptr inbounds i64, ptr %446, i64 8
  store i64 %445, ptr %447, align 8, !tbaa !9
  %448 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 2), align 8, !tbaa !28
  %449 = load ptr, ptr %24, align 8, !tbaa !5
  %450 = getelementptr inbounds double, ptr %449, i64 1
  store double %448, ptr %450, align 8, !tbaa !19
  %451 = load double, ptr getelementptr inbounds (%struct.anon.0, ptr @itcom3_, i32 0, i32 13), align 8, !tbaa !29
  %452 = load ptr, ptr %24, align 8, !tbaa !5
  %453 = getelementptr inbounds double, ptr %452, i64 2
  store double %451, ptr %453, align 8, !tbaa !19
  %454 = load double, ptr @rssi_.time1, align 8, !tbaa !19
  %455 = load ptr, ptr %24, align 8, !tbaa !5
  %456 = getelementptr inbounds double, ptr %455, i64 8
  store double %454, ptr %456, align 8, !tbaa !19
  %457 = load double, ptr @rssi_.time2, align 8, !tbaa !19
  %458 = load ptr, ptr %24, align 8, !tbaa !5
  %459 = getelementptr inbounds double, ptr %458, i64 9
  store double %457, ptr %459, align 8, !tbaa !19
  %460 = load double, ptr @rssi_.digit1, align 8, !tbaa !19
  %461 = load ptr, ptr %24, align 8, !tbaa !5
  %462 = getelementptr inbounds double, ptr %461, i64 10
  store double %460, ptr %462, align 8, !tbaa !19
  %463 = load double, ptr @rssi_.digit2, align 8, !tbaa !19
  %464 = load ptr, ptr %24, align 8, !tbaa !5
  %465 = getelementptr inbounds double, ptr %464, i64 11
  store double %463, ptr %465, align 8, !tbaa !19
  br label %466

466:                                              ; preds = %441, %436
  br label %467

467:                                              ; preds = %466, %389, %222, %206, %179, %149, %139, %85
  %468 = load i64, ptr @rssi_.ier, align 8, !tbaa !9
  %469 = load ptr, ptr %25, align 8, !tbaa !5
  store i64 %468, ptr %469, align 8, !tbaa !9
  %470 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @itcom1_, i32 0, i32 4), align 8, !tbaa !11
  %471 = icmp sge i64 %470, 3
  br i1 %471, label %472, label %481

472:                                              ; preds = %467
  %473 = load ptr, ptr %14, align 8, !tbaa !5
  %474 = load ptr, ptr %15, align 8, !tbaa !5
  %475 = load ptr, ptr %16, align 8, !tbaa !5
  %476 = load ptr, ptr %17, align 8, !tbaa !5
  %477 = load ptr, ptr %18, align 8, !tbaa !5
  %478 = load ptr, ptr %23, align 8, !tbaa !5
  %479 = load ptr, ptr %24, align 8, !tbaa !5
  %480 = call i32 @echall_(ptr noundef %473, ptr noundef %474, ptr noundef %475, ptr noundef %476, ptr noundef %477, ptr noundef %478, ptr noundef %479, ptr noundef @c__2)
  br label %481

481:                                              ; preds = %472, %467
  store i32 0, ptr %13, align 4
  br label %482

482:                                              ; preds = %481, %36
  %483 = load i32, ptr %13, align 4
  ret i32 %483
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @itrssi_(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 = !{!12, !10, i64 24}
!22 = !{!12, !10, i64 0}
!23 = !{!24, !10, i64 24}
!24 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!17, !18, i64 136}
!28 = !{!17, !18, i64 16}
!29 = !{!17, !18, i64 104}


; 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
@rssi_.n3 = external hidden global i64, align 8
@rssi_.nb = external hidden global i64, align 8
@rssi_.nr = external hidden global i64, align 8
@rssi_.ib1 = external hidden local_unnamed_addr global i64, align 8
@rssi_.ib2 = external hidden local_unnamed_addr global i64, align 8
@rssi_.jb3 = external hidden local_unnamed_addr global i64, align 8
@rssi_.ier = external hidden global i64, align 8
@rssi_.tol = external hidden global double, align 8
@rssi_.temp = external hidden local_unnamed_addr global double, align 8
@rssi_.loop = external hidden local_unnamed_addr global i64, align 8
@rssi_.time1 = external hidden local_unnamed_addr global double, align 8
@rssi_.time2 = external hidden local_unnamed_addr global double, align 8
@rssi_.timi1 = external hidden local_unnamed_addr global float, align 4
@rssi_.timj1 = external hidden local_unnamed_addr global float, align 4
@rssi_.timi2 = external hidden local_unnamed_addr global float, align 4
@rssi_.timj2 = external hidden local_unnamed_addr global float, align 4
@rssi_.idgts = external hidden global i64, align 8
@rssi_.digit1 = external hidden global double, align 8
@rssi_.digit2 = external hidden global double, align 8
@rssi_.itmax1 = external hidden local_unnamed_addr global i64, align 8
@rssi_.ierper = external hidden global i64, align 8
@c__7 = 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 i32 @prsred_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @rssi_(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
  store i64 0, ptr @rssi_.ier, align 8, !tbaa !5
  %17 = load i64, ptr %9, align 8, !tbaa !5
  %18 = icmp slt i64 %17, 1
  br i1 %18, label %240, label %19

19:                                               ; preds = %12
  %20 = getelementptr inbounds i8, ptr %9, i64 80
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

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

26:                                               ; preds = %23, %19
  %27 = phi i64 [ %.pre, %23 ], [ %14, %19 ]
  %28 = icmp slt i64 %27, 3
  br i1 %28, label %29, label %31

29:                                               ; preds = %26
  %30 = tail call i32 @echout_(ptr noundef nonnull %9, ptr noundef %10, ptr noundef nonnull @c__7)
  br label %33

31:                                               ; preds = %26
  %32 = 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 %33

33:                                               ; preds = %31, %29
  %34 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 128), align 8, !tbaa !14
  %35 = fmul double %34, 5.000000e+02
  store double %35, ptr @rssi_.temp, align 8, !tbaa !17
  %36 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 152), align 8, !tbaa !18
  %37 = fcmp olt double %36, %35
  br i1 %37, label %38, label %39

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

39:                                               ; preds = %38, %33
  %40 = getelementptr inbounds i8, ptr %10, i64 64
  %41 = load double, ptr %40, align 8, !tbaa !17
  store double %41, ptr @rssi_.time1, align 8, !tbaa !17
  %42 = getelementptr inbounds i8, ptr %10, i64 72
  %43 = load double, ptr %42, align 8, !tbaa !17
  store double %43, ptr @rssi_.time2, align 8, !tbaa !17
  %44 = getelementptr inbounds i8, ptr %10, i64 80
  %45 = load double, ptr %44, align 8, !tbaa !17
  store double %45, ptr @rssi_.digit1, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %10, i64 88
  %47 = load double, ptr %46, align 8, !tbaa !17
  store double %47, ptr @rssi_.digit2, align 8, !tbaa !17
  %48 = load i64, ptr %0, align 8, !tbaa !5
  %49 = icmp slt i64 %48, 1
  br i1 %49, label %50, label %51

50:                                               ; preds = %39
  store i64 71, ptr @rssi_.ier, align 8, !tbaa !5
  br label %234

51:                                               ; preds = %39
  %52 = getelementptr inbounds i8, ptr %9, i64 72
  %53 = load i64, ptr %52, align 8, !tbaa !5
  %.not = icmp eq i64 %53, 0
  br i1 %.not, label %60, label %54

54:                                               ; preds = %51
  %55 = getelementptr inbounds i8, ptr %10, i64 56
  %56 = load double, ptr %55, align 8, !tbaa !17
  store double %56, ptr @rssi_.tol, align 8, !tbaa !17
  %57 = tail call i32 @ivfill_(ptr noundef nonnull %0, ptr noundef %6, ptr noundef nonnull @c__0)
  %58 = tail call i32 @vfill_(ptr noundef nonnull %0, ptr noundef %8, ptr noundef nonnull @c_b21)
  %59 = 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 @rssi_.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 @rssi_.ier)
  br label %60

60:                                               ; preds = %54, %51
  store i64 0, ptr @rssi_.ib1, align 8, !tbaa !5
  %61 = load i64, ptr %0, align 8, !tbaa !5
  store i64 %61, ptr @rssi_.ib2, align 8, !tbaa !5
  %62 = shl nsw i64 %61, 1
  store i64 %62, ptr @rssi_.jb3, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %9, i64 64
  %64 = load i64, ptr %63, align 8, !tbaa !5
  store i64 %64, ptr @rssi_.nb, align 8, !tbaa !5
  %65 = icmp slt i64 %64, 0
  br i1 %65, label %66, label %.thread

66:                                               ; preds = %60
  %67 = load i64, ptr %0, align 8, !tbaa !5
  %68 = mul nsw i64 %67, 3
  store i64 %68, ptr @rssi_.n3, align 8, !tbaa !5
  %69 = tail call i32 @ivfill_(ptr noundef nonnull @rssi_.n3, ptr noundef %6, ptr noundef nonnull @c__0)
  %70 = load i64, ptr @rssi_.ib2, align 8, !tbaa !5
  %71 = getelementptr inbounds i64, ptr %6, i64 %70
  %72 = tail call i32 @prbndx_(ptr noundef nonnull %0, ptr noundef nonnull @rssi_.nb, ptr noundef %1, ptr noundef %2, ptr noundef %6, ptr noundef %71, ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 32), ptr noundef nonnull getelementptr inbounds (i8, ptr @itcom1_, i64 40), ptr noundef nonnull @rssi_.ier)
  %73 = load i64, ptr @rssi_.ier, align 8, !tbaa !5
  %.not157 = icmp eq i64 %73, 0
  br i1 %.not157, label %74, label %234

74:                                               ; preds = %66
  %.pr = load i64, ptr @rssi_.nb, align 8, !tbaa !5
  %75 = icmp slt i64 %.pr, 0
  br i1 %75, label %79, label %.thread

.thread:                                          ; preds = %60, %74
  %76 = phi i64 [ %.pr, %74 ], [ %64, %60 ]
  %77 = load i64, ptr %0, align 8, !tbaa !5
  %78 = icmp sgt i64 %76, %77
  br i1 %78, label %79, label %80

79:                                               ; preds = %.thread, %74
  store i64 74, ptr @rssi_.ier, align 8, !tbaa !5
  br label %234

80:                                               ; preds = %.thread
  %81 = icmp eq i64 %76, 0
  %82 = icmp eq i64 %76, %77
  %or.cond = or i1 %81, %82
  br i1 %or.cond, label %83, label %85

83:                                               ; preds = %80
  %84 = lshr i64 %77, 1
  store i64 %84, ptr @rssi_.nb, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %80, %83
  %86 = phi i64 [ %76, %80 ], [ %84, %83 ]
  %87 = load i64, ptr %63, align 8, !tbaa !5
  %88 = icmp slt i64 %87, 0
  br i1 %88, label %89, label %97

89:                                               ; preds = %85
  %90 = load i64, ptr @rssi_.jb3, align 8, !tbaa !5
  %91 = getelementptr inbounds i64, ptr %6, i64 %90
  %92 = tail call i32 @permat_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %6, ptr noundef %91, 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 @rssi_.ier)
  %93 = load i64, ptr @rssi_.ier, align 8, !tbaa !5
  %.not158 = icmp eq i64 %93, 0
  br i1 %.not158, label %94, label %234

94:                                               ; preds = %89
  %95 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %6)
  %96 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %6)
  %.pre167 = load i64, ptr @rssi_.nb, align 8, !tbaa !5
  br label %97

97:                                               ; preds = %94, %85
  %98 = phi i64 [ %.pre167, %94 ], [ %86, %85 ]
  %99 = load i64, ptr %0, align 8, !tbaa !5
  %100 = sub nsw i64 %99, %98
  store i64 %100, ptr @rssi_.nr, align 8, !tbaa !5
  %101 = load i64, ptr %0, align 8, !tbaa !5
  %102 = add nsw i64 %101, %98
  %103 = getelementptr inbounds i8, ptr %9, i64 56
  store i64 %102, ptr %103, align 8, !tbaa !5
  %104 = load i64, ptr %7, align 8, !tbaa !5
  %105 = icmp slt i64 %104, %102
  br i1 %105, label %106, label %107

106:                                              ; preds = %97
  store i64 72, ptr @rssi_.ier, align 8, !tbaa !5
  br label %234

107:                                              ; preds = %97
  %108 = tail call i32 @vfill_(ptr noundef nonnull %103, ptr noundef %8, ptr noundef nonnull @c_b21)
  %109 = 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 @rssi_.ier)
  %110 = load i64, ptr @rssi_.ier, align 8, !tbaa !5
  %.not159 = icmp eq i64 %110, 0
  br i1 %.not159, label %111, label %234

111:                                              ; preds = %107
  %112 = load i64, ptr %20, align 8, !tbaa !5
  %113 = icmp eq i64 %112, 0
  br i1 %113, label %114, label %117

114:                                              ; preds = %111
  %115 = tail call double @dsrc_timer_(ptr noundef null)
  %116 = fptrunc double %115 to float
  store float %116, ptr @rssi_.timi1, align 4, !tbaa !12
  br label %117

117:                                              ; preds = %114, %111
  %118 = load i64, ptr %0, align 8, !tbaa !5
  %119 = icmp slt i64 %118, 2
  br i1 %119, label %120, label %122

120:                                              ; preds = %117
  %121 = load double, ptr %4, align 8, !tbaa !17
  store double %121, ptr %5, align 8, !tbaa !17
  br label %.loopexit

122:                                              ; preds = %117
  %123 = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 24), align 8, !tbaa !19
  %124 = add nsw i64 %123, 1
  store i64 %124, ptr @rssi_.itmax1, align 8, !tbaa !5
  store i64 1, ptr @rssi_.loop, align 8, !tbaa !5
  %.not160165 = icmp slt i64 %123, 0
  br i1 %.not160165, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %122, %137
  %storemerge166 = phi i64 [ %138, %137 ], [ 0, %122 ]
  store i64 %storemerge166, ptr @itcom1_, align 8, !tbaa !20
  %125 = and i64 %storemerge166, -9223372036854775807
  %126 = icmp eq i64 %125, 1
  %127 = load i64, ptr @rssi_.ib1, align 8, !tbaa !5
  %128 = getelementptr inbounds double, ptr %8, i64 %127
  %129 = load i64, ptr @rssi_.ib2, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %8, i64 %129
  br i1 %126, label %134, label %131

131:                                              ; preds = %.lr.ph
  %132 = tail call i32 @itrssi_(ptr noundef nonnull %0, ptr noundef nonnull @rssi_.nb, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %128, ptr noundef %130)
  %133 = load i64, ptr getelementptr inbounds (i8, ptr @itcom2_, i64 24), align 8, !tbaa !21
  %.not161 = icmp eq i64 %133, 0
  br i1 %.not161, label %137, label %.loopexit

134:                                              ; preds = %.lr.ph
  %135 = tail call i32 @itrssi_(ptr noundef nonnull %0, ptr noundef nonnull @rssi_.nb, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %128, ptr noundef %5, ptr noundef %130)
  %136 = load i64, ptr getelementptr inbounds (i8, ptr @itcom2_, i64 24), align 8, !tbaa !21
  %.not162 = icmp eq i64 %136, 0
  br i1 %.not162, label %137, label %.loopexit

137:                                              ; preds = %134, %131
  %138 = load i64, ptr @rssi_.loop, align 8, !tbaa !5
  %139 = add nsw i64 %138, 1
  store i64 %139, ptr @rssi_.loop, align 8, !tbaa !5
  %140 = load i64, ptr @rssi_.itmax1, align 8, !tbaa !5
  %.not160.not = icmp slt i64 %138, %140
  br i1 %.not160.not, label %.lr.ph, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %137, %122
  %141 = load i64, ptr %20, align 8, !tbaa !5
  %142 = icmp eq i64 %141, 0
  br i1 %142, label %143, label %149

143:                                              ; preds = %._crit_edge
  %144 = tail call double @dsrc_timer_(ptr noundef null)
  %145 = fptrunc double %144 to float
  store float %145, ptr @rssi_.timi2, align 4, !tbaa !12
  %146 = load float, ptr @rssi_.timi1, align 4, !tbaa !12
  %147 = fsub float %145, %146
  %148 = fpext float %147 to double
  store double %148, ptr @rssi_.time1, align 8, !tbaa !17
  br label %149

149:                                              ; preds = %143, %._crit_edge
  store i64 73, ptr @rssi_.ier, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %9, i64 16
  %151 = load i64, ptr %150, align 8, !tbaa !5
  %152 = icmp eq i64 %151, 0
  br i1 %152, label %153, label %163

153:                                              ; preds = %149
  %154 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 136), align 8, !tbaa !25
  store double %154, ptr %10, align 8, !tbaa !17
  br label %163

.loopexit:                                        ; preds = %134, %131, %120
  %155 = load i64, ptr %20, align 8, !tbaa !5
  %156 = icmp eq i64 %155, 0
  br i1 %156, label %157, label %163

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

163:                                              ; preds = %.loopexit, %157, %149, %153
  %164 = load i64, ptr %0, align 8, !tbaa !5
  %.not163 = icmp eq i64 %164, 1
  br i1 %.not163, label %178, label %165

165:                                              ; preds = %163
  %166 = load i64, ptr @itcom1_, align 8, !tbaa !20
  %167 = and i64 %166, -9223372036854775807
  %168 = icmp eq i64 %167, 1
  br i1 %168, label %169, label %173

169:                                              ; preds = %165
  %170 = load i64, ptr @rssi_.ib1, align 8, !tbaa !5
  %171 = getelementptr inbounds double, ptr %8, i64 %170
  %172 = tail call i32 @itpackdcopy_(ptr noundef nonnull %0, ptr noundef %171, ptr noundef nonnull @c__1, ptr noundef %5, ptr noundef nonnull @c__1)
  br label %173

173:                                              ; preds = %169, %165
  %174 = tail call i32 @itpackdcopy_(ptr noundef nonnull @rssi_.nr, ptr noundef %4, ptr noundef nonnull @c__1, ptr noundef %5, ptr noundef nonnull @c__1)
  %175 = load i64, ptr @rssi_.nr, align 8, !tbaa !5
  %176 = getelementptr inbounds double, ptr %5, i64 %175
  %177 = tail call i32 @prsred_(ptr noundef nonnull @rssi_.nb, ptr noundef nonnull @rssi_.nr, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %176, ptr noundef %5)
  br label %178

178:                                              ; preds = %173, %163
  %179 = 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)
  %180 = load i64, ptr %63, align 8, !tbaa !5
  %181 = icmp sgt i64 %180, -1
  br i1 %181, label %200, label %182

182:                                              ; preds = %178
  %183 = load i64, ptr @rssi_.ib2, align 8, !tbaa !5
  %184 = getelementptr inbounds i64, ptr %6, i64 %183
  %185 = load i64, ptr @rssi_.jb3, align 8, !tbaa !5
  %186 = getelementptr inbounds i64, ptr %6, i64 %185
  %187 = tail call i32 @permat_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %184, ptr noundef %186, 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 @rssi_.ierper)
  %188 = load i64, ptr @rssi_.ierper, align 8, !tbaa !5
  %.not164 = icmp eq i64 %188, 0
  br i1 %.not164, label %193, label %189

189:                                              ; preds = %182
  %190 = load i64, ptr @rssi_.ier, align 8, !tbaa !5
  %191 = icmp eq i64 %190, 0
  br i1 %191, label %192, label %234

192:                                              ; preds = %189
  store i64 %188, ptr @rssi_.ier, align 8, !tbaa !5
  br label %234

193:                                              ; preds = %182
  %194 = load i64, ptr @rssi_.ib2, align 8, !tbaa !5
  %195 = getelementptr inbounds i64, ptr %6, i64 %194
  %196 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %4, ptr noundef %195)
  %197 = load i64, ptr @rssi_.ib2, align 8, !tbaa !5
  %198 = getelementptr inbounds i64, ptr %6, i64 %197
  %199 = tail call i32 @pervec_(ptr noundef nonnull %0, ptr noundef %5, ptr noundef %198)
  br label %200

200:                                              ; preds = %178, %193
  %201 = getelementptr inbounds i8, ptr %9, i64 88
  %202 = load i64, ptr %201, align 8, !tbaa !5
  store i64 %202, ptr @rssi_.idgts, align 8, !tbaa !5
  %203 = icmp sgt i64 %202, -1
  br i1 %203, label %204, label %210

204:                                              ; preds = %200
  %205 = load i64, ptr %13, align 8, !tbaa !5
  %206 = icmp slt i64 %205, 1
  br i1 %206, label %207, label %208

207:                                              ; preds = %204
  store i64 0, ptr @rssi_.idgts, align 8, !tbaa !5
  br label %208

208:                                              ; preds = %207, %204
  %209 = 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 @rssi_.digit1, ptr noundef nonnull @rssi_.digit2, ptr noundef nonnull @rssi_.idgts)
  br label %210

210:                                              ; preds = %208, %200
  %211 = load i64, ptr %20, align 8, !tbaa !5
  %212 = icmp eq i64 %211, 0
  br i1 %212, label %213, label %219

213:                                              ; preds = %210
  %214 = tail call double @dsrc_timer_(ptr noundef null)
  %215 = fptrunc double %214 to float
  store float %215, ptr @rssi_.timj2, align 4, !tbaa !12
  %216 = load float, ptr @rssi_.timj1, align 4, !tbaa !12
  %217 = fsub float %215, %216
  %218 = fpext float %217 to double
  store double %218, ptr @rssi_.time2, align 8, !tbaa !17
  br label %219

219:                                              ; preds = %213, %210
  %220 = getelementptr inbounds i8, ptr %9, i64 16
  %221 = load i64, ptr %220, align 8, !tbaa !5
  %222 = icmp eq i64 %221, 0
  br i1 %222, label %223, label %234

223:                                              ; preds = %219
  %224 = load i64, ptr @itcom1_, align 8, !tbaa !20
  store i64 %224, ptr %9, align 8, !tbaa !5
  %225 = load i64, ptr @rssi_.nb, align 8, !tbaa !5
  store i64 %225, ptr %63, align 8, !tbaa !5
  %226 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 16), align 8, !tbaa !26
  %227 = getelementptr inbounds i8, ptr %10, i64 8
  store double %226, ptr %227, align 8, !tbaa !17
  %228 = load double, ptr getelementptr inbounds (i8, ptr @itcom3_, i64 104), align 8, !tbaa !27
  %229 = getelementptr inbounds i8, ptr %10, i64 16
  store double %228, ptr %229, align 8, !tbaa !17
  %230 = load double, ptr @rssi_.time1, align 8, !tbaa !17
  store double %230, ptr %40, align 8, !tbaa !17
  %231 = load double, ptr @rssi_.time2, align 8, !tbaa !17
  store double %231, ptr %42, align 8, !tbaa !17
  %232 = load double, ptr @rssi_.digit1, align 8, !tbaa !17
  store double %232, ptr %44, align 8, !tbaa !17
  %233 = load double, ptr @rssi_.digit2, align 8, !tbaa !17
  store double %233, ptr %46, align 8, !tbaa !17
  br label %234

234:                                              ; preds = %219, %223, %189, %192, %107, %89, %66, %106, %79, %50
  %235 = load i64, ptr @rssi_.ier, align 8, !tbaa !5
  store i64 %235, ptr %11, align 8, !tbaa !5
  %236 = load i64, ptr getelementptr inbounds (i8, ptr @itcom1_, i64 32), align 8, !tbaa !9
  %237 = icmp sgt i64 %236, 2
  br i1 %237, label %238, label %240

238:                                              ; preds = %234
  %239 = 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 %240

240:                                              ; preds = %234, %238, %12
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @itrssi_(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 = !{!10, !6, i64 24}
!20 = !{!10, !6, i64 0}
!21 = !{!22, !6, i64 24}
!22 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!15, !16, i64 136}
!26 = !{!15, !16, i64 16}
!27 = !{!15, !16, i64 104}


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