; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fecsoft_conv_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.9 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@fec_scheme_str = external global [28 x [2 x ptr]], align 16
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.42 = 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) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, 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 ptr, align 8
  %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 i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca float, align 4
  %28 = alloca i32, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca i32, align 4
  %32 = alloca { float, float }, align 4
  %33 = alloca { float, float }, align 4
  %34 = 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
  %35 = call i64 @time(ptr noundef null) #9
  %36 = trunc i64 %35 to i32
  call void @srand(i32 noundef %36) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 11, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 64, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store float -5.000000e+00, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store float 5.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 21, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 100, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  br label %37

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

42:                                               ; preds = %37
  %43 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %43, label %84 [
    i32 104, label %44
    i32 117, label %44
    i32 115, label %45
    i32 120, label %49
    i32 110, label %53
    i32 116, label %56
    i32 99, label %59
  ]

44:                                               ; preds = %42, %42
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %563

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

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

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

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

59:                                               ; preds = %42
  %60 = load ptr, ptr @optarg, align 8, !tbaa !9
  %61 = call i32 @liquid_getopt_str2fec(ptr noundef %60)
  store i32 %61, ptr %6, align 4, !tbaa !5
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %71

64:                                               ; preds = %59
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = load ptr, ptr %5, align 8, !tbaa !9
  %67 = getelementptr inbounds ptr, ptr %66, i64 0
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = load ptr, ptr @optarg, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.10, ptr noundef %68, ptr noundef %69) #9
  call void @exit(i32 noundef 1) #11
  unreachable

71:                                               ; preds = %59
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = call i32 @fec_scheme_is_convolutional(i32 noundef %72)
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %82, label %75

75:                                               ; preds = %71
  %76 = load ptr, ptr @stderr, align 8, !tbaa !9
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 0
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = load ptr, ptr @optarg, align 8, !tbaa !9
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.11, ptr noundef %79, ptr noundef %80) #9
  call void @exit(i32 noundef 1) #11
  unreachable

82:                                               ; preds = %71
  br label %83

83:                                               ; preds = %82
  br label %85

84:                                               ; preds = %42
  call void @exit(i32 noundef 1) #11
  unreachable

85:                                               ; preds = %83, %56, %53, %49, %45
  br label %37, !llvm.loop !13

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

133:                                              ; preds = %458, %86
  %134 = load i32, ptr %28, align 4, !tbaa !5
  %135 = load i32, ptr %10, align 4, !tbaa !5
  %136 = icmp ult i32 %134, %135
  br i1 %136, label %137, label %461

137:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %138 = load float, ptr %8, align 4, !tbaa !11
  %139 = load i32, ptr %28, align 4, !tbaa !5
  %140 = uitofp i32 %139 to float
  %141 = load float, ptr %27, align 4, !tbaa !11
  %142 = call float @llvm.fmuladd.f32(float %140, float %141, float %138)
  store float %142, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %143 = load float, ptr %29, align 4, !tbaa !11
  %144 = fneg float %143
  %145 = fdiv float %144, 2.000000e+01
  %146 = call float @powf(float noundef 1.000000e+01, float noundef %145) #9
  store float %146, ptr %30, align 4, !tbaa !11
  %147 = load i32, ptr %28, 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
  %150 = load i32, ptr %28, align 4, !tbaa !5
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %124, i64 %151
  store i32 0, ptr %152, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %439, %137
  %154 = load i32, ptr %31, align 4, !tbaa !5
  %155 = load i32, ptr %11, align 4, !tbaa !5
  %156 = icmp ult i32 %154, %155
  br i1 %156, label %157, label %442

157:                                              ; preds = %153
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %169, %157
  %159 = load i32, ptr %14, align 4, !tbaa !5
  %160 = load i32, ptr %7, align 4, !tbaa !5
  %161 = icmp ult i32 %159, %160
  br i1 %161, label %162, label %172

162:                                              ; preds = %158
  %163 = call i32 @rand() #9
  %164 = and i32 %163, 255
  %165 = trunc i32 %164 to i8
  %166 = load i32, ptr %14, align 4, !tbaa !5
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds i8, ptr %97, i64 %167
  store i8 %165, ptr %168, align 1, !tbaa !15
  br label %169

169:                                              ; preds = %162
  %170 = load i32, ptr %14, align 4, !tbaa !5
  %171 = add i32 %170, 1
  store i32 %171, ptr %14, align 4, !tbaa !5
  br label %158, !llvm.loop !16

172:                                              ; preds = %158
  %173 = load i32, ptr %6, align 4, !tbaa !5
  %174 = call i32 @fec_scheme_is_punctured(i32 noundef %173)
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %180

176:                                              ; preds = %172
  %177 = load ptr, ptr %16, align 8, !tbaa !9
  %178 = load i32, ptr %7, align 4, !tbaa !5
  %179 = call i32 @fec_conv_punctured_encode(ptr noundef %177, i32 noundef %178, ptr noundef %97, ptr noundef %100)
  br label %184

180:                                              ; preds = %172
  %181 = load ptr, ptr %16, align 8, !tbaa !9
  %182 = load i32, ptr %7, align 4, !tbaa !5
  %183 = call i32 @fec_conv_encode(ptr noundef %181, i32 noundef %182, ptr noundef %97, ptr noundef %100)
  br label %184

184:                                              ; preds = %180, %176
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %185

185:                                              ; preds = %325, %184
  %186 = load i32, ptr %14, align 4, !tbaa !5
  %187 = load i32, ptr %15, align 4, !tbaa !5
  %188 = icmp ult i32 %186, %187
  br i1 %188, label %189, label %328

