; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fecsoft_ber_test)

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

@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [34 x i8], align 1
@fec_scheme_str = external global [28 x [2 x ptr]], align 16
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca float, align 4
  %29 = alloca i32, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  %33 = alloca float, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %36 = call i64 @time(ptr noundef null) #8
  %37 = trunc i64 %36 to i32
  call void @srand(i32 noundef %37) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 64, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store float -2.000000e+00, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 1.300000e+01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 16, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 800, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 4, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  br label %38

38:                                               ; preds = %74, %2
  %39 = load i32, ptr %4, align 4, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = call i32 @getopt(i32 noundef %39, ptr noundef %40, ptr noundef @.str.10) #8
  store i32 %41, ptr %12, align 4, !tbaa !5
  %42 = icmp ne i32 %41, -1
  br i1 %42, label %43, label %75

43:                                               ; preds = %38
  %44 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %44, label %73 [
    i32 104, label %45
    i32 117, label %45
    i32 115, label %46
    i32 120, label %50
    i32 110, label %54
    i32 116, label %57
    i32 102, label %60
    i32 99, label %63
  ]

45:                                               ; preds = %43, %43
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %755

46:                                               ; preds = %43
  %47 = load ptr, ptr @optarg, align 8, !tbaa !9
  %48 = call double @atof(ptr noundef %47) #9
  %49 = fptrunc double %48 to float
  store float %49, ptr %7, align 4, !tbaa !11
  br label %74

50:                                               ; preds = %43
  %51 = load ptr, ptr @optarg, align 8, !tbaa !9
  %52 = call double @atof(ptr noundef %51) #9
  %53 = fptrunc double %52 to float
  store float %53, ptr %8, align 4, !tbaa !11
  br label %74

54:                                               ; preds = %43
  %55 = load ptr, ptr @optarg, align 8, !tbaa !9
  %56 = call i32 @atoi(ptr noundef %55) #9
  store i32 %56, ptr %9, align 4, !tbaa !5
  br label %74

57:                                               ; preds = %43
  %58 = load ptr, ptr @optarg, align 8, !tbaa !9
  %59 = call i32 @atoi(ptr noundef %58) #9
  store i32 %59, ptr %10, align 4, !tbaa !5
  br label %74

60:                                               ; preds = %43
  %61 = load ptr, ptr @optarg, align 8, !tbaa !9
  %62 = call i32 @atoi(ptr noundef %61) #9
  store i32 %62, ptr %6, align 4, !tbaa !5
  br label %74

63:                                               ; preds = %43
  %64 = load ptr, ptr @optarg, align 8, !tbaa !9
  %65 = call i32 @liquid_getopt_str2fec(ptr noundef %64)
  store i32 %65, ptr %11, align 4, !tbaa !5
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %72

68:                                               ; preds = %63
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = load ptr, ptr @optarg, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.11, ptr noundef %70) #8
  call void @exit(i32 noundef 1) #10
  unreachable

72:                                               ; preds = %63
  br label %74

73:                                               ; preds = %43
  call void @exit(i32 noundef 1) #10
  unreachable

74:                                               ; preds = %72, %60, %57, %54, %50, %46
  br label %38, !llvm.loop !13

75:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %76 = load i32, ptr %11, align 4, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = call i32 @fec_get_enc_msg_length(i32 noundef %76, i32 noundef %77)
  store i32 %78, ptr %15, align 4, !tbaa !5
  %79 = load i32, ptr %6, align 4, !tbaa !5
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %79)
  %81 = load i32, ptr %15, align 4, !tbaa !5
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %81)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = uitofp i32 %83 to float
  %85 = load i32, ptr %15, align 4, !tbaa !5
  %86 = uitofp i32 %85 to float
  %87 = fdiv float %84, %86
  store float %87, ptr %16, align 4, !tbaa !11
  %88 = load i32, ptr %6, align 4, !tbaa !5
  %89 = zext i32 %88 to i64
  %90 = call ptr @llvm.stacksave.p0()
  store ptr %90, ptr %17, align 8
  %91 = alloca i8, i64 %89, align 16
  store i64 %89, ptr %18, align 8
  %92 = load i32, ptr %15, align 4, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = alloca i8, i64 %93, align 16
  store i64 %93, ptr %19, align 8
  %95 = load i32, ptr %15, align 4, !tbaa !5
  %96 = mul i32 8, %95
  %97 = zext i32 %96 to i64
  %98 = alloca { float, float }, i64 %97, align 16
  store i64 %97, ptr %20, align 8
  %99 = load i32, ptr %15, align 4, !tbaa !5
  %100 = mul i32 8, %99
  %101 = zext i32 %100 to i64
  %102 = alloca i8, i64 %101, align 16
  store i64 %101, ptr %21, align 8
  %103 = load i32, ptr %15, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = alloca i8, i64 %104, align 16
  store i64 %104, ptr %22, align 8
  %106 = load i32, ptr %6, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = alloca i8, i64 %107, align 16
  store i64 %107, ptr %23, align 8
  %109 = load i32, ptr %6, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = alloca i8, i64 %110, align 16
  store i64 %110, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = call ptr @fec_create(i32 noundef %112, ptr noundef null)
  store ptr %113, ptr %25, align 8, !tbaa !9
  %114 = load ptr, ptr %25, align 8, !tbaa !9
  %115 = call i32 @fec_print(ptr noundef %114)
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = alloca i32, i64 %117, align 16
  store i64 %117, ptr %26, align 8
  %119 = load i32, ptr %9, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = alloca i32, i64 %120, align 16
  store i64 %120, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %122 = load float, ptr %8, align 4, !tbaa !11
  %123 = load float, ptr %7, align 4, !tbaa !11
  %124 = fsub float %122, %123
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = sub i32 %125, 1
  %127 = uitofp i32 %126 to float
  %128 = fdiv float %124, %127
  store float %128, ptr %28, align 4, !tbaa !11
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17, ptr noundef @.str.18, ptr noundef @.str.19, ptr noundef @.str.20, ptr noundef @.str.19, ptr noundef @.str.21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %618, %75
  %131 = load i32, ptr %29, align 4, !tbaa !5
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = icmp ult i32 %131, %132
  br i1 %133, label %134, label %621

134:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %135 = load float, ptr %7, align 4, !tbaa !11
  %136 = load i32, ptr %29, align 4, !tbaa !5
  %137 = uitofp i32 %136 to float
  %138 = load float, ptr %28, align 4, !tbaa !11
  %139 = call float @llvm.fmuladd.f32(float %137, float %138, float %135)
  store float %139, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %140 = load float, ptr %30, align 4, !tbaa !11
  %141 = fneg float %140
  %142 = fdiv float %141, 2.000000e+01
  %143 = call float @powf(float noundef 1.000000e+01, float noundef %142) #8
  store float %143, ptr %31, align 4, !tbaa !11
  %144 = load i32, ptr %29, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds i32, ptr %118, i64 %145
  store i32 0, ptr %146, align 4, !tbaa !5
  %147 = load i32, ptr %29, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds i32, ptr %121, i64 %148
  store i32 0, ptr %149, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %565, %134
  %151 = load i32, ptr %32, align 4, !tbaa !5
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = icmp ult i32 %151, %152
  br i1 %153, label %154, label %568

154:                                              ; preds = %150
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %166, %154
  %156 = load i32, ptr %14, align 4, !tbaa !5
  %157 = load i32, ptr %6, align 4, !tbaa !5
  %158 = icmp ult i32 %156, %157
  br i1 %158, label %159, label %169

159:                                              ; preds = %155
  %160 = call i32 @rand() #8
  %161 = and i32 %160, 255
  %162 = trunc i32 %161 to i8
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds i8, ptr %91, i64 %164
  store i8 %162, ptr %165, align 1, !tbaa !15
  br label %166

166:                                              ; preds = %159
  %167 = load i32, ptr %14, align 4, !tbaa !5
  %168 = add i32 %167, 1
  store i32 %168, ptr %14, align 4, !tbaa !5
  br label %155, !llvm.loop !16

169:                                              ; preds = %155
  %170 = load ptr, ptr %25, align 8, !tbaa !9
  %171 = load i32, ptr %6, align 4, !tbaa !5
  %172 = call i32 @fec_encode(ptr noundef %170, i32 noundef %171, ptr noundef %91, ptr noundef %94)
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %173

173:                                              ; preds = %306, %169
  %174 = load i32, ptr %14, align 4, !tbaa !5
  %175 = load i32, ptr %15, align 4, !tbaa !5
  %176 = icmp ult i32 %174, %175
  br i1 %176, label %177, label %309

