; LLVM IR from jgaeddert/liquid-dsp :: src/fec/tests (fec_secded3932_autotest)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.div_t = type { i32, i32 }

@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

declare i32 @fec_secded3932_encode_symbol(ptr noundef, ptr noundef) #2

declare i32 @fec_secded3932_decode_symbol(ptr noundef, ptr noundef) #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #2

declare void @liquid_autotest_passed(...) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @autotest_secded3932_codec_e2() #5 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [4 x i8], align 1
  %4 = alloca [5 x i8], align 1
  %5 = alloca [5 x i8], align 1
  %6 = alloca %struct.div_t, align 4
  %7 = alloca %struct.div_t, align 4
  %8 = alloca [5 x i8], align 1
  %9 = alloca [4 x i8], align 1
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %166, %0
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = icmp ult i32 %12, 38
  br i1 %13, label %14, label %169

14:                                               ; preds = %11
  %15 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %20

17:                                               ; preds = %14
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %18)
  br label %20

20:                                               ; preds = %17, %14
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %162, %20
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %24 = sub i32 38, %23
  %25 = icmp ult i32 %22, %24
  br i1 %25, label %26, label %165

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %27 = call i32 @rand() #6
  %28 = and i32 %27, 65535
  %29 = trunc i32 %28 to i8
  %30 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
  store i8 %29, ptr %30, align 1, !tbaa !9
  %31 = call i32 @rand() #6
  %32 = and i32 %31, 65535
  %33 = trunc i32 %32 to i8
  %34 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 1
  store i8 %33, ptr %34, align 1, !tbaa !9
  %35 = call i32 @rand() #6
  %36 = and i32 %35, 65535
  %37 = trunc i32 %36 to i8
  %38 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 2
  store i8 %37, ptr %38, align 1, !tbaa !9
  %39 = call i32 @rand() #6
  %40 = and i32 %39, 65535
  %41 = trunc i32 %40 to i8
  %42 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 3
  store i8 %41, ptr %42, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 5, ptr %4) #6
  %43 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
  %44 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
  %45 = call i32 @fec_secded3932_encode_symbol(ptr noundef %43, ptr noundef %44)
  call void @llvm.lifetime.start.p0(i64 5, ptr %5) #6
  call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = call i64 @div(i32 noundef %46, i32 noundef 8) #7
  store i64 %47, ptr %6, align 4
  %48 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !10
  %50 = shl i32 1, %49
  %51 = getelementptr inbounds %struct.div_t, ptr %6, i32 0, i32 0
  %52 = load i32, ptr %51, align 4, !tbaa !12
  %53 = sub nsw i32 5, %52
  %54 = sub nsw i32 %53, 1
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 %55
  %57 = load i8, ptr %56, align 1, !tbaa !9
  %58 = zext i8 %57 to i32
  %59 = or i32 %58, %50
  %60 = trunc i32 %59 to i8
  store i8 %60, ptr %56, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %61 = load i32, ptr %2, align 4, !tbaa !5
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = add i32 %61, %62
  %64 = add i32 %63, 1
  %65 = call i64 @div(i32 noundef %64, i32 noundef 8) #7
  store i64 %65, ptr %7, align 4
  %66 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 1
  %67 = load i32, ptr %66, align 4, !tbaa !10
  %68 = shl i32 1, %67
  %69 = getelementptr inbounds %struct.div_t, ptr %7, i32 0, i32 0
  %70 = load i32, ptr %69, align 4, !tbaa !12
  %71 = sub nsw i32 5, %70
  %72 = sub nsw i32 %71, 1
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !9
  %76 = zext i8 %75 to i32
  %77 = or i32 %76, %68
  %78 = trunc i32 %77 to i8
  store i8 %78, ptr %74, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 5, ptr %8) #6
  %79 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 0
  %80 = load i8, ptr %79, align 1, !tbaa !9
  %81 = zext i8 %80 to i32
  %82 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
  %83 = load i8, ptr %82, align 1, !tbaa !9
  %84 = zext i8 %83 to i32
  %85 = xor i32 %81, %84
  %86 = trunc i32 %85 to i8
  %87 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  store i8 %86, ptr %87, align 1, !tbaa !9
  %88 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 1
  %89 = load i8, ptr %88, align 1, !tbaa !9
  %90 = zext i8 %89 to i32
  %91 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1
  %92 = load i8, ptr %91, align 1, !tbaa !9
  %93 = zext i8 %92 to i32
  %94 = xor i32 %90, %93
  %95 = trunc i32 %94 to i8
  %96 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 1
  store i8 %95, ptr %96, align 1, !tbaa !9
  %97 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 2
  %98 = load i8, ptr %97, align 1, !tbaa !9
  %99 = zext i8 %98 to i32
  %100 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 2
  %101 = load i8, ptr %100, align 1, !tbaa !9
  %102 = zext i8 %101 to i32
  %103 = xor i32 %99, %102
  %104 = trunc i32 %103 to i8
  %105 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 2
  store i8 %104, ptr %105, align 1, !tbaa !9
  %106 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 3
  %107 = load i8, ptr %106, align 1, !tbaa !9
  %108 = zext i8 %107 to i32
  %109 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 3
  %110 = load i8, ptr %109, align 1, !tbaa !9
  %111 = zext i8 %110 to i32
  %112 = xor i32 %108, %111
  %113 = trunc i32 %112 to i8
  %114 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 3
  store i8 %113, ptr %114, align 1, !tbaa !9
  %115 = getelementptr inbounds [5 x i8], ptr %4, i64 0, i64 4
  %116 = load i8, ptr %115, align 1, !tbaa !9
  %117 = zext i8 %116 to i32
  %118 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 4
  %119 = load i8, ptr %118, align 1, !tbaa !9
  %120 = zext i8 %119 to i32
  %121 = xor i32 %117, %120
  %122 = trunc i32 %121 to i8
  %123 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 4
  store i8 %122, ptr %123, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %124 = getelementptr inbounds [5 x i8], ptr %8, i64 0, i64 0
  %125 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %126 = call i32 @fec_secded3932_decode_symbol(ptr noundef %124, ptr noundef %125)
  store i32 %126, ptr %10, align 4, !tbaa !5
  %127 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %154