189:                                              ; preds = %185
  %190 = load i32, ptr %14, align 4, !tbaa !5
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i8, ptr %100, i64 %191
  %193 = load i8, ptr %192, align 1, !tbaa !15
  %194 = zext i8 %193 to i32
  %195 = ashr i32 %194, 7
  %196 = and i32 %195, 1
  %197 = icmp ne i32 %196, 0
  %198 = zext i1 %197 to i64
  %199 = select i1 %197, float 1.000000e+00, float -1.000000e+00
  %200 = load i32, ptr %14, align 4, !tbaa !5
  %201 = mul i32 8, %200
  %202 = add i32 %201, 0
  %203 = zext i32 %202 to i64
  %204 = getelementptr inbounds { float, float }, ptr %104, i64 %203
  %205 = getelementptr inbounds { float, float }, ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds { float, float }, ptr %204, i32 0, i32 1
  store float %199, ptr %205, align 8
  store float 0.000000e+00, ptr %206, align 4
  %207 = load i32, ptr %14, align 4, !tbaa !5
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %100, i64 %208
  %210 = load i8, ptr %209, align 1, !tbaa !15
  %211 = zext i8 %210 to i32
  %212 = ashr i32 %211, 6
  %213 = and i32 %212, 1
  %214 = icmp ne i32 %213, 0
  %215 = zext i1 %214 to i64
  %216 = select i1 %214, float 1.000000e+00, float -1.000000e+00
  %217 = load i32, ptr %14, align 4, !tbaa !5
  %218 = mul i32 8, %217
  %219 = add i32 %218, 1
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds { float, float }, ptr %104, i64 %220
  %222 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 1
  store float %216, ptr %222, align 8
  store float 0.000000e+00, ptr %223, align 4
  %224 = load i32, ptr %14, align 4, !tbaa !5
  %225 = zext i32 %224 to i64
  %226 = getelementptr inbounds i8, ptr %100, i64 %225
  %227 = load i8, ptr %226, align 1, !tbaa !15
  %228 = zext i8 %227 to i32
  %229 = ashr i32 %228, 5
  %230 = and i32 %229, 1
  %231 = icmp ne i32 %230, 0
  %232 = zext i1 %231 to i64
  %233 = select i1 %231, float 1.000000e+00, float -1.000000e+00
  %234 = load i32, ptr %14, align 4, !tbaa !5
  %235 = mul i32 8, %234
  %236 = add i32 %235, 2
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds { float, float }, ptr %104, i64 %237
  %239 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 0
  %240 = getelementptr inbounds { float, float }, ptr %238, i32 0, i32 1
  store float %233, ptr %239, align 8
  store float 0.000000e+00, ptr %240, align 4
  %241 = load i32, ptr %14, align 4, !tbaa !5
  %242 = zext i32 %241 to i64
  %243 = getelementptr inbounds i8, ptr %100, i64 %242
  %244 = load i8, ptr %243, align 1, !tbaa !15
  %245 = zext i8 %244 to i32
  %246 = ashr i32 %245, 4
  %247 = and i32 %246, 1
  %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, 3
  %254 = zext i32 %253 to i64
  %255 = getelementptr inbounds { float, float }, ptr %104, 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 %100, i64 %259
  %261 = load i8, ptr %260, align 1, !tbaa !15
  %262 = zext i8 %261 to i32
  %263 = ashr i32 %262, 3
  %264 = and i32 %263, 1
  %265 = icmp ne i32 %264, 0
  %266 = zext i1 %265 to i64
  %267 = select i1 %265, float 1.000000e+00, float -1.000000e+00
  %268 = load i32, ptr %14, align 4, !tbaa !5
  %269 = mul i32 8, %268
  %270 = add i32 %269, 4
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds { float, float }, ptr %104, i64 %271
  %273 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 0
  %274 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 1
  store float %267, ptr %273, align 8
  store float 0.000000e+00, ptr %274, align 4
  %275 = load i32, ptr %14, align 4, !tbaa !5
  %276 = zext i32 %275 to i64
  %277 = getelementptr inbounds i8, ptr %100, i64 %276
  %278 = load i8, ptr %277, align 1, !tbaa !15
  %279 = zext i8 %278 to i32
  %280 = ashr i32 %279, 2
  %281 = and i32 %280, 1
  %282 = icmp ne i32 %281, 0
  %283 = zext i1 %282 to i64
  %284 = select i1 %282, float 1.000000e+00, float -1.000000e+00
  %285 = load i32, ptr %14, align 4, !tbaa !5
  %286 = mul i32 8, %285
  %287 = add i32 %286, 5
  %288 = zext i32 %287 to i64
  %289 = getelementptr inbounds { float, float }, ptr %104, i64 %288
  %290 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 0
  %291 = getelementptr inbounds { float, float }, ptr %289, i32 0, i32 1
  store float %284, ptr %290, align 8
  store float 0.000000e+00, ptr %291, align 4
  %292 = load i32, ptr %14, align 4, !tbaa !5
  %293 = zext i32 %292 to i64
  %294 = getelementptr inbounds i8, ptr %100, i64 %293
  %295 = load i8, ptr %294, align 1, !tbaa !15
  %296 = zext i8 %295 to i32
  %297 = ashr i32 %296, 1
  %298 = and i32 %297, 1
  %299 = icmp ne i32 %298, 0
  %300 = zext i1 %299 to i64
  %301 = select i1 %299, float 1.000000e+00, float -1.000000e+00
  %302 = load i32, ptr %14, align 4, !tbaa !5
  %303 = mul i32 8, %302
  %304 = add i32 %303, 6
  %305 = zext i32 %304 to i64
  %306 = getelementptr inbounds { float, float }, ptr %104, i64 %305
  %307 = getelementptr inbounds { float, float }, ptr %306, i32 0, i32 0
  %308 = getelementptr inbounds { float, float }, ptr %306, i32 0, i32 1
  store float %301, ptr %307, align 8
  store float 0.000000e+00, ptr %308, align 4
  %309 = load i32, ptr %14, align 4, !tbaa !5
  %310 = zext i32 %309 to i64
  %311 = getelementptr inbounds i8, ptr %100, i64 %310
  %312 = load i8, ptr %311, align 1, !tbaa !15
  %313 = zext i8 %312 to i32
  %314 = and i32 %313, 1
  %315 = icmp ne i32 %314, 0
  %316 = zext i1 %315 to i64
  %317 = select i1 %315, float 1.000000e+00, float -1.000000e+00
  %318 = load i32, ptr %14, align 4, !tbaa !5
  %319 = mul i32 8, %318
  %320 = add i32 %319, 7
  %321 = zext i32 %320 to i64
  %322 = getelementptr inbounds { float, float }, ptr %104, i64 %321
  %323 = getelementptr inbounds { float, float }, ptr %322, i32 0, i32 0
  %324 = getelementptr inbounds { float, float }, ptr %322, i32 0, i32 1
  store float %317, ptr %323, align 8
  store float 0.000000e+00, ptr %324, align 4
  br label %325

325:                                              ; preds = %189
  %326 = load i32, ptr %14, align 4, !tbaa !5
  %327 = add i32 %326, 1
  store i32 %327, ptr %14, align 4, !tbaa !5
  br label %185, !llvm.loop !17

328:                                              ; preds = %185
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %329

329:                                              ; preds = %365, %328
  %330 = load i32, ptr %14, align 4, !tbaa !5
  %331 = load i32, ptr %15, align 4, !tbaa !5
  %332 = mul i32 8, %331
  %333 = icmp ult i32 %330, %332
  br i1 %333, label %334, label %368

334:                                              ; preds = %329
  %335 = load float, ptr %30, align 4, !tbaa !11
  %336 = call float (...) @randnf()
  %337 = fmul float %335, %336
  %338 = call float (...) @randf()
  %339 = fpext float %338 to double
  %340 = fmul double 0.000000e+00, %339
  %341 = fmul double 0x401921FB54442D18, %339
  %342 = fptrunc double %340 to float
  %343 = fptrunc double %341 to float
  %344 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 0
  %345 = getelementptr inbounds { float, float }, ptr %32, i32 0, i32 1
  store float %342, ptr %344, align 4
  store float %343, ptr %345, align 4
  %346 = load <2 x float>, ptr %32, align 4
  %347 = call <2 x float> @cexpf(<2 x float> noundef %346) #9
  store <2 x float> %347, ptr %33, align 4
  %348 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 0
  %349 = load float, ptr %348, align 4
  %350 = getelementptr inbounds { float, float }, ptr %33, i32 0, i32 1
  %351 = load float, ptr %350, align 4
  %352 = fmul float %337, %349
  %353 = fmul float %337, %351
  %354 = load i32, ptr %14, align 4, !tbaa !5
  %355 = zext i32 %354 to i64
  %356 = getelementptr inbounds { float, float }, ptr %104, i64 %355
  %357 = getelementptr inbounds { float, float }, ptr %356, i32 0, i32 0
  %358 = load float, ptr %357, align 8
  %359 = getelementptr inbounds { float, float }, ptr %356, i32 0, i32 1
  %360 = load float, ptr %359, align 4
  %361 = fadd float %358, %352
  %362 = fadd float %360, %353
  %363 = getelementptr inbounds { float, float }, ptr %356, i32 0, i32 0
  %364 = getelementptr inbounds { float, float }, ptr %356, i32 0, i32 1
  store float %361, ptr %363, align 8
  store float %362, ptr %364, align 4
  br label %365

365:                                              ; preds = %334
  %366 = load i32, ptr %14, align 4, !tbaa !5
  %367 = add i32 %366, 1
  store i32 %367, ptr %14, align 4, !tbaa !5
  br label %329, !llvm.loop !18

368:                                              ; preds = %329
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %369

369:                                              ; preds = %403, %368
  %370 = load i32, ptr %14, align 4, !tbaa !5
  %371 = load i32, ptr %15, align 4, !tbaa !5
  %372 = mul i32 8, %371
  %373 = icmp ult i32 %370, %372
  br i1 %373, label %374, label %406

374:                                              ; preds = %369
  %375 = load i32, ptr %14, align 4, !tbaa !5
  %376 = zext i32 %375 to i64
  %377 = getelementptr inbounds { float, float }, ptr %104, i64 %376
  %378 = getelementptr inbounds { float, float }, ptr %377, i32 0, i32 0
  %379 = load float, ptr %378, align 8
  %380 = getelementptr inbounds { float, float }, ptr %377, i32 0, i32 1
  %381 = load float, ptr %380, align 4
  %382 = fcmp ogt float %379, 0.000000e+00
  %383 = zext i1 %382 to i64
  %384 = select i1 %382, i32 255, i32 0
  %385 = trunc i32 %384 to i8
  %386 = load i32, ptr %14, align 4, !tbaa !5
  %387 = zext i32 %386 to i64
  %388 = getelementptr inbounds i8, ptr %112, i64 %387
  store i8 %385, ptr %388, align 1, !tbaa !15
  %389 = load i32, ptr %14, align 4, !tbaa !5
  %390 = zext i32 %389 to i64
  %391 = getelementptr inbounds { float, float }, ptr %104, i64 %390
  %392 = getelementptr inbounds { float, float }, ptr %391, i32 0, i32 0
  %393 = load float, ptr %392, align 8
  %394 = getelementptr inbounds { float, float }, ptr %391, i32 0, i32 1
  %395 = load float, ptr %394, align 4
  %396 = call float @tanhf(float noundef %393) #9
  %397 = call float @llvm.fmuladd.f32(float 5.000000e-01, float %396, float 5.000000e-01)
  %398 = fmul float 2.550000e+02, %397
  %399 = fptoui float %398 to i8
  %400 = load i32, ptr %14, align 4, !tbaa !5
  %401 = zext i32 %400 to i64
  %402 = getelementptr inbounds i8, ptr %108, i64 %401
  store i8 %399, ptr %402, align 1, !tbaa !15
  br label %403

403:                                              ; preds = %374
  %404 = load i32, ptr %14, align 4, !tbaa !5
  %405 = add i32 %404, 1
  store i32 %405, ptr %14, align 4, !tbaa !5
  br label %369, !llvm.loop !19

406:                                              ; preds = %369
  %407 = load i32, ptr %6, align 4, !tbaa !5
  %408 = call i32 @fec_scheme_is_punctured(i32 noundef %407)
  %409 = icmp ne i32 %408, 0
  br i1 %409, label %410, label %417

410:                                              ; preds = %406
  %411 = load ptr, ptr %16, align 8, !tbaa !9
  %412 = load i32, ptr %7, align 4, !tbaa !5
  %413 = call i32 @fec_conv_punctured_decode_soft(ptr noundef %411, i32 noundef %412, ptr noundef %112, ptr noundef %118)
  %414 = load ptr, ptr %16, align 8, !tbaa !9
  %415 = load i32, ptr %7, align 4, !tbaa !5
  %416 = call i32 @fec_conv_punctured_decode_soft(ptr noundef %414, i32 noundef %415, ptr noundef %108, ptr noundef %115)
  br label %424

417:                                              ; preds = %406
  %418 = load ptr, ptr %16, align 8, !tbaa !9
  %419 = load i32, ptr %7, align 4, !tbaa !5
  %420 = call i32 @fec_conv_decode_soft(ptr noundef %418, i32 noundef %419, ptr noundef %112, ptr noundef %118)
  %421 = load ptr, ptr %16, align 8, !tbaa !9
  %422 = load i32, ptr %7, align 4, !tbaa !5
  %423 = call i32 @fec_conv_decode_soft(ptr noundef %421, i32 noundef %422, ptr noundef %108, ptr noundef %115)
  br label %424

424:                                              ; preds = %417, %410
  %425 = load i32, ptr %7, align 4, !tbaa !5
  %426 = call i32 @count_bit_errors_array(ptr noundef %97, ptr noundef %118, i32 noundef %425)
  %427 = load i32, ptr %28, align 4, !tbaa !5
  %428 = zext i32 %427 to i64
  %429 = getelementptr inbounds i32, ptr %124, i64 %428
  %430 = load i32, ptr %429, align 4, !tbaa !5
  %431 = add i32 %430, %426
  store i32 %431, ptr %429, align 4, !tbaa !5
  %432 = load i32, ptr %7, align 4, !tbaa !5
  %433 = call i32 @count_bit_errors_array(ptr noundef %97, ptr noundef %115, i32 noundef %432)
  %434 = load i32, ptr %28, align 4, !tbaa !5
  %435 = zext i32 %434 to i64
  %436 = getelementptr inbounds i32, ptr %121, i64 %435
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = add i32 %437, %433
  store i32 %438, ptr %436, align 4, !tbaa !5
  br label %439

439:                                              ; preds = %424
  %440 = load i32, ptr %31, align 4, !tbaa !5
  %441 = add i32 %440, 1
  store i32 %441, ptr %31, align 4, !tbaa !5
  br label %153, !llvm.loop !20

442:                                              ; preds = %153
  %443 = load float, ptr %29, align 4, !tbaa !11
  %444 = fpext float %443 to double
  %445 = load i32, ptr %7, align 4, !tbaa !5
  %446 = mul i32 8, %445
  %447 = load i32, ptr %11, align 4, !tbaa !5
  %448 = mul i32 %446, %447
  %449 = load i32, ptr %28, align 4, !tbaa !5
  %450 = zext i32 %449 to i64
  %451 = getelementptr inbounds i32, ptr %121, i64 %450
  %452 = load i32, ptr %451, align 4, !tbaa !5
  %453 = load i32, ptr %28, align 4, !tbaa !5
  %454 = zext i32 %453 to i64
  %455 = getelementptr inbounds i32, ptr %124, i64 %454
  %456 = load i32, ptr %455, align 4, !tbaa !5
  %457 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %444, i32 noundef %448, i32 noundef %452, i32 noundef %456)
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %458

458:                                              ; preds = %442
  %459 = load i32, ptr %28, align 4, !tbaa !5
  %460 = add i32 %459, 1
  store i32 %460, ptr %28, align 4, !tbaa !5
  br label %133, !llvm.loop !21

461:                                              ; preds = %133
  %462 = load ptr, ptr %16, align 8, !tbaa !9
  %463 = call i32 @fec_destroy(ptr noundef %462)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %464 = call noalias ptr @fopen(ptr noundef @.str.18, ptr noundef @.str.19)
  store ptr %464, ptr %34, align 8, !tbaa !9
  %465 = load ptr, ptr %34, align 8, !tbaa !9
  %466 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %465, ptr noundef @.str.20, ptr noundef @.str.18) #9
  %467 = load ptr, ptr %34, align 8, !tbaa !9
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef @.str.21) #9
  %469 = load ptr, ptr %34, align 8, !tbaa !9
  %470 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %469, ptr noundef @.str.22) #9
  %471 = load ptr, ptr %34, align 8, !tbaa !9
  %472 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %471, ptr noundef @.str.23) #9
  %473 = load ptr, ptr %34, align 8, !tbaa !9
  %474 = load i32, ptr %7, align 4, !tbaa !5
  %475 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %473, ptr noundef @.str.24, i32 noundef %474) #9
  %476 = load ptr, ptr %34, align 8, !tbaa !9
  %477 = load i32, ptr %15, align 4, !tbaa !5
  %478 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %476, ptr noundef @.str.25, i32 noundef %477) #9
  %479 = load ptr, ptr %34, align 8, !tbaa !9
  %480 = load i32, ptr %11, align 4, !tbaa !5
  %481 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %479, ptr noundef @.str.26, i32 noundef %480) #9
  %482 = load ptr, ptr %34, align 8, !tbaa !9
  %483 = load i32, ptr %7, align 4, !tbaa !5
  %484 = mul i32 8, %483
  %485 = load i32, ptr %11, align 4, !tbaa !5
  %486 = mul i32 %484, %485
  %487 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %482, ptr noundef @.str.27, i32 noundef %486) #9
  %488 = load ptr, ptr %34, align 8, !tbaa !9
  %489 = load i32, ptr %10, align 4, !tbaa !5
  %490 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %488, ptr noundef @.str.28, i32 noundef %489) #9
  %491 = load ptr, ptr %34, align 8, !tbaa !9
  %492 = load i32, ptr %11, align 4, !tbaa !5
  %493 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %491, ptr noundef @.str.26, i32 noundef %492) #9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %494

494:                                              ; preds = %525, %461
  %495 = load i32, ptr %14, align 4, !tbaa !5
  %496 = load i32, ptr %10, align 4, !tbaa !5
  %497 = icmp ult i32 %495, %496
  br i1 %497, label %498, label %528

498:                                              ; preds = %494
  %499 = load ptr, ptr %34, align 8, !tbaa !9
  %500 = load i32, ptr %14, align 4, !tbaa !5
  %501 = add i32 %500, 1
  %502 = load float, ptr %8, align 4, !tbaa !11
  %503 = load i32, ptr %14, align 4, !tbaa !5
  %504 = uitofp i32 %503 to float
  %505 = load float, ptr %27, align 4, !tbaa !11
  %506 = call float @llvm.fmuladd.f32(float %504, float %505, float %502)
  %507 = fpext float %506 to double
  %508 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %499, ptr noundef @.str.29, i32 noundef %501, double noundef %507) #9
  %509 = load ptr, ptr %34, align 8, !tbaa !9
  %510 = load i32, ptr %14, align 4, !tbaa !5
  %511 = add i32 %510, 1
  %512 = load i32, ptr %14, align 4, !tbaa !5
  %513 = zext i32 %512 to i64
  %514 = getelementptr inbounds i32, ptr %121, i64 %513
  %515 = load i32, ptr %514, align 4, !tbaa !5
  %516 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %509, ptr noundef @.str.30, i32 noundef %511, i32 noundef %515) #9
  %517 = load ptr, ptr %34, align 8, !tbaa !9
  %518 = load i32, ptr %14, align 4, !tbaa !5
  %519 = add i32 %518, 1
  %520 = load i32, ptr %14, align 4, !tbaa !5
  %521 = zext i32 %520 to i64
  %522 = getelementptr inbounds i32, ptr %124, i64 %521
  %523 = load i32, ptr %522, align 4, !tbaa !5
  %524 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %517, ptr noundef @.str.31, i32 noundef %519, i32 noundef %523) #9
  br label %525

525:                                              ; preds = %498
  %526 = load i32, ptr %14, align 4, !tbaa !5
  %527 = add i32 %526, 1
  store i32 %527, ptr %14, align 4, !tbaa !5
  br label %494, !llvm.loop !22

528:                                              ; preds = %494
  %529 = load ptr, ptr %34, align 8, !tbaa !9
  %530 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %529, ptr noundef @.str.21) #9
  %531 = load ptr, ptr %34, align 8, !tbaa !9
  %532 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %531, ptr noundef @.str.32) #9
  %533 = load ptr, ptr %34, align 8, !tbaa !9
  %534 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %533, ptr noundef @.str.33) #9
  %535 = load ptr, ptr %34, align 8, !tbaa !9
  %536 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %535, ptr noundef @.str.34) #9
  %537 = load ptr, ptr %34, align 8, !tbaa !9
  %538 = load float, ptr %8, align 4, !tbaa !11
  %539 = fpext float %538 to double
  %540 = load float, ptr %9, align 4, !tbaa !11
  %541 = fpext float %540 to double
  %542 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %537, ptr noundef @.str.35, double noundef %539, double noundef %541) #9
  %543 = load ptr, ptr %34, align 8, !tbaa !9
  %544 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %543, ptr noundef @.str.36) #9
  %545 = load ptr, ptr %34, align 8, !tbaa !9
  %546 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %545, ptr noundef @.str.37) #9
  %547 = load ptr, ptr %34, align 8, !tbaa !9
  %548 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %547, ptr noundef @.str.38) #9
  %549 = load ptr, ptr %34, align 8, !tbaa !9
  %550 = load i32, ptr %6, align 4, !tbaa !5
  %551 = zext i32 %550 to i64
  %552 = getelementptr inbounds [28 x [2 x ptr]], ptr @fec_scheme_str, i64 0, i64 %551
  %553 = getelementptr inbounds [2 x ptr], ptr %552, i64 0, i64 1
  %554 = load ptr, ptr %553, align 8, !tbaa !9
  %555 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %549, ptr noundef @.str.39, ptr noundef %554) #9
  %556 = load ptr, ptr %34, align 8, !tbaa !9
  %557 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %556, ptr noundef @.str.40) #9
  %558 = load ptr, ptr %34, align 8, !tbaa !9
  %559 = call i32 @fclose(ptr noundef %558)
  %560 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.18)
  %561 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  %562 = load ptr, ptr %17, align 8
  call void @llvm.stackrestore.p0(ptr %562)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %563

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

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

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

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

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

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

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

declare i32 @liquid_getopt_str2fec(ptr noundef) #1

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

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

declare i32 @fec_scheme_is_convolutional(i32 noundef) #1

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

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

declare i32 @fec_print(ptr noundef) #1

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

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

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

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

declare i32 @fec_scheme_is_punctured(i32 noundef) #1

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

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

declare float @randnf(...) #1

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #3

declare float @randf(...) #1

; Function Attrs: nounwind
declare float @tanhf(float noundef) #3

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

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

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

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

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) #7

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


; 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.9 = external hidden unnamed_addr constant [13 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [33 x i8], align 1
@fec_scheme_str = external local_unnamed_addr global [28 x [2 x ptr]], align 16
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.42 = 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 #2 {
  %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 = %19, %2
  %.0151.ph = phi i32 [ %21, %19 ], [ 100, %2 ]
  %.0149.ph = phi i32 [ %.0149.ph307, %19 ], [ 21, %2 ]
  %.0146.ph = phi float [ %.0146.ph312, %19 ], [ 5.000000e+00, %2 ]
  %.0144.ph = phi float [ %.0144.ph316, %19 ], [ -5.000000e+00, %2 ]
  %.0142.ph = phi i32 [ %.0142, %19 ], [ 11, %2 ]
  br label %.outer306

.outer306:                                        ; preds = %.outer, %16
  %.0149.ph307 = phi i32 [ %.0149.ph, %.outer ], [ %18, %16 ]
  %.0146.ph308 = phi float [ %.0146.ph, %.outer ], [ %.0146.ph312, %16 ]
  %.0144.ph309 = phi float [ %.0144.ph, %.outer ], [ %.0144.ph316, %16 ]
  %.0142.ph310 = phi i32 [ %.0142.ph, %.outer ], [ %.0142, %16 ]
  br label %.outer311

.outer311:                                        ; preds = %.outer306, %12
  %.0146.ph312 = phi float [ %.0146.ph308, %.outer306 ], [ %15, %12 ]
  %.0144.ph313 = phi float [ %.0144.ph309, %.outer306 ], [ %.0144.ph316, %12 ]
  %.0142.ph314 = phi i32 [ %.0142.ph310, %.outer306 ], [ %.0142, %12 ]
  br label %.outer315

.outer315:                                        ; preds = %.outer311, %8
  %.0144.ph316 = phi float [ %.0144.ph313, %.outer311 ], [ %11, %8 ]
  %.0142.ph317 = phi i32 [ %.0142.ph314, %.outer311 ], [ %.0142, %8 ]
  br label %5

5:                                                ; preds = %.outer315, %31
  %.0142 = phi i32 [ %24, %31 ], [ %.0142.ph317, %.outer315 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.9) #10
  switch i32 %6, label %38 [
    i32 -1, label %39
    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 99, label %22
  ]

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

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 %.outer315, !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 %.outer311, !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 %.outer306, !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 %.outer, !llvm.loop !9

22:                                               ; preds = %5
  %23 = load ptr, ptr @optarg, align 8, !tbaa !5
  %24 = tail call i32 @liquid_getopt_str2fec(ptr noundef %23) #10
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %31

26:                                               ; preds = %22
  %27 = load ptr, ptr @stderr, align 8, !tbaa !5
  %28 = load ptr, ptr %1, align 8, !tbaa !5
  %29 = load ptr, ptr @optarg, align 8, !tbaa !5
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef nonnull @.str.10, ptr noundef %28, ptr noundef %29) #12
  tail call void @exit(i32 noundef 1) #13
  unreachable

31:                                               ; preds = %22
  %32 = tail call i32 @fec_scheme_is_convolutional(i32 noundef %24) #10
  %.not167 = icmp eq i32 %32, 0
  br i1 %.not167, label %33, label %5, !llvm.loop !9

33:                                               ; preds = %31
  %34 = load ptr, ptr @stderr, align 8, !tbaa !5
  %35 = load ptr, ptr %1, align 8, !tbaa !5
  %36 = load ptr, ptr @optarg, align 8, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str.11, ptr noundef %35, ptr noundef %36) #12
  tail call void @exit(i32 noundef 1) #13
  unreachable

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

39:                                               ; preds = %5
  %40 = tail call i32 @fec_get_enc_msg_length(i32 noundef %.0142, i32 noundef 64) #10
  %41 = tail call ptr @fec_create(i32 noundef %.0142, ptr noundef null) #10
  %42 = tail call i32 @fec_print(ptr noundef %41) #10
  %43 = tail call ptr @llvm.stacksave.p0()
  %44 = alloca [64 x i8], align 16
  %45 = zext i32 %40 to i64
  %46 = alloca i8, i64 %45, align 16
  %47 = shl i32 %40, 3
  %48 = zext i32 %47 to i64
  %49 = alloca { float, float }, i64 %48, align 16
  %50 = alloca i8, i64 %48, align 16
  %51 = alloca i8, i64 %48, align 16
  %52 = alloca [64 x i8], align 16
  %53 = alloca [64 x i8], align 16
  %54 = zext i32 %.0149.ph307 to i64
  %55 = alloca i32, i64 %54, align 16
  %56 = alloca i32, i64 %54, align 16
  %57 = fsub float %.0146.ph312, %.0144.ph316
  %58 = add i32 %.0149.ph307, -1
  %59 = uitofp i32 %58 to float
  %60 = fdiv float %57, %59
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.16)
  %.not = icmp eq i32 %.0149.ph307, 0
  br i1 %.not, label %.._crit_edge204_crit_edge, label %.lr.ph203

.._crit_edge204_crit_edge:                        ; preds = %39
  %.pre = shl i32 %.0151.ph, 9
  br label %._crit_edge204

.lr.ph203:                                        ; preds = %39
  %.not206 = icmp eq i32 %.0151.ph, 0
  %.not207 = icmp eq i32 %40, 0
  %.not208 = icmp eq i32 %47, 0
  %62 = shl i32 %.0151.ph, 9
  br i1 %.not206, label %.lr.ph203.split, label %.preheader169.lr.ph.us.preheader

.preheader169.lr.ph.us.preheader:                 ; preds = %.lr.ph203
  %63 = getelementptr inbounds i8, ptr %44, i64 1
  %64 = getelementptr inbounds i8, ptr %44, i64 2
  %65 = getelementptr inbounds i8, ptr %44, i64 3
  %66 = getelementptr inbounds i8, ptr %44, i64 4
  %67 = getelementptr inbounds i8, ptr %44, i64 5
  %68 = getelementptr inbounds i8, ptr %44, i64 6
  %69 = getelementptr inbounds i8, ptr %44, i64 7
  %70 = getelementptr inbounds i8, ptr %44, i64 8
  %71 = getelementptr inbounds i8, ptr %44, i64 9
  %72 = getelementptr inbounds i8, ptr %44, i64 10
  %73 = getelementptr inbounds i8, ptr %44, i64 11
  %74 = getelementptr inbounds i8, ptr %44, i64 12
  %75 = getelementptr inbounds i8, ptr %44, i64 13
  %76 = getelementptr inbounds i8, ptr %44, i64 14
  %77 = getelementptr inbounds i8, ptr %44, i64 15
  %78 = getelementptr inbounds i8, ptr %44, i64 16
  %79 = getelementptr inbounds i8, ptr %44, i64 17
  %80 = getelementptr inbounds i8, ptr %44, i64 18
  %81 = getelementptr inbounds i8, ptr %44, i64 19
  %82 = getelementptr inbounds i8, ptr %44, i64 20
  %83 = getelementptr inbounds i8, ptr %44, i64 21
  %84 = getelementptr inbounds i8, ptr %44, i64 22
  %85 = getelementptr inbounds i8, ptr %44, i64 23
  %86 = getelementptr inbounds i8, ptr %44, i64 24
  %87 = getelementptr inbounds i8, ptr %44, i64 25
  %88 = getelementptr inbounds i8, ptr %44, i64 26
  %89 = getelementptr inbounds i8, ptr %44, i64 27
  %90 = getelementptr inbounds i8, ptr %44, i64 28
  %91 = getelementptr inbounds i8, ptr %44, i64 29
  %92 = getelementptr inbounds i8, ptr %44, i64 30
  %93 = getelementptr inbounds i8, ptr %44, i64 31
  %94 = getelementptr inbounds i8, ptr %44, i64 32
  %95 = getelementptr inbounds i8, ptr %44, i64 33
  %96 = getelementptr inbounds i8, ptr %44, i64 34
  %97 = getelementptr inbounds i8, ptr %44, i64 35
  %98 = getelementptr inbounds i8, ptr %44, i64 36
  %99 = getelementptr inbounds i8, ptr %44, i64 37
  %100 = getelementptr inbounds i8, ptr %44, i64 38
  %101 = getelementptr inbounds i8, ptr %44, i64 39
  %102 = getelementptr inbounds i8, ptr %44, i64 40
  %103 = getelementptr inbounds i8, ptr %44, i64 41
  %104 = getelementptr inbounds i8, ptr %44, i64 42
  %105 = getelementptr inbounds i8, ptr %44, i64 43
  %106 = getelementptr inbounds i8, ptr %44, i64 44
  %107 = getelementptr inbounds i8, ptr %44, i64 45
  %108 = getelementptr inbounds i8, ptr %44, i64 46
  %109 = getelementptr inbounds i8, ptr %44, i64 47
  %110 = getelementptr inbounds i8, ptr %44, i64 48
  %111 = getelementptr inbounds i8, ptr %44, i64 49
  %112 = getelementptr inbounds i8, ptr %44, i64 50
  %113 = getelementptr inbounds i8, ptr %44, i64 51
  %114 = getelementptr inbounds i8, ptr %44, i64 52
  %115 = getelementptr inbounds i8, ptr %44, i64 53
  %116 = getelementptr inbounds i8, ptr %44, i64 54
  %117 = getelementptr inbounds i8, ptr %44, i64 55
  %118 = getelementptr inbounds i8, ptr %44, i64 56
  %119 = getelementptr inbounds i8, ptr %44, i64 57
  %120 = getelementptr inbounds i8, ptr %44, i64 58
  %121 = getelementptr inbounds i8, ptr %44, i64 59
  %122 = getelementptr inbounds i8, ptr %44, i64 60
  %123 = getelementptr inbounds i8, ptr %44, i64 61
  %124 = getelementptr inbounds i8, ptr %44, i64 62
  %125 = getelementptr inbounds i8, ptr %44, i64 63
  br label %.preheader169.lr.ph.us

.preheader169.lr.ph.us:                           ; preds = %.preheader169.lr.ph.us.preheader, %._crit_edge198.us
  %indvars.iv245 = phi i64 [ 0, %.preheader169.lr.ph.us.preheader ], [ %indvars.iv.next246, %._crit_edge198.us ]
  %126 = trunc nuw i64 %indvars.iv245 to i32
  %127 = uitofp i32 %126 to float
  %128 = call float @llvm.fmuladd.f32(float %127, float %60, float %.0144.ph316)
  %129 = fdiv float %128, -2.000000e+01
  %130 = call float @powf(float noundef 1.000000e+01, float noundef %129) #10
  %131 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv245
  store i32 0, ptr %131, align 4, !tbaa !11
  %132 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv245
  store i32 0, ptr %132, align 4, !tbaa !11
  br label %.preheader169.us

133:                                              ; preds = %.preheader169.us
  %134 = call i32 @fec_conv_punctured_encode(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %44, ptr noundef nonnull %46) #10
  br label %137

135:                                              ; preds = %.preheader169.us
  %136 = call i32 @fec_conv_encode(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %44, ptr noundef nonnull %46)
  br label %137

137:                                              ; preds = %135, %133
  br i1 %.not207, label %._crit_edge.us, label %.lr.ph.us

._crit_edge.us:                                   ; preds = %.lr.ph195.us, %137, %.preheader168.us, %.preheader.us
  %138 = call i32 @fec_scheme_is_punctured(i32 noundef %.0142) #10
  %.not158.us = icmp eq i32 %138, 0
  br i1 %.not158.us, label %142, label %139

139:                                              ; preds = %._crit_edge.us
  %140 = call i32 @fec_conv_punctured_decode_soft(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %51, ptr noundef nonnull %53)
  %141 = call i32 @fec_conv_punctured_decode_soft(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %50, ptr noundef nonnull %52)
  br label %145

142:                                              ; preds = %._crit_edge.us
  %143 = call i32 @fec_conv_decode_soft(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %51, ptr noundef nonnull %53)
  %144 = call i32 @fec_conv_decode_soft(ptr noundef %41, i32 noundef 64, ptr noundef nonnull %50, ptr noundef nonnull %52)
  br label %145

145:                                              ; preds = %142, %139
  %146 = call i32 @count_bit_errors_array(ptr noundef nonnull %44, ptr noundef nonnull %53, i32 noundef 64) #10
  %147 = load i32, ptr %132, align 4, !tbaa !11
  %148 = add i32 %147, %146
  store i32 %148, ptr %132, align 4, !tbaa !11
  %149 = call i32 @count_bit_errors_array(ptr noundef nonnull %44, ptr noundef nonnull %52, i32 noundef 64) #10
  %150 = load i32, ptr %131, align 4, !tbaa !11
  %151 = add i32 %150, %149
  store i32 %151, ptr %131, align 4, !tbaa !11
  %152 = add nuw i32 %.0143196.us, 1
  %exitcond244.not = icmp eq i32 %152, %.0151.ph
  br i1 %exitcond244.not, label %._crit_edge198.us, label %.preheader169.us, !llvm.loop !13

.lr.ph195.us:                                     ; preds = %.preheader.us, %.lr.ph195.us
  %indvars.iv239 = phi i64 [ %indvars.iv.next240, %.lr.ph195.us ], [ 0, %.preheader.us ]
  %153 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv239
  %154 = load float, ptr %153, align 8
  %155 = fcmp ogt float %154, 0.000000e+00
  %156 = sext i1 %155 to i8
  %157 = getelementptr inbounds i8, ptr %51, i64 %indvars.iv239
  store i8 %156, ptr %157, align 1, !tbaa !14
  %158 = call float @tanhf(float noundef %154) #10
  %159 = call float @llvm.fmuladd.f32(float %158, float 5.000000e-01, float 5.000000e-01)
  %160 = fmul float %159, 2.550000e+02
  %161 = fptoui float %160 to i8
  %162 = getelementptr inbounds i8, ptr %50, i64 %indvars.iv239
  store i8 %161, ptr %162, align 1, !tbaa !14
  %indvars.iv.next240 = add nuw nsw i64 %indvars.iv239, 1
  %exitcond243.not = icmp eq i64 %indvars.iv.next240, %48
  br i1 %exitcond243.not, label %._crit_edge.us, label %.lr.ph195.us, !llvm.loop !15

.lr.ph193.us:                                     ; preds = %.preheader168.us, %.lr.ph193.us
  %indvars.iv234 = phi i64 [ %indvars.iv.next235, %.lr.ph193.us ], [ 0, %.preheader168.us ]
  %163 = call float (...) @randnf() #10
  %164 = fmul float %130, %163
  %165 = call float (...) @randf() #10
  %166 = fpext float %165 to double
  %167 = fmul double %166, 0x401921FB54442D18
  %168 = fmul float %165, 0.000000e+00
  %169 = fptrunc double %167 to float
  %.sroa.024.0.vec.insert.us = insertelement <2 x float> poison, float %168, i64 0
  %.sroa.024.4.vec.insert.us = insertelement <2 x float> %.sroa.024.0.vec.insert.us, float %169, i64 1
  %170 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.024.4.vec.insert.us) #10
  %171 = getelementptr inbounds { float, float }, ptr %49, i64 %indvars.iv234
  %172 = insertelement <2 x float> poison, float %164, i64 0
  %173 = shufflevector <2 x float> %172, <2 x float> poison, <2 x i32> zeroinitializer
  %174 = fmul <2 x float> %173, %170
  %175 = load <2 x float>, ptr %171, align 8
  %176 = fadd <2 x float> %175, %174
  store <2 x float> %176, ptr %171, align 8
  %indvars.iv.next235 = add nuw nsw i64 %indvars.iv234, 1
  %exitcond238.not = icmp eq i64 %indvars.iv.next235, %48
  br i1 %exitcond238.not, label %.preheader.us, label %.lr.ph193.us, !llvm.loop !16

.lr.ph.us:                                        ; preds = %137, %.lr.ph.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.us ], [ 0, %137 ]
  %177 = getelementptr inbounds i8, ptr %46, i64 %indvars.iv
  %178 = load i8, ptr %177, align 1, !tbaa !14
  %.not159.us = icmp sgt i8 %178, -1
  %179 = select i1 %.not159.us, float -1.000000e+00, float 1.000000e+00
  %180 = trunc nuw i64 %indvars.iv to i32
  %181 = shl i32 %180, 3
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds { float, float }, ptr %49, i64 %182
  %184 = getelementptr inbounds i8, ptr %183, i64 4
  store float %179, ptr %183, align 16
  store float 0.000000e+00, ptr %184, align 4
  %185 = and i8 %178, 64
  %.not160.us = icmp eq i8 %185, 0
  %186 = select i1 %.not160.us, float -1.000000e+00, float 1.000000e+00
  %187 = or disjoint i32 %181, 1
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds { float, float }, ptr %49, i64 %188
  %190 = getelementptr inbounds i8, ptr %189, i64 4
  store float %186, ptr %189, align 8
  store float 0.000000e+00, ptr %190, align 4
  %191 = and i8 %178, 32
  %.not161.us = icmp eq i8 %191, 0
  %192 = select i1 %.not161.us, float -1.000000e+00, float 1.000000e+00
  %193 = or disjoint i32 %181, 2
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds { float, float }, ptr %49, i64 %194
  %196 = getelementptr inbounds i8, ptr %195, i64 4
  store float %192, ptr %195, align 16
  store float 0.000000e+00, ptr %196, align 4
  %197 = and i8 %178, 16
  %.not162.us = icmp eq i8 %197, 0
  %198 = select i1 %.not162.us, float -1.000000e+00, float 1.000000e+00
  %199 = or disjoint i32 %181, 3
  %200 = zext i32 %199 to i64
  %201 = getelementptr inbounds { float, float }, ptr %49, i64 %200
  %202 = getelementptr inbounds i8, ptr %201, i64 4
  store float %198, ptr %201, align 8
  store float 0.000000e+00, ptr %202, align 4
  %203 = and i8 %178, 8
  %.not163.us = icmp eq i8 %203, 0
  %204 = select i1 %.not163.us, float -1.000000e+00, float 1.000000e+00
  %205 = or disjoint i32 %181, 4
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds { float, float }, ptr %49, i64 %206
  %208 = getelementptr inbounds i8, ptr %207, i64 4
  store float %204, ptr %207, align 16
  store float 0.000000e+00, ptr %208, align 4
  %209 = and i8 %178, 4
  %.not164.us = icmp eq i8 %209, 0
  %210 = select i1 %.not164.us, float -1.000000e+00, float 1.000000e+00
  %211 = or disjoint i32 %181, 5
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds { float, float }, ptr %49, i64 %212
  %214 = getelementptr inbounds i8, ptr %213, i64 4
  store float %210, ptr %213, align 8
  store float 0.000000e+00, ptr %214, align 4
  %215 = and i8 %178, 2
  %.not165.us = icmp eq i8 %215, 0
  %216 = select i1 %.not165.us, float -1.000000e+00, float 1.000000e+00
  %217 = or disjoint i32 %181, 6
  %218 = zext i32 %217 to i64
  %219 = getelementptr inbounds { float, float }, ptr %49, i64 %218
  %220 = getelementptr inbounds i8, ptr %219, i64 4
  store float %216, ptr %219, align 16
  store float 0.000000e+00, ptr %220, align 4
  %221 = and i8 %178, 1
  %.not166.us = icmp eq i8 %221, 0
  %222 = select i1 %.not166.us, float -1.000000e+00, float 1.000000e+00
  %223 = or disjoint i32 %181, 7
  %224 = zext i32 %223 to i64
  %225 = getelementptr inbounds { float, float }, ptr %49, i64 %224
  %226 = getelementptr inbounds i8, ptr %225, i64 4
  store float %222, ptr %225, align 8
  store float 0.000000e+00, ptr %226, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %45
  br i1 %exitcond.not, label %.preheader168.us, label %.lr.ph.us, !llvm.loop !17

.preheader.us:                                    ; preds = %.lr.ph193.us
  br i1 %.not208, label %._crit_edge.us, label %.lr.ph195.us

.preheader168.us:                                 ; preds = %.lr.ph.us
  br i1 %.not208, label %._crit_edge.us, label %.lr.ph193.us

.preheader169.us:                                 ; preds = %.preheader169.lr.ph.us, %145
  %.0143196.us = phi i32 [ 0, %.preheader169.lr.ph.us ], [ %152, %145 ]
  %227 = call i32 @rand() #10
  %228 = trunc i32 %227 to i8
  store i8 %228, ptr %44, align 16, !tbaa !14
  %229 = call i32 @rand() #10
  %230 = trunc i32 %229 to i8
  store i8 %230, ptr %63, align 1, !tbaa !14
  %231 = call i32 @rand() #10
  %232 = trunc i32 %231 to i8
  store i8 %232, ptr %64, align 2, !tbaa !14
  %233 = call i32 @rand() #10
  %234 = trunc i32 %233 to i8
  store i8 %234, ptr %65, align 1, !tbaa !14
  %235 = call i32 @rand() #10
  %236 = trunc i32 %235 to i8
  store i8 %236, ptr %66, align 4, !tbaa !14
  %237 = call i32 @rand() #10
  %238 = trunc i32 %237 to i8
  store i8 %238, ptr %67, align 1, !tbaa !14
  %239 = call i32 @rand() #10
  %240 = trunc i32 %239 to i8
  store i8 %240, ptr %68, align 2, !tbaa !14
  %241 = call i32 @rand() #10
  %242 = trunc i32 %241 to i8
  store i8 %242, ptr %69, align 1, !tbaa !14
  %243 = call i32 @rand() #10
  %244 = trunc i32 %243 to i8
  store i8 %244, ptr %70, align 8, !tbaa !14
  %245 = call i32 @rand() #10
  %246 = trunc i32 %245 to i8
  store i8 %246, ptr %71, align 1, !tbaa !14
  %247 = call i32 @rand() #10
  %248 = trunc i32 %247 to i8
  store i8 %248, ptr %72, align 2, !tbaa !14
  %249 = call i32 @rand() #10
  %250 = trunc i32 %249 to i8
  store i8 %250, ptr %73, align 1, !tbaa !14
  %251 = call i32 @rand() #10
  %252 = trunc i32 %251 to i8
  store i8 %252, ptr %74, align 4, !tbaa !14
  %253 = call i32 @rand() #10
  %254 = trunc i32 %253 to i8
  store i8 %254, ptr %75, align 1, !tbaa !14
  %255 = call i32 @rand() #10
  %256 = trunc i32 %255 to i8
  store i8 %256, ptr %76, align 2, !tbaa !14
  %257 = call i32 @rand() #10
  %258 = trunc i32 %257 to i8
  store i8 %258, ptr %77, align 1, !tbaa !14
  %259 = call i32 @rand() #10
  %260 = trunc i32 %259 to i8
  store i8 %260, ptr %78, align 16, !tbaa !14
  %261 = call i32 @rand() #10
  %262 = trunc i32 %261 to i8
  store i8 %262, ptr %79, align 1, !tbaa !14
  %263 = call i32 @rand() #10
  %264 = trunc i32 %263 to i8
  store i8 %264, ptr %80, align 2, !tbaa !14
  %265 = call i32 @rand() #10
  %266 = trunc i32 %265 to i8
  store i8 %266, ptr %81, align 1, !tbaa !14
  %267 = call i32 @rand() #10
  %268 = trunc i32 %267 to i8
  store i8 %268, ptr %82, align 4, !tbaa !14
  %269 = call i32 @rand() #10
  %270 = trunc i32 %269 to i8
  store i8 %270, ptr %83, align 1, !tbaa !14
  %271 = call i32 @rand() #10
  %272 = trunc i32 %271 to i8
  store i8 %272, ptr %84, align 2, !tbaa !14
  %273 = call i32 @rand() #10
  %274 = trunc i32 %273 to i8
  store i8 %274, ptr %85, align 1, !tbaa !14
  %275 = call i32 @rand() #10
  %276 = trunc i32 %275 to i8
  store i8 %276, ptr %86, align 8, !tbaa !14
  %277 = call i32 @rand() #10
  %278 = trunc i32 %277 to i8
  store i8 %278, ptr %87, align 1, !tbaa !14
  %279 = call i32 @rand() #10
  %280 = trunc i32 %279 to i8
  store i8 %280, ptr %88, align 2, !tbaa !14
  %281 = call i32 @rand() #10
  %282 = trunc i32 %281 to i8
  store i8 %282, ptr %89, align 1, !tbaa !14
  %283 = call i32 @rand() #10
  %284 = trunc i32 %283 to i8
  store i8 %284, ptr %90, align 4, !tbaa !14
  %285 = call i32 @rand() #10
  %286 = trunc i32 %285 to i8
  store i8 %286, ptr %91, align 1, !tbaa !14
  %287 = call i32 @rand() #10
  %288 = trunc i32 %287 to i8
  store i8 %288, ptr %92, align 2, !tbaa !14
  %289 = call i32 @rand() #10
  %290 = trunc i32 %289 to i8
  store i8 %290, ptr %93, align 1, !tbaa !14
  %291 = call i32 @rand() #10
  %292 = trunc i32 %291 to i8
  store i8 %292, ptr %94, align 16, !tbaa !14
  %293 = call i32 @rand() #10
  %294 = trunc i32 %293 to i8
  store i8 %294, ptr %95, align 1, !tbaa !14
  %295 = call i32 @rand() #10
  %296 = trunc i32 %295 to i8
  store i8 %296, ptr %96, align 2, !tbaa !14
  %297 = call i32 @rand() #10
  %298 = trunc i32 %297 to i8
  store i8 %298, ptr %97, align 1, !tbaa !14
  %299 = call i32 @rand() #10
  %300 = trunc i32 %299 to i8
  store i8 %300, ptr %98, align 4, !tbaa !14
  %301 = call i32 @rand() #10
  %302 = trunc i32 %301 to i8
  store i8 %302, ptr %99, align 1, !tbaa !14
  %303 = call i32 @rand() #10
  %304 = trunc i32 %303 to i8
  store i8 %304, ptr %100, align 2, !tbaa !14
  %305 = call i32 @rand() #10
  %306 = trunc i32 %305 to i8
  store i8 %306, ptr %101, align 1, !tbaa !14
  %307 = call i32 @rand() #10
  %308 = trunc i32 %307 to i8
  store i8 %308, ptr %102, align 8, !tbaa !14
  %309 = call i32 @rand() #10
  %310 = trunc i32 %309 to i8
  store i8 %310, ptr %103, align 1, !tbaa !14
  %311 = call i32 @rand() #10
  %312 = trunc i32 %311 to i8
  store i8 %312, ptr %104, align 2, !tbaa !14
  %313 = call i32 @rand() #10
  %314 = trunc i32 %313 to i8
  store i8 %314, ptr %105, align 1, !tbaa !14
  %315 = call i32 @rand() #10
  %316 = trunc i32 %315 to i8
  store i8 %316, ptr %106, align 4, !tbaa !14
  %317 = call i32 @rand() #10
  %318 = trunc i32 %317 to i8
  store i8 %318, ptr %107, align 1, !tbaa !14
  %319 = call i32 @rand() #10
  %320 = trunc i32 %319 to i8
  store i8 %320, ptr %108, align 2, !tbaa !14
  %321 = call i32 @rand() #10
  %322 = trunc i32 %321 to i8
  store i8 %322, ptr %109, align 1, !tbaa !14
  %323 = call i32 @rand() #10
  %324 = trunc i32 %323 to i8
  store i8 %324, ptr %110, align 16, !tbaa !14
  %325 = call i32 @rand() #10
  %326 = trunc i32 %325 to i8
  store i8 %326, ptr %111, align 1, !tbaa !14
  %327 = call i32 @rand() #10
  %328 = trunc i32 %327 to i8
  store i8 %328, ptr %112, align 2, !tbaa !14
  %329 = call i32 @rand() #10
  %330 = trunc i32 %329 to i8
  store i8 %330, ptr %113, align 1, !tbaa !14
  %331 = call i32 @rand() #10
  %332 = trunc i32 %331 to i8
  store i8 %332, ptr %114, align 4, !tbaa !14
  %333 = call i32 @rand() #10
  %334 = trunc i32 %333 to i8
  store i8 %334, ptr %115, align 1, !tbaa !14
  %335 = call i32 @rand() #10
  %336 = trunc i32 %335 to i8
  store i8 %336, ptr %116, align 2, !tbaa !14
  %337 = call i32 @rand() #10
  %338 = trunc i32 %337 to i8
  store i8 %338, ptr %117, align 1, !tbaa !14
  %339 = call i32 @rand() #10
  %340 = trunc i32 %339 to i8
  store i8 %340, ptr %118, align 8, !tbaa !14
  %341 = call i32 @rand() #10
  %342 = trunc i32 %341 to i8
  store i8 %342, ptr %119, align 1, !tbaa !14
  %343 = call i32 @rand() #10
  %344 = trunc i32 %343 to i8
  store i8 %344, ptr %120, align 2, !tbaa !14
  %345 = call i32 @rand() #10
  %346 = trunc i32 %345 to i8
  store i8 %346, ptr %121, align 1, !tbaa !14
  %347 = call i32 @rand() #10
  %348 = trunc i32 %347 to i8
  store i8 %348, ptr %122, align 4, !tbaa !14
  %349 = call i32 @rand() #10
  %350 = trunc i32 %349 to i8
  store i8 %350, ptr %123, align 1, !tbaa !14
  %351 = call i32 @rand() #10
  %352 = trunc i32 %351 to i8
  store i8 %352, ptr %124, align 2, !tbaa !14
  %353 = call i32 @rand() #10
  %354 = trunc i32 %353 to i8
  store i8 %354, ptr %125, align 1, !tbaa !14
  %355 = call i32 @fec_scheme_is_punctured(i32 noundef %.0142) #10
  %.not157.us = icmp eq i32 %355, 0
  br i1 %.not157.us, label %135, label %133