177:                                              ; preds = %173
  %178 = load i32, ptr %14, align 4, !tbaa !5
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds i8, ptr %94, i64 %179
  %181 = load i8, ptr %180, align 1, !tbaa !15
  %182 = zext i8 %181 to i32
  %183 = and i32 %182, 128
  %184 = icmp ne i32 %183, 0
  %185 = zext i1 %184 to i64
  %186 = select i1 %184, float 1.000000e+00, float -1.000000e+00
  %187 = load i32, ptr %14, align 4, !tbaa !5
  %188 = mul i32 8, %187
  %189 = add i32 %188, 0
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds { float, float }, ptr %98, i64 %190
  %192 = getelementptr inbounds { float, float }, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds { float, float }, ptr %191, i32 0, i32 1
  store float %186, ptr %192, align 8
  store float 0.000000e+00, ptr %193, align 4
  %194 = load i32, ptr %14, align 4, !tbaa !5
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds i8, ptr %94, i64 %195
  %197 = load i8, ptr %196, align 1, !tbaa !15
  %198 = zext i8 %197 to i32
  %199 = and i32 %198, 64
  %200 = icmp ne i32 %199, 0
  %201 = zext i1 %200 to i64
  %202 = select i1 %200, float 1.000000e+00, float -1.000000e+00
  %203 = load i32, ptr %14, align 4, !tbaa !5
  %204 = mul i32 8, %203
  %205 = add i32 %204, 1
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds { float, float }, ptr %98, i64 %206
  %208 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 0
  %209 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 1
  store float %202, ptr %208, align 8
  store float 0.000000e+00, ptr %209, align 4
  %210 = load i32, ptr %14, align 4, !tbaa !5
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds i8, ptr %94, i64 %211
  %213 = load i8, ptr %212, align 1, !tbaa !15
  %214 = zext i8 %213 to i32
  %215 = and i32 %214, 32
  %216 = icmp ne i32 %215, 0
  %217 = zext i1 %216 to i64
  %218 = select i1 %216, float 1.000000e+00, float -1.000000e+00
  %219 = load i32, ptr %14, align 4, !tbaa !5
  %220 = mul i32 8, %219
  %221 = add i32 %220, 2
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds { float, float }, ptr %98, i64 %222
  %224 = getelementptr inbounds { float, float }, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds { float, float }, ptr %223, i32 0, i32 1
  store float %218, ptr %224, align 8
  store float 0.000000e+00, ptr %225, align 4
  %226 = load i32, ptr %14, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds i8, ptr %94, i64 %227
  %229 = load i8, ptr %228, align 1, !tbaa !15
  %230 = zext i8 %229 to i32
  %231 = and i32 %230, 16
  %232 = icmp ne i32 %231, 0
  %233 = zext i1 %232 to i64
  %234 = select i1 %232, float 1.000000e+00, float -1.000000e+00
  %235 = load i32, ptr %14, align 4, !tbaa !5
  %236 = mul i32 8, %235
  %237 = add i32 %236, 3
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds { float, float }, ptr %98, i64 %238
  %240 = getelementptr inbounds { float, float }, ptr %239, i32 0, i32 0
  %241 = getelementptr inbounds { float, float }, ptr %239, i32 0, i32 1
  store float %234, ptr %240, align 8
  store float 0.000000e+00, ptr %241, align 4
  %242 = load i32, ptr %14, align 4, !tbaa !5
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %94, i64 %243
  %245 = load i8, ptr %244, align 1, !tbaa !15
  %246 = zext i8 %245 to i32
  %247 = and i32 %246, 8
  %248 = icmp ne i32 %247, 0
  %249 = zext i1 %248 to i64
  %250 = select i1 %248, float 1.000000e+00, float -1.000000e+00
  %251 = load i32, ptr %14, align 4, !tbaa !5
  %252 = mul i32 8, %251
  %253 = add i32 %252, 4
  %254 = zext i32 %253 to i64
  %255 = getelementptr inbounds { float, float }, ptr %98, i64 %254
  %256 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 0
  %257 = getelementptr inbounds { float, float }, ptr %255, i32 0, i32 1
  store float %250, ptr %256, align 8
  store float 0.000000e+00, ptr %257, align 4
  %258 = load i32, ptr %14, align 4, !tbaa !5
  %259 = zext i32 %258 to i64
  %260 = getelementptr inbounds i8, ptr %94, i64 %259
  %261 = load i8, ptr %260, align 1, !tbaa !15
  %262 = zext i8 %261 to i32
  %263 = and i32 %262, 4
  %264 = icmp ne i32 %263, 0
  %265 = zext i1 %264 to i64
  %266 = select i1 %264, float 1.000000e+00, float -1.000000e+00
  %267 = load i32, ptr %14, align 4, !tbaa !5
  %268 = mul i32 8, %267
  %269 = add i32 %268, 5
  %270 = zext i32 %269 to i64
  %271 = getelementptr inbounds { float, float }, ptr %98, i64 %270
  %272 = getelementptr inbounds { float, float }, ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds { float, float }, ptr %271, i32 0, i32 1
  store float %266, ptr %272, align 8
  store float 0.000000e+00, ptr %273, align 4
  %274 = load i32, ptr %14, align 4, !tbaa !5
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds i8, ptr %94, i64 %275
  %277 = load i8, ptr %276, align 1, !tbaa !15
  %278 = zext i8 %277 to i32
  %279 = and i32 %278, 2
  %280 = icmp ne i32 %279, 0
  %281 = zext i1 %280 to i64
  %282 = select i1 %280, float 1.000000e+00, float -1.000000e+00
  %283 = load i32, ptr %14, align 4, !tbaa !5
  %284 = mul i32 8, %283
  %285 = add i32 %284, 6
  %286 = zext i32 %285 to i64
  %287 = getelementptr inbounds { float, float }, ptr %98, i64 %286
  %288 = getelementptr inbounds { float, float }, ptr %287, i32 0, i32 0
  %289 = getelementptr inbounds { float, float }, ptr %287, i32 0, i32 1
  store float %282, ptr %288, align 8
  store float 0.000000e+00, ptr %289, align 4
  %290 = load i32, ptr %14, align 4, !tbaa !5
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds i8, ptr %94, i64 %291
  %293 = load i8, ptr %292, align 1, !tbaa !15
  %294 = zext i8 %293 to i32
  %295 = and i32 %294, 1
  %296 = icmp ne i32 %295, 0
  %297 = zext i1 %296 to i64
  %298 = select i1 %296, float 1.000000e+00, float -1.000000e+00
  %299 = load i32, ptr %14, align 4, !tbaa !5
  %300 = mul i32 8, %299
  %301 = add i32 %300, 7
  %302 = zext i32 %301 to i64
  %303 = getelementptr inbounds { float, float }, ptr %98, i64 %302
  %304 = getelementptr inbounds { float, float }, ptr %303, i32 0, i32 0
  %305 = getelementptr inbounds { float, float }, ptr %303, i32 0, i32 1
  store float %298, ptr %304, align 8
  store float 0.000000e+00, ptr %305, align 4
  br label %306

306:                                              ; preds = %177
  %307 = load i32, ptr %14, align 4, !tbaa !5
  %308 = add i32 %307, 1
  store i32 %308, ptr %14, align 4, !tbaa !5
  br label %173, !llvm.loop !17

309:                                              ; preds = %173
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %310

310:                                              ; preds = %343, %309
  %311 = load i32, ptr %14, align 4, !tbaa !5
  %312 = load i32, ptr %15, align 4, !tbaa !5
  %313 = mul i32 8, %312
  %314 = icmp ult i32 %311, %313
  br i1 %314, label %315, label %346

315:                                              ; preds = %310
  %316 = load float, ptr %31, align 4, !tbaa !11
  %317 = call float (...) @randnf()
  %318 = call float (...) @randf()
  %319 = fmul float 0.000000e+00, %318
  %320 = fmul float 1.000000e+00, %318
  %321 = fadd float %317, %319
  %322 = fmul float %316, %321
  %323 = fmul float %316, %320
  %324 = fpext float %322 to double
  %325 = fpext float %323 to double
  %326 = fmul double %324, 0x3FE6A09E667F3BCD
  %327 = fmul double %325, 0x3FE6A09E667F3BCD
  %328 = load i32, ptr %14, align 4, !tbaa !5
  %329 = zext i32 %328 to i64
  %330 = getelementptr inbounds { float, float }, ptr %98, i64 %329
  %331 = getelementptr inbounds { float, float }, ptr %330, i32 0, i32 0
  %332 = load float, ptr %331, align 8
  %333 = getelementptr inbounds { float, float }, ptr %330, i32 0, i32 1
  %334 = load float, ptr %333, align 4
  %335 = fpext float %332 to double
  %336 = fpext float %334 to double
  %337 = fadd double %335, %326
  %338 = fadd double %336, %327
  %339 = fptrunc double %337 to float
  %340 = fptrunc double %338 to float
  %341 = getelementptr inbounds { float, float }, ptr %330, i32 0, i32 0
  %342 = getelementptr inbounds { float, float }, ptr %330, i32 0, i32 1
  store float %339, ptr %341, align 8
  store float %340, ptr %342, align 4
  br label %343

343:                                              ; preds = %315
  %344 = load i32, ptr %14, align 4, !tbaa !5
  %345 = add i32 %344, 1
  store i32 %345, ptr %14, align 4, !tbaa !5
  br label %310, !llvm.loop !18

346:                                              ; preds = %310
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %347

347:                                              ; preds = %377, %346
  %348 = load i32, ptr %14, align 4, !tbaa !5
  %349 = load i32, ptr %15, align 4, !tbaa !5
  %350 = mul i32 8, %349
  %351 = icmp ult i32 %348, %350
  br i1 %351, label %352, label %380

352:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %353 = load i32, ptr %14, align 4, !tbaa !5
  %354 = zext i32 %353 to i64
  %355 = getelementptr inbounds { float, float }, ptr %98, i64 %354
  %356 = getelementptr inbounds { float, float }, ptr %355, i32 0, i32 0
  %357 = load float, ptr %356, align 8
  %358 = getelementptr inbounds { float, float }, ptr %355, i32 0, i32 1
  %359 = load float, ptr %358, align 4
  %360 = fmul float 2.000000e+00, %357
  store float %360, ptr %33, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %361 = load float, ptr %33, align 4, !tbaa !11
  %362 = call float @llvm.fmuladd.f32(float 1.600000e+01, float %361, float 1.270000e+02)
  %363 = fptosi float %362 to i32
  store i32 %363, ptr %34, align 4, !tbaa !5
  %364 = load i32, ptr %34, align 4, !tbaa !5
  %365 = icmp sgt i32 %364, 255
  br i1 %365, label %366, label %367