129:                                              ; preds = %26
  %130 = load i32, ptr %2, align 4, !tbaa !5
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %130)
  %132 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
  %133 = load i8, ptr %132, align 1, !tbaa !9
  %134 = zext i8 %133 to i32
  %135 = call i32 @liquid_print_bitstring(i32 noundef %134, i32 noundef 7)
  %136 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 1
  %137 = load i8, ptr %136, align 1, !tbaa !9
  %138 = zext i8 %137 to i32
  %139 = call i32 @liquid_print_bitstring(i32 noundef %138, i32 noundef 8)
  %140 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 2
  %141 = load i8, ptr %140, align 1, !tbaa !9
  %142 = zext i8 %141 to i32
  %143 = call i32 @liquid_print_bitstring(i32 noundef %142, i32 noundef 8)
  %144 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 3
  %145 = load i8, ptr %144, align 1, !tbaa !9
  %146 = zext i8 %145 to i32
  %147 = call i32 @liquid_print_bitstring(i32 noundef %146, i32 noundef 8)
  %148 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 4
  %149 = load i8, ptr %148, align 1, !tbaa !9
  %150 = zext i8 %149 to i32
  %151 = call i32 @liquid_print_bitstring(i32 noundef %150, i32 noundef 8)
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %152)
  br label %154

154:                                              ; preds = %129, %26
  %155 = load i32, ptr %10, align 4, !tbaa !5
  %156 = icmp ne i32 %155, 2
  br i1 %156, label %157, label %160