._crit_edge198.us:                                ; preds = %145
  %356 = fpext float %128 to double
  %357 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, double noundef %356, i32 noundef %62, i32 noundef %151, i32 noundef %148)
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %exitcond249.not = icmp eq i64 %indvars.iv.next246, %54
  br i1 %exitcond249.not, label %._crit_edge204, label %.preheader169.lr.ph.us, !llvm.loop !18

.lr.ph203.split:                                  ; preds = %.lr.ph203, %.lr.ph203.split
  %indvars.iv250 = phi i64 [ %indvars.iv.next251, %.lr.ph203.split ], [ 0, %.lr.ph203 ]
  %358 = trunc nuw i64 %indvars.iv250 to i32
  %359 = uitofp i32 %358 to float
  %360 = tail call float @llvm.fmuladd.f32(float %359, float %60, float %.0144.ph316)
  %361 = fdiv float %360, -2.000000e+01
  %362 = tail call float @powf(float noundef 1.000000e+01, float noundef %361) #10
  %363 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv250
  store i32 0, ptr %363, align 4, !tbaa !11
  %364 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv250
  store i32 0, ptr %364, align 4, !tbaa !11
  %365 = fpext float %360 to double
  %366 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, double noundef %365, i32 noundef %62, i32 noundef 0, i32 noundef 0)
  %indvars.iv.next251 = add nuw nsw i64 %indvars.iv250, 1
  %exitcond254.not = icmp eq i64 %indvars.iv.next251, %54
  br i1 %exitcond254.not, label %._crit_edge204, label %.lr.ph203.split, !llvm.loop !18

._crit_edge204:                                   ; preds = %._crit_edge198.us, %.lr.ph203.split, %.._crit_edge204_crit_edge
  %.pre-phi = phi i32 [ %.pre, %.._crit_edge204_crit_edge ], [ %62, %.lr.ph203.split ], [ %62, %._crit_edge198.us ]
  %367 = call i32 @fec_destroy(ptr noundef %41) #10
  %368 = call noalias ptr @fopen(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19)
  %369 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.18) #10
  %370 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.21) #10
  %371 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.22) #10
  %372 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.23) #10
  %373 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.24, i32 noundef 64) #10
  %374 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.25, i32 noundef %40) #10
  %375 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.26, i32 noundef %.0151.ph) #10
  %376 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.27, i32 noundef %.pre-phi) #10
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.28, i32 noundef %.0149.ph307) #10
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.26, i32 noundef %.0151.ph) #10
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %._crit_edge204, %.lr.ph
  %indvars.iv255 = phi i64 [ %indvars.iv.next256, %.lr.ph ], [ 0, %._crit_edge204 ]
  %indvars.iv.next256 = add nuw nsw i64 %indvars.iv255, 1
  %379 = trunc nuw i64 %indvars.iv255 to i32
  %380 = uitofp i32 %379 to float
  %381 = call float @llvm.fmuladd.f32(float %380, float %60, float %.0144.ph316)
  %382 = fpext float %381 to double
  %383 = trunc nuw i64 %indvars.iv.next256 to i32
  %384 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.29, i32 noundef %383, double noundef %382) #10
  %385 = getelementptr inbounds i32, ptr %55, i64 %indvars.iv255
  %386 = load i32, ptr %385, align 4, !tbaa !11
  %387 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.30, i32 noundef %383, i32 noundef %386) #10
  %388 = getelementptr inbounds i32, ptr %56, i64 %indvars.iv255
  %389 = load i32, ptr %388, align 4, !tbaa !11
  %390 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.31, i32 noundef %383, i32 noundef %389) #10
  %exitcond259.not = icmp eq i64 %indvars.iv.next256, %54
  br i1 %exitcond259.not, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph, %._crit_edge204
  %391 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.21) #10
  %392 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.32) #10
  %393 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.33) #10
  %394 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.34) #10
  %395 = fpext float %.0144.ph316 to double
  %396 = fpext float %.0146.ph312 to double
  %397 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.35, double noundef %395, double noundef %396) #10
  %398 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.36) #10
  %399 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.37) #10
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.38) #10
  %401 = zext i32 %.0142 to i64
  %402 = getelementptr inbounds [28 x [2 x ptr]], ptr @fec_scheme_str, i64 0, i64 %401, i64 1
  %403 = load ptr, ptr %402, align 8, !tbaa !5
  %404 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.39, ptr noundef %403) #10
  %405 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %368, ptr noundef nonnull @.str.40) #10
  %406 = call i32 @fclose(ptr noundef %368)
  %407 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41, ptr noundef nonnull @.str.18)
  %408 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  call void @llvm.stackrestore.p0(ptr %43)
  br label %409

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

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

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

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

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

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

declare i32 @liquid_getopt_str2fec(ptr noundef) local_unnamed_addr #5

; 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 #6

declare i32 @fec_scheme_is_convolutional(i32 noundef) local_unnamed_addr #5

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

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

declare i32 @fec_print(ptr noundef) local_unnamed_addr #5

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

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

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

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

declare i32 @fec_scheme_is_punctured(i32 noundef) local_unnamed_addr #5

declare i32 @fec_conv_punctured_encode(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #3

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

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

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

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

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

declare i32 @fec_destroy(ptr noundef) local_unnamed_addr #5

; 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) #7

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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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 #5 = { "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 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #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}


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