366:                                              ; preds = %352
  store i32 255, ptr %34, align 4, !tbaa !5
  br label %367

367:                                              ; preds = %366, %352
  %368 = load i32, ptr %34, align 4, !tbaa !5
  %369 = icmp slt i32 %368, 0
  br i1 %369, label %370, label %371

370:                                              ; preds = %367
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %371

371:                                              ; preds = %370, %367
  %372 = load i32, ptr %34, align 4, !tbaa !5
  %373 = trunc i32 %372 to i8
  %374 = load i32, ptr %14, align 4, !tbaa !5
  %375 = zext i32 %374 to i64
  %376 = getelementptr inbounds i8, ptr %102, i64 %375
  store i8 %373, ptr %376, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %377

377:                                              ; preds = %371
  %378 = load i32, ptr %14, align 4, !tbaa !5
  %379 = add i32 %378, 1
  store i32 %379, ptr %14, align 4, !tbaa !5
  br label %347, !llvm.loop !19

380:                                              ; preds = %347
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %381

381:                                              ; preds = %541, %380
  %382 = load i32, ptr %14, align 4, !tbaa !5
  %383 = load i32, ptr %15, align 4, !tbaa !5
  %384 = icmp ult i32 %382, %383
  br i1 %384, label %385, label %544

385:                                              ; preds = %381
  %386 = load i32, ptr %14, align 4, !tbaa !5
  %387 = zext i32 %386 to i64
  %388 = getelementptr inbounds i8, ptr %105, i64 %387
  store i8 0, ptr %388, align 1, !tbaa !15
  %389 = load i32, ptr %14, align 4, !tbaa !5
  %390 = mul i32 8, %389
  %391 = add i32 %390, 0
  %392 = zext i32 %391 to i64
  %393 = getelementptr inbounds { float, float }, ptr %98, i64 %392
  %394 = getelementptr inbounds { float, float }, ptr %393, i32 0, i32 0
  %395 = load float, ptr %394, align 8
  %396 = getelementptr inbounds { float, float }, ptr %393, i32 0, i32 1
  %397 = load float, ptr %396, align 4
  %398 = fcmp ogt float %395, 0.000000e+00
  %399 = zext i1 %398 to i64
  %400 = select i1 %398, i32 128, i32 0
  %401 = load i32, ptr %14, align 4, !tbaa !5
  %402 = zext i32 %401 to i64
  %403 = getelementptr inbounds i8, ptr %105, i64 %402
  %404 = load i8, ptr %403, align 1, !tbaa !15
  %405 = zext i8 %404 to i32
  %406 = or i32 %405, %400
  %407 = trunc i32 %406 to i8
  store i8 %407, ptr %403, align 1, !tbaa !15
  %408 = load i32, ptr %14, align 4, !tbaa !5
  %409 = mul i32 8, %408
  %410 = add i32 %409, 1
  %411 = zext i32 %410 to i64
  %412 = getelementptr inbounds { float, float }, ptr %98, i64 %411
  %413 = getelementptr inbounds { float, float }, ptr %412, i32 0, i32 0
  %414 = load float, ptr %413, align 8
  %415 = getelementptr inbounds { float, float }, ptr %412, i32 0, i32 1
  %416 = load float, ptr %415, align 4
  %417 = fcmp ogt float %414, 0.000000e+00
  %418 = zext i1 %417 to i64
  %419 = select i1 %417, i32 64, i32 0
  %420 = load i32, ptr %14, align 4, !tbaa !5
  %421 = zext i32 %420 to i64
  %422 = getelementptr inbounds i8, ptr %105, i64 %421
  %423 = load i8, ptr %422, align 1, !tbaa !15
  %424 = zext i8 %423 to i32
  %425 = or i32 %424, %419
  %426 = trunc i32 %425 to i8
  store i8 %426, ptr %422, align 1, !tbaa !15
  %427 = load i32, ptr %14, align 4, !tbaa !5
  %428 = mul i32 8, %427
  %429 = add i32 %428, 2
  %430 = zext i32 %429 to i64
  %431 = getelementptr inbounds { float, float }, ptr %98, i64 %430
  %432 = getelementptr inbounds { float, float }, ptr %431, i32 0, i32 0
  %433 = load float, ptr %432, align 8
  %434 = getelementptr inbounds { float, float }, ptr %431, i32 0, i32 1
  %435 = load float, ptr %434, align 4
  %436 = fcmp ogt float %433, 0.000000e+00
  %437 = zext i1 %436 to i64
  %438 = select i1 %436, i32 32, i32 0
  %439 = load i32, ptr %14, align 4, !tbaa !5
  %440 = zext i32 %439 to i64
  %441 = getelementptr inbounds i8, ptr %105, i64 %440
  %442 = load i8, ptr %441, align 1, !tbaa !15
  %443 = zext i8 %442 to i32
  %444 = or i32 %443, %438
  %445 = trunc i32 %444 to i8
  store i8 %445, ptr %441, align 1, !tbaa !15
  %446 = load i32, ptr %14, align 4, !tbaa !5
  %447 = mul i32 8, %446
  %448 = add i32 %447, 3
  %449 = zext i32 %448 to i64
  %450 = getelementptr inbounds { float, float }, ptr %98, i64 %449
  %451 = getelementptr inbounds { float, float }, ptr %450, i32 0, i32 0
  %452 = load float, ptr %451, align 8
  %453 = getelementptr inbounds { float, float }, ptr %450, i32 0, i32 1
  %454 = load float, ptr %453, align 4
  %455 = fcmp ogt float %452, 0.000000e+00
  %456 = zext i1 %455 to i64
  %457 = select i1 %455, i32 16, i32 0
  %458 = load i32, ptr %14, align 4, !tbaa !5
  %459 = zext i32 %458 to i64
  %460 = getelementptr inbounds i8, ptr %105, i64 %459
  %461 = load i8, ptr %460, align 1, !tbaa !15
  %462 = zext i8 %461 to i32
  %463 = or i32 %462, %457
  %464 = trunc i32 %463 to i8
  store i8 %464, ptr %460, align 1, !tbaa !15
  %465 = load i32, ptr %14, align 4, !tbaa !5
  %466 = mul i32 8, %465
  %467 = add i32 %466, 4
  %468 = zext i32 %467 to i64
  %469 = getelementptr inbounds { float, float }, ptr %98, i64 %468
  %470 = getelementptr inbounds { float, float }, ptr %469, i32 0, i32 0
  %471 = load float, ptr %470, align 8
  %472 = getelementptr inbounds { float, float }, ptr %469, i32 0, i32 1
  %473 = load float, ptr %472, align 4
  %474 = fcmp ogt float %471, 0.000000e+00
  %475 = zext i1 %474 to i64
  %476 = select i1 %474, i32 8, i32 0
  %477 = load i32, ptr %14, align 4, !tbaa !5
  %478 = zext i32 %477 to i64
  %479 = getelementptr inbounds i8, ptr %105, i64 %478
  %480 = load i8, ptr %479, align 1, !tbaa !15
  %481 = zext i8 %480 to i32
  %482 = or i32 %481, %476
  %483 = trunc i32 %482 to i8
  store i8 %483, ptr %479, align 1, !tbaa !15
  %484 = load i32, ptr %14, align 4, !tbaa !5
  %485 = mul i32 8, %484
  %486 = add i32 %485, 5
  %487 = zext i32 %486 to i64
  %488 = getelementptr inbounds { float, float }, ptr %98, i64 %487
  %489 = getelementptr inbounds { float, float }, ptr %488, i32 0, i32 0
  %490 = load float, ptr %489, align 8
  %491 = getelementptr inbounds { float, float }, ptr %488, i32 0, i32 1
  %492 = load float, ptr %491, align 4
  %493 = fcmp ogt float %490, 0.000000e+00
  %494 = zext i1 %493 to i64
  %495 = select i1 %493, i32 4, i32 0
  %496 = load i32, ptr %14, align 4, !tbaa !5
  %497 = zext i32 %496 to i64
  %498 = getelementptr inbounds i8, ptr %105, i64 %497
  %499 = load i8, ptr %498, align 1, !tbaa !15
  %500 = zext i8 %499 to i32
  %501 = or i32 %500, %495
  %502 = trunc i32 %501 to i8
  store i8 %502, ptr %498, align 1, !tbaa !15
  %503 = load i32, ptr %14, align 4, !tbaa !5
  %504 = mul i32 8, %503
  %505 = add i32 %504, 6
  %506 = zext i32 %505 to i64
  %507 = getelementptr inbounds { float, float }, ptr %98, i64 %506
  %508 = getelementptr inbounds { float, float }, ptr %507, i32 0, i32 0
  %509 = load float, ptr %508, align 8
  %510 = getelementptr inbounds { float, float }, ptr %507, i32 0, i32 1
  %511 = load float, ptr %510, align 4
  %512 = fcmp ogt float %509, 0.000000e+00
  %513 = zext i1 %512 to i64
  %514 = select i1 %512, i32 2, i32 0
  %515 = load i32, ptr %14, align 4, !tbaa !5
  %516 = zext i32 %515 to i64
  %517 = getelementptr inbounds i8, ptr %105, i64 %516
  %518 = load i8, ptr %517, align 1, !tbaa !15
  %519 = zext i8 %518 to i32
  %520 = or i32 %519, %514
  %521 = trunc i32 %520 to i8
  store i8 %521, ptr %517, align 1, !tbaa !15
  %522 = load i32, ptr %14, align 4, !tbaa !5
  %523 = mul i32 8, %522
  %524 = add i32 %523, 7
  %525 = zext i32 %524 to i64
  %526 = getelementptr inbounds { float, float }, ptr %98, i64 %525
  %527 = getelementptr inbounds { float, float }, ptr %526, i32 0, i32 0
  %528 = load float, ptr %527, align 8
  %529 = getelementptr inbounds { float, float }, ptr %526, i32 0, i32 1
  %530 = load float, ptr %529, align 4
  %531 = fcmp ogt float %528, 0.000000e+00
  %532 = zext i1 %531 to i64
  %533 = select i1 %531, i32 1, i32 0
  %534 = load i32, ptr %14, align 4, !tbaa !5
  %535 = zext i32 %534 to i64
  %536 = getelementptr inbounds i8, ptr %105, i64 %535
  %537 = load i8, ptr %536, align 1, !tbaa !15
  %538 = zext i8 %537 to i32
  %539 = or i32 %538, %533
  %540 = trunc i32 %539 to i8
  store i8 %540, ptr %536, align 1, !tbaa !15
  br label %541

541:                                              ; preds = %385
  %542 = load i32, ptr %14, align 4, !tbaa !5
  %543 = add i32 %542, 1
  store i32 %543, ptr %14, align 4, !tbaa !5
  br label %381, !llvm.loop !20

544:                                              ; preds = %381
  %545 = load ptr, ptr %25, align 8, !tbaa !9
  %546 = load i32, ptr %6, align 4, !tbaa !5
  %547 = call i32 @fec_decode(ptr noundef %545, i32 noundef %546, ptr noundef %105, ptr noundef %111)
  %548 = load ptr, ptr %25, align 8, !tbaa !9
  %549 = load i32, ptr %6, align 4, !tbaa !5
  %550 = call i32 @fec_decode_soft(ptr noundef %548, i32 noundef %549, ptr noundef %102, ptr noundef %108)
  %551 = load i32, ptr %6, align 4, !tbaa !5
  %552 = call i32 @count_bit_errors_array(ptr noundef %91, ptr noundef %108, i32 noundef %551)
  %553 = load i32, ptr %29, align 4, !tbaa !5
  %554 = zext i32 %553 to i64
  %555 = getelementptr inbounds i32, ptr %118, i64 %554
  %556 = load i32, ptr %555, align 4, !tbaa !5
  %557 = add i32 %556, %552
  store i32 %557, ptr %555, align 4, !tbaa !5
  %558 = load i32, ptr %6, align 4, !tbaa !5
  %559 = call i32 @count_bit_errors_array(ptr noundef %91, ptr noundef %111, i32 noundef %558)
  %560 = load i32, ptr %29, align 4, !tbaa !5
  %561 = zext i32 %560 to i64
  %562 = getelementptr inbounds i32, ptr %121, i64 %561
  %563 = load i32, ptr %562, align 4, !tbaa !5
  %564 = add i32 %563, %559
  store i32 %564, ptr %562, align 4, !tbaa !5
  br label %565

565:                                              ; preds = %544
  %566 = load i32, ptr %32, align 4, !tbaa !5
  %567 = add i32 %566, 1
  store i32 %567, ptr %32, align 4, !tbaa !5
  br label %150, !llvm.loop !21

568:                                              ; preds = %150
  %569 = load float, ptr %30, align 4, !tbaa !11
  %570 = fpext float %569 to double
  %571 = load float, ptr %30, align 4, !tbaa !11
  %572 = load float, ptr %16, align 4, !tbaa !11
  %573 = call float @log10f(float noundef %572) #8
  %574 = call float @llvm.fmuladd.f32(float -1.000000e+01, float %573, float %571)
  %575 = fpext float %574 to double
  %576 = load i32, ptr %6, align 4, !tbaa !5
  %577 = mul i32 8, %576
  %578 = load i32, ptr %10, align 4, !tbaa !5
  %579 = mul i32 %577, %578
  %580 = load i32, ptr %29, align 4, !tbaa !5
  %581 = zext i32 %580 to i64
  %582 = getelementptr inbounds i32, ptr %118, i64 %581
  %583 = load i32, ptr %582, align 4, !tbaa !5
  %584 = load i32, ptr %29, align 4, !tbaa !5
  %585 = zext i32 %584 to i64
  %586 = getelementptr inbounds i32, ptr %118, i64 %585
  %587 = load i32, ptr %586, align 4, !tbaa !5
  %588 = uitofp i32 %587 to float
  %589 = load i32, ptr %10, align 4, !tbaa !5
  %590 = load i32, ptr %6, align 4, !tbaa !5
  %591 = mul i32 %589, %590
  %592 = mul i32 %591, 8
  %593 = uitofp i32 %592 to float
  %594 = fdiv float %588, %593
  %595 = fpext float %594 to double
  %596 = load i32, ptr %29, align 4, !tbaa !5
  %597 = zext i32 %596 to i64
  %598 = getelementptr inbounds i32, ptr %121, i64 %597
  %599 = load i32, ptr %598, align 4, !tbaa !5
  %600 = load i32, ptr %29, align 4, !tbaa !5
  %601 = zext i32 %600 to i64
  %602 = getelementptr inbounds i32, ptr %121, i64 %601
  %603 = load i32, ptr %602, align 4, !tbaa !5
  %604 = uitofp i32 %603 to float
  %605 = load i32, ptr %10, align 4, !tbaa !5
  %606 = load i32, ptr %6, align 4, !tbaa !5
  %607 = mul i32 %605, %606
  %608 = mul i32 %607, 8
  %609 = uitofp i32 %608 to float
  %610 = fdiv float %604, %609
  %611 = fpext float %610 to double
  %612 = load float, ptr %31, align 4, !tbaa !11
  %613 = fdiv float 1.000000e+00, %612
  %614 = call float @erfcf(float noundef %613) #8
  %615 = fmul float 5.000000e-01, %614
  %616 = fpext float %615 to double
  %617 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %570, double noundef %575, i32 noundef %579, i32 noundef %583, double noundef %595, i32 noundef %599, double noundef %611, double noundef %616)
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %618

618:                                              ; preds = %568
  %619 = load i32, ptr %29, align 4, !tbaa !5
  %620 = add i32 %619, 1
  store i32 %620, ptr %29, align 4, !tbaa !5
  br label %130, !llvm.loop !22

621:                                              ; preds = %130
  %622 = load ptr, ptr %25, align 8, !tbaa !9
  %623 = call i32 @fec_destroy(ptr noundef %622)
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %624 = call noalias ptr @fopen(ptr noundef @.str.23, ptr noundef @.str.24)
  store ptr %624, ptr %35, align 8, !tbaa !9
  %625 = load ptr, ptr %35, align 8, !tbaa !9
  %626 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %625, ptr noundef @.str.25, ptr noundef @.str.23) #8
  %627 = load ptr, ptr %35, align 8, !tbaa !9
  %628 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %627, ptr noundef @.str.26) #8
  %629 = load ptr, ptr %35, align 8, !tbaa !9
  %630 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %629, ptr noundef @.str.27) #8
  %631 = load ptr, ptr %35, align 8, !tbaa !9
  %632 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %631, ptr noundef @.str.28) #8
  %633 = load ptr, ptr %35, align 8, !tbaa !9
  %634 = load i32, ptr %6, align 4, !tbaa !5
  %635 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %633, ptr noundef @.str.29, i32 noundef %634) #8
  %636 = load ptr, ptr %35, align 8, !tbaa !9
  %637 = load i32, ptr %15, align 4, !tbaa !5
  %638 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %636, ptr noundef @.str.30, i32 noundef %637) #8
  %639 = load ptr, ptr %35, align 8, !tbaa !9
  %640 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %639, ptr noundef @.str.31) #8
  %641 = load ptr, ptr %35, align 8, !tbaa !9
  %642 = load i32, ptr %9, align 4, !tbaa !5
  %643 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %641, ptr noundef @.str.32, i32 noundef %642) #8
  %644 = load ptr, ptr %35, align 8, !tbaa !9
  %645 = load i32, ptr %10, align 4, !tbaa !5
  %646 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %644, ptr noundef @.str.33, i32 noundef %645) #8
  %647 = load ptr, ptr %35, align 8, !tbaa !9
  %648 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %647, ptr noundef @.str.34) #8
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %649

649:                                              ; preds = %680, %621
  %650 = load i32, ptr %14, align 4, !tbaa !5
  %651 = load i32, ptr %9, align 4, !tbaa !5
  %652 = icmp ult i32 %650, %651
  br i1 %652, label %653, label %683

653:                                              ; preds = %649
  %654 = load ptr, ptr %35, align 8, !tbaa !9
  %655 = load i32, ptr %14, align 4, !tbaa !5
  %656 = add i32 %655, 1
  %657 = load float, ptr %7, align 4, !tbaa !11
  %658 = load i32, ptr %14, align 4, !tbaa !5
  %659 = uitofp i32 %658 to float
  %660 = load float, ptr %28, align 4, !tbaa !11
  %661 = call float @llvm.fmuladd.f32(float %659, float %660, float %657)
  %662 = fpext float %661 to double
  %663 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %654, ptr noundef @.str.35, i32 noundef %656, double noundef %662) #8
  %664 = load ptr, ptr %35, align 8, !tbaa !9
  %665 = load i32, ptr %14, align 4, !tbaa !5
  %666 = add i32 %665, 1
  %667 = load i32, ptr %14, align 4, !tbaa !5
  %668 = zext i32 %667 to i64
  %669 = getelementptr inbounds i32, ptr %118, i64 %668
  %670 = load i32, ptr %669, align 4, !tbaa !5
  %671 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %664, ptr noundef @.str.36, i32 noundef %666, i32 noundef %670) #8
  %672 = load ptr, ptr %35, align 8, !tbaa !9
  %673 = load i32, ptr %14, align 4, !tbaa !5
  %674 = add i32 %673, 1
  %675 = load i32, ptr %14, align 4, !tbaa !5
  %676 = zext i32 %675 to i64
  %677 = getelementptr inbounds i32, ptr %121, i64 %676
  %678 = load i32, ptr %677, align 4, !tbaa !5
  %679 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %672, ptr noundef @.str.37, i32 noundef %674, i32 noundef %678) #8
  br label %680

680:                                              ; preds = %653
  %681 = load i32, ptr %14, align 4, !tbaa !5
  %682 = add i32 %681, 1
  store i32 %682, ptr %14, align 4, !tbaa !5
  br label %649, !llvm.loop !23

683:                                              ; preds = %649
  %684 = load ptr, ptr %35, align 8, !tbaa !9
  %685 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %684, ptr noundef @.str.38) #8
  %686 = load ptr, ptr %35, align 8, !tbaa !9
  %687 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %686, ptr noundef @.str.39) #8
  %688 = load ptr, ptr %35, align 8, !tbaa !9
  %689 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %688, ptr noundef @.str.26) #8
  %690 = load ptr, ptr %35, align 8, !tbaa !9
  %691 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %690, ptr noundef @.str.40) #8
  %692 = load ptr, ptr %35, align 8, !tbaa !9
  %693 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %692, ptr noundef @.str.41) #8
  %694 = load ptr, ptr %35, align 8, !tbaa !9
  %695 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %694, ptr noundef @.str.42) #8
  %696 = load ptr, ptr %35, align 8, !tbaa !9
  %697 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %696, ptr noundef @.str.43) #8
  %698 = load ptr, ptr %35, align 8, !tbaa !9
  %699 = load float, ptr %7, align 4, !tbaa !11
  %700 = fpext float %699 to double
  %701 = load float, ptr %8, align 4, !tbaa !11
  %702 = fpext float %701 to double
  %703 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %698, ptr noundef @.str.44, double noundef %700, double noundef %702) #8
  %704 = load ptr, ptr %35, align 8, !tbaa !9
  %705 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %704, ptr noundef @.str.45) #8
  %706 = load ptr, ptr %35, align 8, !tbaa !9
  %707 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %706, ptr noundef @.str.46) #8
  %708 = load ptr, ptr %35, align 8, !tbaa !9
  %709 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %708, ptr noundef @.str.47) #8
  %710 = load ptr, ptr %35, align 8, !tbaa !9
  %711 = load i32, ptr %11, align 4, !tbaa !5
  %712 = zext i32 %711 to i64
  %713 = getelementptr inbounds [28 x [2 x ptr]], ptr @fec_scheme_str, i64 0, i64 %712
  %714 = getelementptr inbounds [2 x ptr], ptr %713, i64 0, i64 1
  %715 = load ptr, ptr %714, align 8, !tbaa !9
  %716 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %710, ptr noundef @.str.48, ptr noundef %715) #8
  %717 = load ptr, ptr %35, align 8, !tbaa !9
  %718 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %717, ptr noundef @.str.49) #8
  %719 = load ptr, ptr %35, align 8, !tbaa !9
  %720 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %719, ptr noundef @.str.26) #8
  %721 = load ptr, ptr %35, align 8, !tbaa !9
  %722 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %721, ptr noundef @.str.40) #8
  %723 = load ptr, ptr %35, align 8, !tbaa !9
  %724 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %723, ptr noundef @.str.41) #8
  %725 = load ptr, ptr %35, align 8, !tbaa !9
  %726 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %725, ptr noundef @.str.50) #8
  %727 = load ptr, ptr %35, align 8, !tbaa !9
  %728 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %727, ptr noundef @.str.51) #8
  %729 = load ptr, ptr %35, align 8, !tbaa !9
  %730 = load float, ptr %7, align 4, !tbaa !11
  %731 = fpext float %730 to double
  %732 = load float, ptr %8, align 4, !tbaa !11
  %733 = fpext float %732 to double
  %734 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %729, ptr noundef @.str.52, double noundef %731, double noundef %733) #8
  %735 = load ptr, ptr %35, align 8, !tbaa !9
  %736 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %735, ptr noundef @.str.45) #8
  %737 = load ptr, ptr %35, align 8, !tbaa !9
  %738 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %737, ptr noundef @.str.53) #8
  %739 = load ptr, ptr %35, align 8, !tbaa !9
  %740 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %739, ptr noundef @.str.47) #8
  %741 = load ptr, ptr %35, align 8, !tbaa !9
  %742 = load i32, ptr %11, align 4, !tbaa !5
  %743 = zext i32 %742 to i64
  %744 = getelementptr inbounds [28 x [2 x ptr]], ptr @fec_scheme_str, i64 0, i64 %743
  %745 = getelementptr inbounds [2 x ptr], ptr %744, i64 0, i64 1
  %746 = load ptr, ptr %745, align 8, !tbaa !9
  %747 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %741, ptr noundef @.str.54, ptr noundef %746) #8
  %748 = load ptr, ptr %35, align 8, !tbaa !9
  %749 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %748, ptr noundef @.str.49) #8
  %750 = load ptr, ptr %35, align 8, !tbaa !9
  %751 = call i32 @fclose(ptr noundef %750)
  %752 = call i32 (ptr, ...) @printf(ptr noundef @.str.55, ptr noundef @.str.23)
  %753 = call i32 (ptr, ...) @printf(ptr noundef @.str.56)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %754 = load ptr, ptr %17, align 8
  call void @llvm.stackrestore.p0(ptr %754)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %755

755:                                              ; preds = %683, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %756 = load i32, ptr %3, align 4
  ret i32 %756
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

declare i32 @liquid_getopt_str2fec(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

declare i32 @fec_get_enc_msg_length(i32 noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

declare ptr @fec_create(i32 noundef, ptr noundef) #1

declare i32 @fec_print(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

; Function Attrs: nounwind
declare float @powf(float noundef, float noundef) #2

; Function Attrs: nounwind
declare i32 @rand() #2

declare i32 @fec_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare float @randnf(...) #1

declare float @randf(...) #1

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

declare i32 @fec_decode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @fec_decode_soft(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @count_bit_errors_array(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind
declare float @log10f(float noundef) #2

; Function Attrs: nounwind
declare float @erfcf(float noundef) #2

declare i32 @fec_destroy(ptr noundef) #1

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind willreturn }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn nounwind }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.10 = external hidden unnamed_addr constant [15 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [34 x i8], align 1
@fec_scheme_str = external local_unnamed_addr global [28 x [2 x ptr]], align 16
@.str.49 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call i64 @time(ptr noundef null) #10
  %4 = trunc i64 %3 to i32
  tail call void @srand(i32 noundef %4) #10
  br label %.outer

.outer:                                           ; preds = %25, %2
  %.0190.ph = phi i32 [ %27, %25 ], [ 4, %2 ]
  %.0188.ph = phi i32 [ %.0188.ph352, %25 ], [ 800, %2 ]
  %.0185.ph = phi i32 [ %.0185.ph358, %25 ], [ 16, %2 ]
  %.0183.ph = phi float [ %.0183.ph363, %25 ], [ 1.300000e+01, %2 ]
  %.0180.ph = phi float [ %.0180.ph367, %25 ], [ -2.000000e+00, %2 ]
  %.0179.ph = phi i32 [ %.0179, %25 ], [ 64, %2 ]
  br label %.outer351

.outer351:                                        ; preds = %.outer, %19
  %.0188.ph352 = phi i32 [ %.0188.ph, %.outer ], [ %21, %19 ]
  %.0185.ph353 = phi i32 [ %.0185.ph, %.outer ], [ %.0185.ph358, %19 ]
  %.0183.ph354 = phi float [ %.0183.ph, %.outer ], [ %.0183.ph363, %19 ]
  %.0180.ph355 = phi float [ %.0180.ph, %.outer ], [ %.0180.ph367, %19 ]
  %.0179.ph356 = phi i32 [ %.0179.ph, %.outer ], [ %.0179, %19 ]
  br label %.outer357

.outer357:                                        ; preds = %.outer351, %16
  %.0185.ph358 = phi i32 [ %.0185.ph353, %.outer351 ], [ %18, %16 ]
  %.0183.ph359 = phi float [ %.0183.ph354, %.outer351 ], [ %.0183.ph363, %16 ]
  %.0180.ph360 = phi float [ %.0180.ph355, %.outer351 ], [ %.0180.ph367, %16 ]
  %.0179.ph361 = phi i32 [ %.0179.ph356, %.outer351 ], [ %.0179, %16 ]
  br label %.outer362

.outer362:                                        ; preds = %.outer357, %12
  %.0183.ph363 = phi float [ %.0183.ph359, %.outer357 ], [ %15, %12 ]
  %.0180.ph364 = phi float [ %.0180.ph360, %.outer357 ], [ %.0180.ph367, %12 ]
  %.0179.ph365 = phi i32 [ %.0179.ph361, %.outer357 ], [ %.0179, %12 ]
  br label %.outer366

.outer366:                                        ; preds = %.outer362, %8
  %.0180.ph367 = phi float [ %.0180.ph364, %.outer362 ], [ %11, %8 ]
  %.0179.ph368 = phi i32 [ %.0179.ph365, %.outer362 ], [ %.0179, %8 ]
  br label %5

5:                                                ; preds = %.outer366, %22
  %.0179 = phi i32 [ %24, %22 ], [ %.0179.ph368, %.outer366 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.10) #10
  switch i32 %6, label %33 [
    i32 -1, label %34
    i32 104, label %7
    i32 117, label %7
    i32 115, label %8
    i32 120, label %12
    i32 110, label %16
    i32 116, label %19
    i32 102, label %22
    i32 99, label %25
  ]

7:                                                ; preds = %5, %5
  tail call void @usage()
  br label %334

8:                                                ; preds = %5
  %9 = load ptr, ptr @optarg, align 8, !tbaa !5
  %10 = tail call double @atof(ptr noundef %9) #11
  %11 = fptrunc double %10 to float
  br label %.outer366, !llvm.loop !9

12:                                               ; preds = %5
  %13 = load ptr, ptr @optarg, align 8, !tbaa !5
  %14 = tail call double @atof(ptr noundef %13) #11
  %15 = fptrunc double %14 to float
  br label %.outer362, !llvm.loop !9

16:                                               ; preds = %5
  %17 = load ptr, ptr @optarg, align 8, !tbaa !5
  %18 = tail call i32 @atoi(ptr nocapture noundef %17) #11
  br label %.outer357, !llvm.loop !9

19:                                               ; preds = %5
  %20 = load ptr, ptr @optarg, align 8, !tbaa !5
  %21 = tail call i32 @atoi(ptr nocapture noundef %20) #11
  br label %.outer351, !llvm.loop !9

22:                                               ; preds = %5
  %23 = load ptr, ptr @optarg, align 8, !tbaa !5
  %24 = tail call i32 @atoi(ptr nocapture noundef %23) #11
  br label %5, !llvm.loop !9

25:                                               ; preds = %5
  %26 = load ptr, ptr @optarg, align 8, !tbaa !5
  %27 = tail call i32 @liquid_getopt_str2fec(ptr noundef %26) #10
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %.outer, !llvm.loop !9

29:                                               ; preds = %25
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = load ptr, ptr @optarg, align 8, !tbaa !5
  %32 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.11, ptr noundef %31) #12
  tail call void @exit(i32 noundef 1) #13
  unreachable

33:                                               ; preds = %5
  tail call void @exit(i32 noundef 1) #13
  unreachable

34:                                               ; preds = %5
  %35 = tail call i32 @fec_get_enc_msg_length(i32 noundef %.0190.ph, i32 noundef %.0179) #10
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %.0179)
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %35)
  %38 = uitofp i32 %.0179 to float
  %39 = uitofp i32 %35 to float
  %40 = fdiv float %38, %39
  %41 = zext i32 %.0179 to i64
  %42 = tail call ptr @llvm.stacksave.p0()
  %43 = alloca i8, i64 %41, align 16
  %44 = zext i32 %35 to i64
  %45 = alloca i8, i64 %44, align 16
  %46 = shl i32 %35, 3
  %47 = zext i32 %46 to i64
  %48 = alloca { float, float }, i64 %47, align 16
  %49 = alloca i8, i64 %47, align 16
  %50 = alloca i8, i64 %44, align 16
  %51 = alloca i8, i64 %41, align 16
  %52 = alloca i8, i64 %41, align 16
  %53 = tail call ptr @fec_create(i32 noundef %.0190.ph, ptr noundef null) #10
  %54 = tail call i32 @fec_print(ptr noundef %53) #10
  %55 = zext i32 %.0185.ph358 to i64
  %56 = alloca i32, i64 %55, align 16
  %57 = alloca i32, i64 %55, align 16
  %58 = fsub float %.0183.ph363, %.0180.ph367
  %59 = add i32 %.0185.ph358, -1
  %60 = uitofp i32 %59 to float
  %61 = fdiv float %58, %60
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.21)
  %.not = icmp eq i32 %.0185.ph358, 0
  br i1 %.not, label %._crit_edge244, label %.lr.ph243

.lr.ph243:                                        ; preds = %34
  %factor.op.mul239 = mul i32 %.0188.ph352, %.0179
  %.not246 = icmp eq i32 %.0188.ph352, 0
  %.not247 = icmp eq i32 %.0179, 0
  %.not248 = icmp eq i32 %35, 0
  %.not249 = icmp eq i32 %46, 0
  %.reass = shl i32 %factor.op.mul239, 3
  %63 = uitofp i32 %.reass to float
  br i1 %.not246, label %.lr.ph243.split.preheader, label %.preheader207.lr.ph.us.preheader

.preheader207.lr.ph.us.preheader:                 ; preds = %.lr.ph243
  %n.vec = add nsw i64 %47, -4
  %64 = getelementptr inbounds { float, float }, ptr %48, i64 %n.vec
  %65 = getelementptr inbounds i8, ptr %49, i64 %n.vec
  %indvars.iv.next284 = add nsw i64 %47, -3
  %66 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv.next284
  %67 = getelementptr inbounds i8, ptr %49, i64 %indvars.iv.next284
  %indvars.iv.next284.1 = add nsw i64 %47, -2
  %68 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv.next284.1
  %69 = getelementptr inbounds i8, ptr %49, i64 %indvars.iv.next284.1
  %indvars.iv.next284.2 = add nsw i64 %47, -1
  %70 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv.next284.2
  %71 = getelementptr inbounds i8, ptr %49, i64 %indvars.iv.next284.2
  br label %.preheader207.lr.ph.us

.lr.ph243.split.preheader:                        ; preds = %.lr.ph243
  %72 = fdiv float 0.000000e+00, %63
  %73 = fpext float %72 to double
  br label %.lr.ph243.split

.preheader207.lr.ph.us:                           ; preds = %.preheader207.lr.ph.us.preheader, %._crit_edge238.us
  %indvars.iv294 = phi i64 [ %indvars.iv.next295, %._crit_edge238.us ], [ 0, %.preheader207.lr.ph.us.preheader ]
  %74 = trunc nuw i64 %indvars.iv294 to i32
  %75 = uitofp i32 %74 to float
  %76 = call float @llvm.fmuladd.f32(float %75, float %61, float %.0180.ph367)
  %77 = fdiv float %76, -2.000000e+01
  %78 = call float @powf(float noundef 1.000000e+01, float noundef %77) #10
  %79 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv294
  store i32 0, ptr %79, align 4, !tbaa !11
  %80 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv294
  store i32 0, ptr %80, align 4, !tbaa !11
  %81 = insertelement <2 x float> poison, float %78, i64 0
  %82 = shufflevector <2 x float> %81, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.preheader207.us

._crit_edge.us:                                   ; preds = %.lr.ph.us, %.preheader207.us
  %83 = call i32 @fec_encode(ptr noundef %53, i32 noundef %.0179, ptr noundef nonnull %43, ptr noundef nonnull %45) #10
  br i1 %.not248, label %._crit_edge236.us, label %.lr.ph229.us

._crit_edge236.us:                                ; preds = %.lr.ph235.us, %._crit_edge.us, %.preheader.us
  %84 = call i32 @fec_decode(ptr noundef %53, i32 noundef %.0179, ptr noundef nonnull %50, ptr noundef nonnull %52) #10
  %85 = call i32 @fec_decode_soft(ptr noundef %53, i32 noundef %.0179, ptr noundef nonnull %49, ptr noundef nonnull %51) #10
  %86 = call i32 @count_bit_errors_array(ptr noundef nonnull %43, ptr noundef nonnull %51, i32 noundef %.0179) #10
  %87 = add i32 %245, %86
  store i32 %87, ptr %79, align 4, !tbaa !11
  %88 = call i32 @count_bit_errors_array(ptr noundef nonnull %43, ptr noundef nonnull %52, i32 noundef %.0179) #10
  %89 = add i32 %244, %88
  store i32 %89, ptr %80, align 4, !tbaa !11
  %90 = add nuw i32 %.0182237.us, 1
  %exitcond293.not = icmp eq i32 %90, %.0188.ph352
  br i1 %exitcond293.not, label %._crit_edge238.us, label %.preheader207.us, !llvm.loop !13

.lr.ph235.us:                                     ; preds = %.preheader.us, %.lr.ph235.us
  %indvars.iv288 = phi i64 [ %indvars.iv.next289, %.lr.ph235.us ], [ 0, %.preheader.us ]
  %91 = getelementptr inbounds i8, ptr %50, i64 %indvars.iv288
  %92 = trunc nuw i64 %indvars.iv288 to i32
  %93 = shl i32 %92, 3
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds { float, float }, ptr %48, i64 %94
  %96 = load float, ptr %95, align 16
  %97 = fcmp ogt float %96, 0.000000e+00
  %98 = select i1 %97, i8 -128, i8 0
  %99 = or disjoint i32 %93, 1
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds { float, float }, ptr %48, i64 %100
  %102 = load float, ptr %101, align 8
  %103 = fcmp ogt float %102, 0.000000e+00
  %104 = select i1 %103, i8 64, i8 0
  %105 = or disjoint i8 %104, %98
  %106 = or disjoint i32 %93, 2
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds { float, float }, ptr %48, i64 %107
  %109 = load float, ptr %108, align 16
  %110 = fcmp ogt float %109, 0.000000e+00
  %111 = select i1 %110, i8 32, i8 0
  %112 = or disjoint i8 %111, %105
  %113 = or disjoint i32 %93, 3
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds { float, float }, ptr %48, i64 %114
  %116 = load float, ptr %115, align 8
  %117 = fcmp ogt float %116, 0.000000e+00
  %118 = select i1 %117, i8 16, i8 0
  %119 = or disjoint i8 %118, %112
  %120 = or disjoint i32 %93, 4
  %121 = zext i32 %120 to i64
  %122 = getelementptr inbounds { float, float }, ptr %48, i64 %121
  %123 = load float, ptr %122, align 16
  %124 = fcmp ogt float %123, 0.000000e+00
  %125 = select i1 %124, i8 8, i8 0
  %126 = or disjoint i8 %125, %119
  %127 = or disjoint i32 %93, 5
  %128 = zext i32 %127 to i64
  %129 = getelementptr inbounds { float, float }, ptr %48, i64 %128
  %130 = load float, ptr %129, align 8
  %131 = fcmp ogt float %130, 0.000000e+00
  %132 = select i1 %131, i8 4, i8 0
  %133 = or disjoint i8 %132, %126
  %134 = or disjoint i32 %93, 6
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds { float, float }, ptr %48, i64 %135
  %137 = load float, ptr %136, align 16
  %138 = fcmp ogt float %137, 0.000000e+00
  %139 = select i1 %138, i8 2, i8 0
  %140 = or i8 %139, %133
  %141 = or disjoint i32 %93, 7
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds { float, float }, ptr %48, i64 %142
  %144 = load float, ptr %143, align 8
  %145 = fcmp ogt float %144, 0.000000e+00
  %146 = zext i1 %145 to i8
  %147 = or i8 %140, %146
  store i8 %147, ptr %91, align 1, !tbaa !14
  %indvars.iv.next289 = add nuw nsw i64 %indvars.iv288, 1
  %exitcond292.not = icmp eq i64 %indvars.iv.next289, %44
  br i1 %exitcond292.not, label %._crit_edge236.us, label %.lr.ph235.us, !llvm.loop !15

.lr.ph231.us:                                     ; preds = %.preheader206.us, %.lr.ph231.us
  %indvars.iv278 = phi i64 [ %indvars.iv.next279, %.lr.ph231.us ], [ 0, %.preheader206.us ]
  %148 = call float (...) @randnf() #10
  %149 = call float (...) @randf() #10
  %150 = fmul float %149, 0.000000e+00
  %151 = fadd float %148, %150
  %152 = getelementptr inbounds { float, float }, ptr %48, i64 %indvars.iv278
  %153 = insertelement <2 x float> poison, float %151, i64 0
  %154 = insertelement <2 x float> %153, float %149, i64 1
  %155 = fmul <2 x float> %82, %154
  %156 = fpext <2 x float> %155 to <2 x double>
  %157 = fmul <2 x double> %156, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %158 = load <2 x float>, ptr %152, align 8
  %159 = fpext <2 x float> %158 to <2 x double>
  %160 = fadd <2 x double> %157, %159
  %161 = fptrunc <2 x double> %160 to <2 x float>
  store <2 x float> %161, ptr %152, align 8
  %indvars.iv.next279 = add nuw nsw i64 %indvars.iv278, 1
  %exitcond282.not = icmp eq i64 %indvars.iv.next279, %47
  br i1 %exitcond282.not, label %.preheader205.us, label %.lr.ph231.us, !llvm.loop !16

.lr.ph229.us:                                     ; preds = %._crit_edge.us, %.lr.ph229.us
  %indvars.iv273 = phi i64 [ %indvars.iv.next274, %.lr.ph229.us ], [ 0, %._crit_edge.us ]
  %162 = getelementptr inbounds i8, ptr %45, i64 %indvars.iv273
  %163 = load i8, ptr %162, align 1, !tbaa !14
  %.not197.us = icmp sgt i8 %163, -1
  %164 = select i1 %.not197.us, float -1.000000e+00, float 1.000000e+00
  %165 = trunc nuw i64 %indvars.iv273 to i32
  %166 = shl i32 %165, 3
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds { float, float }, ptr %48, i64 %167
  %169 = getelementptr inbounds i8, ptr %168, i64 4
  store float %164, ptr %168, align 16
  store float 0.000000e+00, ptr %169, align 4
  %170 = and i8 %163, 64
  %.not198.us = icmp eq i8 %170, 0
  %171 = select i1 %.not198.us, float -1.000000e+00, float 1.000000e+00
  %172 = or disjoint i32 %166, 1
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %48, i64 %173
  %175 = getelementptr inbounds i8, ptr %174, i64 4
  store float %171, ptr %174, align 8
  store float 0.000000e+00, ptr %175, align 4
  %176 = and i8 %163, 32
  %.not199.us = icmp eq i8 %176, 0
  %177 = select i1 %.not199.us, float -1.000000e+00, float 1.000000e+00
  %178 = or disjoint i32 %166, 2
  %179 = zext i32 %178 to i64
  %180 = getelementptr inbounds { float, float }, ptr %48, i64 %179
  %181 = getelementptr inbounds i8, ptr %180, i64 4
  store float %177, ptr %180, align 16
  store float 0.000000e+00, ptr %181, align 4
  %182 = and i8 %163, 16
  %.not200.us = icmp eq i8 %182, 0
  %183 = select i1 %.not200.us, float -1.000000e+00, float 1.000000e+00
  %184 = or disjoint i32 %166, 3
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds { float, float }, ptr %48, i64 %185
  %187 = getelementptr inbounds i8, ptr %186, i64 4
  store float %183, ptr %186, align 8
  store float 0.000000e+00, ptr %187, align 4
  %188 = and i8 %163, 8
  %.not201.us = icmp eq i8 %188, 0
  %189 = select i1 %.not201.us, float -1.000000e+00, float 1.000000e+00
  %190 = or disjoint i32 %166, 4
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds { float, float }, ptr %48, i64 %191
  %193 = getelementptr inbounds i8, ptr %192, i64 4
  store float %189, ptr %192, align 16
  store float 0.000000e+00, ptr %193, align 4
  %194 = and i8 %163, 4
  %.not202.us = icmp eq i8 %194, 0
  %195 = select i1 %.not202.us, float -1.000000e+00, float 1.000000e+00
  %196 = or disjoint i32 %166, 5
  %197 = zext i32 %196 to i64
  %198 = getelementptr inbounds { float, float }, ptr %48, i64 %197
  %199 = getelementptr inbounds i8, ptr %198, i64 4
  store float %195, ptr %198, align 8
  store float 0.000000e+00, ptr %199, align 4
  %200 = and i8 %163, 2
  %.not203.us = icmp eq i8 %200, 0
  %201 = select i1 %.not203.us, float -1.000000e+00, float 1.000000e+00
  %202 = or disjoint i32 %166, 6
  %203 = zext i32 %202 to i64
  %204 = getelementptr inbounds { float, float }, ptr %48, i64 %203
  %205 = getelementptr inbounds i8, ptr %204, i64 4
  store float %201, ptr %204, align 16
  store float 0.000000e+00, ptr %205, align 4
  %206 = and i8 %163, 1
  %.not204.us = icmp eq i8 %206, 0
  %207 = select i1 %.not204.us, float -1.000000e+00, float 1.000000e+00
  %208 = or disjoint i32 %166, 7
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds { float, float }, ptr %48, i64 %209
  %211 = getelementptr inbounds i8, ptr %210, i64 4
  store float %207, ptr %210, align 8
  store float 0.000000e+00, ptr %211, align 4
  %indvars.iv.next274 = add nuw nsw i64 %indvars.iv273, 1
  %exitcond277.not = icmp eq i64 %indvars.iv.next274, %44
  br i1 %exitcond277.not, label %.preheader206.us, label %.lr.ph229.us, !llvm.loop !17

.lr.ph.us:                                        ; preds = %.preheader207.us, %.lr.ph.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.us ], [ 0, %.preheader207.us ]
  %212 = call i32 @rand() #10
  %213 = trunc i32 %212 to i8
  %214 = getelementptr inbounds i8, ptr %43, i64 %indvars.iv
  store i8 %213, ptr %214, align 1, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %41
  br i1 %exitcond.not, label %._crit_edge.us, label %.lr.ph.us, !llvm.loop !18

.preheader.us:                                    ; preds = %.lr.ph233.us.preheader, %.preheader206.us, %.preheader205.us
  br i1 %.not248, label %._crit_edge236.us, label %.lr.ph235.us

.preheader205.us:                                 ; preds = %.lr.ph231.us
  br i1 %.not249, label %.preheader.us, label %vector.body

vector.body:                                      ; preds = %.preheader205.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader205.us ]
  %215 = getelementptr inbounds { float, float }, ptr %48, i64 %index
  %wide.vec = load <8 x float>, ptr %215, align 16
  %strided.vec = shufflevector <8 x float> %wide.vec, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %216 = fmul <4 x float> %strided.vec, <float 2.000000e+00, float 2.000000e+00, float 2.000000e+00, float 2.000000e+00>
  %217 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %216, <4 x float> <float 1.600000e+01, float 1.600000e+01, float 1.600000e+01, float 1.600000e+01>, <4 x float> <float 1.270000e+02, float 1.270000e+02, float 1.270000e+02, float 1.270000e+02>)
  %218 = fptosi <4 x float> %217 to <4 x i32>
  %219 = call <4 x i32> @llvm.smin.v4i32(<4 x i32> %218, <4 x i32> <i32 255, i32 255, i32 255, i32 255>)
  %220 = call <4 x i32> @llvm.smax.v4i32(<4 x i32> %219, <4 x i32> zeroinitializer)
  %221 = trunc <4 x i32> %220 to <4 x i8>
  %222 = getelementptr inbounds i8, ptr %49, i64 %index
  store <4 x i8> %221, ptr %222, align 4, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %223 = icmp eq i64 %index.next, %n.vec
  br i1 %223, label %.lr.ph233.us.preheader, label %vector.body, !llvm.loop !19

.lr.ph233.us.preheader:                           ; preds = %vector.body
  %224 = load float, ptr %64, align 16
  %225 = fmul float %224, 2.000000e+00
  %226 = call float @llvm.fmuladd.f32(float %225, float 1.600000e+01, float 1.270000e+02)
  %227 = fptosi float %226 to i32
  %spec.store.select.us = call i32 @llvm.smin.i32(i32 %227, i32 255)
  %spec.store.select1.us = call i32 @llvm.smax.i32(i32 %spec.store.select.us, i32 0)
  %228 = trunc nuw i32 %spec.store.select1.us to i8
  store i8 %228, ptr %65, align 4, !tbaa !14
  %229 = load float, ptr %66, align 8
  %230 = fmul float %229, 2.000000e+00
  %231 = call float @llvm.fmuladd.f32(float %230, float 1.600000e+01, float 1.270000e+02)
  %232 = fptosi float %231 to i32
  %spec.store.select.us.1 = call i32 @llvm.smin.i32(i32 %232, i32 255)
  %spec.store.select1.us.1 = call i32 @llvm.smax.i32(i32 %spec.store.select.us.1, i32 0)
  %233 = trunc nuw i32 %spec.store.select1.us.1 to i8
  store i8 %233, ptr %67, align 1, !tbaa !14
  %234 = load float, ptr %68, align 16
  %235 = fmul float %234, 2.000000e+00
  %236 = call float @llvm.fmuladd.f32(float %235, float 1.600000e+01, float 1.270000e+02)
  %237 = fptosi float %236 to i32
  %spec.store.select.us.2 = call i32 @llvm.smin.i32(i32 %237, i32 255)
  %spec.store.select1.us.2 = call i32 @llvm.smax.i32(i32 %spec.store.select.us.2, i32 0)
  %238 = trunc nuw i32 %spec.store.select1.us.2 to i8
  store i8 %238, ptr %69, align 2, !tbaa !14
  %239 = load float, ptr %70, align 8
  %240 = fmul float %239, 2.000000e+00
  %241 = call float @llvm.fmuladd.f32(float %240, float 1.600000e+01, float 1.270000e+02)
  %242 = fptosi float %241 to i32
  %spec.store.select.us.3 = call i32 @llvm.smin.i32(i32 %242, i32 255)
  %spec.store.select1.us.3 = call i32 @llvm.smax.i32(i32 %spec.store.select.us.3, i32 0)
  %243 = trunc nuw i32 %spec.store.select1.us.3 to i8
  store i8 %243, ptr %71, align 1, !tbaa !14
  br label %.preheader.us

.preheader206.us:                                 ; preds = %.lr.ph229.us
  br i1 %.not249, label %.preheader.us, label %.lr.ph231.us

.preheader207.us:                                 ; preds = %.preheader207.lr.ph.us, %._crit_edge236.us
  %244 = phi i32 [ 0, %.preheader207.lr.ph.us ], [ %89, %._crit_edge236.us ]
  %245 = phi i32 [ 0, %.preheader207.lr.ph.us ], [ %87, %._crit_edge236.us ]
  %.0182237.us = phi i32 [ 0, %.preheader207.lr.ph.us ], [ %90, %._crit_edge236.us ]
  br i1 %.not247, label %._crit_edge.us, label %.lr.ph.us

._crit_edge238.us:                                ; preds = %._crit_edge236.us
  %246 = fpext float %76 to double
  %247 = call float @log10f(float noundef %40) #10
  %248 = call float @llvm.fmuladd.f32(float %247, float -1.000000e+01, float %76)
  %249 = fpext float %248 to double
  %250 = uitofp i32 %87 to float
  %251 = fdiv float %250, %63
  %252 = fpext float %251 to double
  %253 = uitofp i32 %89 to float
  %254 = fdiv float %253, %63
  %255 = fpext float %254 to double
  %256 = fdiv float 1.000000e+00, %78
  %257 = call float @erfcf(float noundef %256) #10
  %258 = fmul float %257, 5.000000e-01
  %259 = fpext float %258 to double
  %260 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, double noundef %246, double noundef %249, i32 noundef %.reass, i32 noundef %87, double noundef %252, i32 noundef %89, double noundef %255, double noundef %259)
  %indvars.iv.next295 = add nuw nsw i64 %indvars.iv294, 1
  %exitcond298.not = icmp eq i64 %indvars.iv.next295, %55
  br i1 %exitcond298.not, label %._crit_edge244, label %.preheader207.lr.ph.us, !llvm.loop !22

.lr.ph243.split:                                  ; preds = %.lr.ph243.split.preheader, %.lr.ph243.split
  %indvars.iv299 = phi i64 [ 0, %.lr.ph243.split.preheader ], [ %indvars.iv.next300, %.lr.ph243.split ]
  %261 = trunc nuw i64 %indvars.iv299 to i32
  %262 = uitofp i32 %261 to float
  %263 = tail call float @llvm.fmuladd.f32(float %262, float %61, float %.0180.ph367)
  %264 = fdiv float %263, -2.000000e+01
  %265 = tail call float @powf(float noundef 1.000000e+01, float noundef %264) #10
  %266 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv299
  store i32 0, ptr %266, align 4, !tbaa !11
  %267 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv299
  store i32 0, ptr %267, align 4, !tbaa !11
  %268 = fpext float %263 to double
  %269 = tail call float @log10f(float noundef %40) #10
  %270 = tail call float @llvm.fmuladd.f32(float %269, float -1.000000e+01, float %263)
  %271 = fpext float %270 to double
  %272 = fdiv float 1.000000e+00, %265
  %273 = tail call float @erfcf(float noundef %272) #10
  %274 = fmul float %273, 5.000000e-01
  %275 = fpext float %274 to double
  %276 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, double noundef %268, double noundef %271, i32 noundef %.reass, i32 noundef 0, double noundef %73, i32 noundef 0, double noundef %73, double noundef %275)
  %indvars.iv.next300 = add nuw nsw i64 %indvars.iv299, 1
  %exitcond303.not = icmp eq i64 %indvars.iv.next300, %55
  br i1 %exitcond303.not, label %._crit_edge244, label %.lr.ph243.split, !llvm.loop !22

._crit_edge244:                                   ; preds = %._crit_edge238.us, %.lr.ph243.split, %34
  %277 = call i32 @fec_destroy(ptr noundef %53) #10
  %278 = call noalias ptr @fopen(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24)
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.23) #10
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.26) #10
  %281 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.27) #10
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.28) #10
  %283 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.29, i32 noundef %.0179) #10
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.30, i32 noundef %35) #10
  %285 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.31) #10
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.32, i32 noundef %.0185.ph358) #10
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.33, i32 noundef %.0188.ph352) #10
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.34) #10
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %._crit_edge244, %.lr.ph
  %indvars.iv304 = phi i64 [ %indvars.iv.next305, %.lr.ph ], [ 0, %._crit_edge244 ]
  %indvars.iv.next305 = add nuw nsw i64 %indvars.iv304, 1
  %289 = trunc nuw i64 %indvars.iv304 to i32
  %290 = uitofp i32 %289 to float
  %291 = call float @llvm.fmuladd.f32(float %290, float %61, float %.0180.ph367)
  %292 = fpext float %291 to double
  %293 = trunc nuw i64 %indvars.iv.next305 to i32
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.35, i32 noundef %293, double noundef %292) #10
  %295 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv304
  %296 = load i32, ptr %295, align 4, !tbaa !11
  %297 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.36, i32 noundef %293, i32 noundef %296) #10
  %298 = getelementptr inbounds i32, ptr %57, i64 %indvars.iv304
  %299 = load i32, ptr %298, align 4, !tbaa !11
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.37, i32 noundef %293, i32 noundef %299) #10
  %exitcond308.not = icmp eq i64 %indvars.iv.next305, %55
  br i1 %exitcond308.not, label %._crit_edge, label %.lr.ph, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph, %._crit_edge244
  %301 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.38) #10
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.39) #10
  %303 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.26) #10
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.40) #10
  %305 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.41) #10
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.42) #10
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.43) #10
  %308 = fpext float %.0180.ph367 to double
  %309 = fpext float %.0183.ph363 to double
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.44, double noundef %308, double noundef %309) #10
  %311 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.45) #10
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.46) #10
  %313 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.47) #10
  %314 = zext i32 %.0190.ph to i64
  %315 = getelementptr inbounds [28 x [2 x ptr]], ptr @fec_scheme_str, i64 0, i64 %314, i64 1
  %316 = load ptr, ptr %315, align 8, !tbaa !5
  %317 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.48, ptr noundef %316) #10
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.49) #10
  %319 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.26) #10
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.40) #10
  %321 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.41) #10
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.50) #10
  %323 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.51) #10
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.52, double noundef %308, double noundef %309) #10
  %325 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.45) #10
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.53) #10
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.47) #10
  %328 = load ptr, ptr %315, align 8, !tbaa !5
  %329 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.54, ptr noundef %328) #10
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.49) #10
  %331 = call i32 @fclose(ptr noundef %278)
  %332 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.55, ptr noundef nonnull @.str.23)
  %333 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.56)
  call void @llvm.stackrestore.p0(ptr %42)
  br label %334

334:                                              ; preds = %._crit_edge, %7
  ret i32 0
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

declare i32 @liquid_getopt_str2fec(ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

declare i32 @fec_get_enc_msg_length(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

declare ptr @fec_create(i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @fec_print(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @powf(float noundef, float noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

declare i32 @fec_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare float @randnf(...) local_unnamed_addr #4

declare float @randf(...) local_unnamed_addr #4

declare i32 @fec_decode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @fec_decode_soft(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @count_bit_errors_array(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @log10f(float noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare float @erfcf(float noundef) local_unnamed_addr #2

declare i32 @fec_destroy(ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i32> @llvm.smin.v4i32(<4 x i32>, <4 x i32>) #9

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i32> @llvm.smax.v4i32(<4 x i32>, <4 x i32>) #9

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { cold nounwind }
attributes #13 = { noreturn nounwind }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10, !20, !21}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


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