157:                                              ; preds = %154
  %158 = load i32, ptr %10, align 4, !tbaa !5
  %159 = sitofp i32 %158 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 160, ptr noundef @.str.13, double noundef %159, ptr noundef @.str.2, ptr noundef @.str.14, double noundef 2.000000e+00)
  br label %161

160:                                              ; preds = %154
  call void (...) @liquid_autotest_passed()
  br label %161

161:                                              ; preds = %160, %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 5, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %2, align 4, !tbaa !5
  %164 = add i32 %163, 1
  store i32 %164, ptr %2, align 4, !tbaa !5
  br label %21, !llvm.loop !13

165:                                              ; preds = %21
  br label %166

166:                                              ; preds = %165
  %167 = load i32, ptr %1, align 4, !tbaa !5
  %168 = add i32 %167, 1
  store i32 %168, ptr %1, align 4, !tbaa !5
  br label %11, !llvm.loop !15

169:                                              ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

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

declare i32 @liquid_print_bitstring(i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind willreturn memory(none) "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 = { 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 4}
!11 = !{!"", !6, i64 0, !6, i64 4}
!12 = !{!11, !6, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

declare i32 @fec_secded3932_encode_symbol(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @fec_secded3932_decode_symbol(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #2

declare void @liquid_autotest_passed(...) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare i64 @div(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local void @autotest_secded3932_codec_e2() local_unnamed_addr #5 {
  %1 = alloca [4 x i8], align 1
  %2 = alloca [5 x i8], align 4
  %3 = alloca [5 x i8], align 4
  %4 = alloca [5 x i8], align 4
  %5 = alloca [4 x i8], align 1
  %6 = getelementptr inbounds i8, ptr %1, i64 1
  %7 = getelementptr inbounds i8, ptr %1, i64 2
  %8 = getelementptr inbounds i8, ptr %1, i64 3
  %9 = getelementptr inbounds i8, ptr %2, i64 4
  %10 = getelementptr inbounds i8, ptr %3, i64 4
  %11 = getelementptr inbounds i8, ptr %4, i64 4
  br label %12

12:                                               ; preds = %0, %._crit_edge
  %indvars.iv = phi i32 [ 38, %0 ], [ %indvars.iv.next, %._crit_edge ]
  %.021 = phi i32 [ 0, %0 ], [ %16, %._crit_edge ]
  %13 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not = icmp eq i32 %13, 0
  br i1 %.not, label %.lr.ph, label %14

14:                                               ; preds = %12
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i32 noundef %.021)
  br label %.lr.ph

.lr.ph:                                           ; preds = %12, %14
  %16 = add nuw nsw i32 %.021, 1
  br label %17

17:                                               ; preds = %.lr.ph, %73
  %.01520 = phi i32 [ 0, %.lr.ph ], [ %74, %73 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %18 = call i32 @rand() #7
  %19 = trunc i32 %18 to i8
  store i8 %19, ptr %1, align 1, !tbaa !9
  %20 = call i32 @rand() #7
  %21 = trunc i32 %20 to i8
  store i8 %21, ptr %6, align 1, !tbaa !9
  %22 = call i32 @rand() #7
  %23 = trunc i32 %22 to i8
  store i8 %23, ptr %7, align 1, !tbaa !9
  %24 = call i32 @rand() #7
  %25 = trunc i32 %24 to i8
  store i8 %25, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #7
  %26 = call i32 @fec_secded3932_encode_symbol(ptr noundef nonnull %1, ptr noundef nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %3) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(5) %3, i8 0, i64 5, i1 false)
  %27 = call i64 @div(i32 noundef %.021, i32 noundef 8) #8
  %.sroa.44.0.extract.shift = lshr i64 %27, 32
  %.sroa.44.0.extract.trunc = trunc nuw i64 %.sroa.44.0.extract.shift to i32
  %28 = shl nuw i32 1, %.sroa.44.0.extract.trunc
  %29 = shl i64 %27, 32
  %sext = sub i64 17179869184, %29
  %30 = ashr exact i64 %sext, 32
  %31 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !9
  %33 = trunc i32 %28 to i8
  %34 = or i8 %32, %33
  store i8 %34, ptr %31, align 1, !tbaa !9
  %35 = add nuw nsw i32 %16, %.01520
  %36 = call i64 @div(i32 noundef %35, i32 noundef 8) #8
  %.sroa.4.0.extract.shift = lshr i64 %36, 32
  %.sroa.4.0.extract.trunc = trunc nuw i64 %.sroa.4.0.extract.shift to i32
  %37 = shl nuw i32 1, %.sroa.4.0.extract.trunc
  %38 = shl i64 %36, 32
  %sext17 = sub i64 17179869184, %38
  %39 = ashr exact i64 %sext17, 32
  %40 = getelementptr inbounds [5 x i8], ptr %3, i64 0, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = trunc i32 %37 to i8
  %43 = or i8 %41, %42
  store i8 %43, ptr %40, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %4) #7
  %44 = load <4 x i8>, ptr %2, align 4, !tbaa !9
  %45 = load <4 x i8>, ptr %3, align 4, !tbaa !9
  %46 = xor <4 x i8> %45, %44
  store <4 x i8> %46, ptr %4, align 4, !tbaa !9
  %47 = load i8, ptr %9, align 4, !tbaa !9
  %48 = load i8, ptr %10, align 4, !tbaa !9
  %49 = xor i8 %48, %47
  store i8 %49, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %50 = call i32 @fec_secded3932_decode_symbol(ptr noundef nonnull %4, ptr noundef nonnull %5) #7
  %51 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not18 = icmp eq i32 %51, 0
  br i1 %.not18, label %69, label %52

52:                                               ; preds = %17
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %.01520)
  %54 = extractelement <4 x i8> %45, i64 0
  %55 = zext i8 %54 to i32
  %56 = call i32 @liquid_print_bitstring(i32 noundef %55, i32 noundef 7) #7
  %57 = extractelement <4 x i8> %45, i64 1
  %58 = zext i8 %57 to i32
  %59 = call i32 @liquid_print_bitstring(i32 noundef %58, i32 noundef 8) #7
  %60 = extractelement <4 x i8> %45, i64 2
  %61 = zext i8 %60 to i32
  %62 = call i32 @liquid_print_bitstring(i32 noundef %61, i32 noundef 8) #7
  %63 = extractelement <4 x i8> %45, i64 3
  %64 = zext i8 %63 to i32
  %65 = call i32 @liquid_print_bitstring(i32 noundef %64, i32 noundef 8) #7
  %66 = zext i8 %48 to i32
  %67 = call i32 @liquid_print_bitstring(i32 noundef %66, i32 noundef 8) #7
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %50)
  br label %69

69:                                               ; preds = %52, %17
  %.not19 = icmp eq i32 %50, 2
  br i1 %.not19, label %72, label %70

70:                                               ; preds = %69
  %71 = sitofp i32 %50 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 160, ptr noundef nonnull @.str.13, double noundef %71, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.14, double noundef 2.000000e+00) #7
  br label %73

72:                                               ; preds = %69
  call void (...) @liquid_autotest_passed() #7
  br label %73

73:                                               ; preds = %72, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  %74 = add nuw nsw i32 %.01520, 1
  %exitcond.not = icmp eq i32 %74, %indvars.iv
  br i1 %exitcond.not, label %._crit_edge, label %17, !llvm.loop !10

._crit_edge:                                      ; preds = %73
  %indvars.iv.next = add nsw i32 %indvars.iv, -1
  %exitcond23.not = icmp eq i32 %16, 38
  br i1 %exitcond23.not, label %75, label %12, !llvm.loop !12

75:                                               ; preds = %._crit_edge
  ret void
}

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

declare i32 @liquid_print_bitstring(i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(none) }

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass