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

; 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 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__.fec_secded3932_encode = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @fec_secded3932_compute_parity(ptr noundef) #0

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @fec_secded3932_encode(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [4 x i8], align 1
  %13 = alloca i32, align 4
  %14 = alloca [5 x i8], align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %15 = load i32, ptr %6, align 4, !tbaa !9
  %16 = urem i32 %15, 4
  store i32 %16, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %80, %4
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = sub i32 %19, %20
  %22 = icmp ult i32 %18, %21
  br i1 %22, label %23, label %83

23:                                               ; preds = %17
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %24, i64 %26
  %28 = call zeroext i8 @fec_secded3932_compute_parity(ptr noundef %27)
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = add i32 %30, 0
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds i8, ptr %29, i64 %32
  store i8 %28, ptr %33, align 1, !tbaa !11
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = add i32 %35, 0
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds i8, ptr %34, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !11
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = add i32 %41, 1
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds i8, ptr %40, i64 %43
  store i8 %39, ptr %44, align 1, !tbaa !11
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = add i32 %46, 1
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %45, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !11
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = add i32 %52, 2
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds i8, ptr %51, i64 %54
  store i8 %50, ptr %55, align 1, !tbaa !11
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = add i32 %57, 2
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds i8, ptr %56, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !11
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = add i32 %63, 3
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  store i8 %61, ptr %66, align 1, !tbaa !11
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = add i32 %68, 3
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds i8, ptr %67, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = add i32 %74, 4
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds i8, ptr %73, i64 %76
  store i8 %72, ptr %77, align 1, !tbaa !11
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = add i32 %78, 5
  store i32 %79, ptr %10, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %23
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = add i32 %81, 4
  store i32 %82, ptr %9, align 4, !tbaa !9
  br label %17, !llvm.loop !12

83:                                               ; preds = %17
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %144

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 1 %12, i8 0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %102, %86
  %88 = load i32, ptr %13, align 4, !tbaa !9
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %91, label %105

91:                                               ; preds = %87
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = add i32 %93, %94
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds i8, ptr %92, i64 %96
  %98 = load i8, ptr %97, align 1, !tbaa !11
  %99 = load i32, ptr %13, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 %100
  store i8 %98, ptr %101, align 1, !tbaa !11
  br label %102

102:                                              ; preds = %91
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = add i32 %103, 1
  store i32 %104, ptr %13, align 4, !tbaa !9
  br label %87, !llvm.loop !14

105:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 5, ptr %14) #5
  %106 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  %107 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
  %108 = call i32 @fec_secded3932_encode_symbol(ptr noundef %106, ptr noundef %107)
  %109 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 0
  %110 = load i8, ptr %109, align 1, !tbaa !11
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = add i32 %112, 0
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds i8, ptr %111, i64 %114
  store i8 %110, ptr %115, align 1, !tbaa !11
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %133, %105
  %117 = load i32, ptr %13, align 4, !tbaa !9
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = icmp ult i32 %117, %118
  br i1 %119, label %120, label %136

120:                                              ; preds = %116
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = add i32 %121, 1
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [5 x i8], ptr %14, i64 0, i64 %123
  %125 = load i8, ptr %124, align 1, !tbaa !11
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load i32, ptr %10, align 4, !tbaa !9
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = add i32 %127, %128
  %130 = add i32 %129, 1
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds i8, ptr %126, i64 %131
  store i8 %125, ptr %132, align 1, !tbaa !11
  br label %133

133:                                              ; preds = %120
  %134 = load i32, ptr %13, align 4, !tbaa !9
  %135 = add i32 %134, 1
  store i32 %135, ptr %13, align 4, !tbaa !9
  br label %116, !llvm.loop !15

136:                                              ; preds = %116
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = load i32, ptr %9, align 4, !tbaa !9
  %139 = add i32 %138, %137
  store i32 %139, ptr %9, align 4, !tbaa !9
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = add i32 %140, 1
  %142 = load i32, ptr %10, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 5, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %144

144:                                              ; preds = %136, %83
  %145 = load i32, ptr %10, align 4, !tbaa !9
  %146 = load i32, ptr %6, align 4, !tbaa !9
  %147 = call i32 @fec_get_enc_msg_length(i32 noundef 9, i32 noundef %146)
  %148 = icmp eq i32 %145, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %144
  br label %151

150:                                              ; preds = %144
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.fec_secded3932_encode) #6
  unreachable

151:                                              ; preds = %149
  %152 = load i32, ptr %9, align 4, !tbaa !9
  %153 = load i32, ptr %6, align 4, !tbaa !9
  %154 = icmp eq i32 %152, %153
  br i1 %154, label %155, label %156

155:                                              ; preds = %151
  br label %157

156:                                              ; preds = %151
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 299, ptr noundef @__PRETTY_FUNCTION__.fec_secded3932_encode) #6
  unreachable

157:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret i32 0
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = { 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 #5 = { nounwind }
attributes #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


; 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 [64 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__.fec_secded3932_encode = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i8 @fec_secded3932_compute_parity(ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @fec_secded3932_encode(ptr nocapture noundef readnone %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = alloca [4 x i8], align 4
  %6 = alloca [5 x i8], align 1
  %7 = and i32 %1, 3
  %8 = and i32 %1, -4
  %.not60 = icmp eq i32 %8, 0
  br i1 %.not60, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  %9 = zext i32 %8 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.05255 = phi i32 [ 0, %.lr.ph.preheader ], [ %36, %.lr.ph ]
  %10 = getelementptr inbounds i8, ptr %2, i64 %indvars.iv
  %11 = tail call zeroext i8 @fec_secded3932_compute_parity(ptr noundef %10)
  %12 = zext i32 %.05255 to i64
  %13 = getelementptr inbounds i8, ptr %3, i64 %12
  store i8 %11, ptr %13, align 1, !tbaa !5
  %14 = load i8, ptr %10, align 1, !tbaa !5
  %15 = add i32 %.05255, 1
  %16 = zext i32 %15 to i64
  %17 = getelementptr inbounds i8, ptr %3, i64 %16
  store i8 %14, ptr %17, align 1, !tbaa !5
  %18 = or disjoint i64 %indvars.iv, 1
  %19 = getelementptr inbounds i8, ptr %2, i64 %18
  %20 = load i8, ptr %19, align 1, !tbaa !5
  %21 = add i32 %.05255, 2
  %22 = zext i32 %21 to i64
  %23 = getelementptr inbounds i8, ptr %3, i64 %22
  store i8 %20, ptr %23, align 1, !tbaa !5
  %24 = or disjoint i64 %indvars.iv, 2
  %25 = getelementptr inbounds i8, ptr %2, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !5
  %27 = add i32 %.05255, 3
  %28 = zext i32 %27 to i64
  %29 = getelementptr inbounds i8, ptr %3, i64 %28
  store i8 %26, ptr %29, align 1, !tbaa !5
  %30 = or disjoint i64 %indvars.iv, 3
  %31 = getelementptr inbounds i8, ptr %2, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !5
  %33 = add i32 %.05255, 4
  %34 = zext i32 %33 to i64
  %35 = getelementptr inbounds i8, ptr %3, i64 %34
  store i8 %32, ptr %35, align 1, !tbaa !5
  %36 = add i32 %.05255, 5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 4
  %37 = icmp ult i64 %indvars.iv.next, %9
  br i1 %37, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !8

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %38 = trunc nuw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %4
  %.052.lcssa = phi i32 [ 0, %4 ], [ %36, %._crit_edge.loopexit ]
  %.050.lcssa = phi i32 [ 0, %4 ], [ %38, %._crit_edge.loopexit ]
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %70, label %39

39:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  store i32 0, ptr %5, align 4
  %wide.trip.count = zext nneg i32 %7 to i64
  %40 = zext i32 %.050.lcssa to i64
  %41 = getelementptr inbounds i8, ptr %2, i64 %40
  %42 = load i8, ptr %41, align 1, !tbaa !5
  store i8 %42, ptr %5, align 4, !tbaa !5
  %exitcond.not = icmp eq i32 %7, 1
  br i1 %exitcond.not, label %.unr-lcssa, label %43, !llvm.loop !10

43:                                               ; preds = %39
  %44 = add i32 %.050.lcssa, 1
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds i8, ptr %2, i64 %45
  %47 = load i8, ptr %46, align 1, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %5, i64 1
  store i8 %47, ptr %48, align 1, !tbaa !5
  %exitcond.not.1 = icmp eq i32 %7, 2
  br i1 %exitcond.not.1, label %.unr-lcssa, label %49, !llvm.loop !10

49:                                               ; preds = %43
  %50 = add i32 %.050.lcssa, 2
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds i8, ptr %2, i64 %51
  %53 = load i8, ptr %52, align 1, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %5, i64 2
  store i8 %53, ptr %54, align 2, !tbaa !5
  br label %.unr-lcssa

.unr-lcssa:                                       ; preds = %49, %43, %39
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %6) #4
  %55 = call i32 @fec_secded3932_encode_symbol(ptr noundef nonnull %5, ptr noundef nonnull %6)
  %56 = load i8, ptr %6, align 1, !tbaa !5
  %57 = zext i32 %.052.lcssa to i64
  %58 = getelementptr inbounds i8, ptr %3, i64 %57
  store i8 %56, ptr %58, align 1, !tbaa !5
  %59 = add i32 %.052.lcssa, 1
  br label %60

60:                                               ; preds = %60, %.unr-lcssa
  %indvars.iv66.epil = phi i64 [ 0, %.unr-lcssa ], [ %indvars.iv.next67.epil, %60 ]
  %epil.iter = phi i64 [ 0, %.unr-lcssa ], [ %epil.iter.next, %60 ]
  %indvars.iv.next67.epil = add nuw nsw i64 %indvars.iv66.epil, 1
  %61 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 %indvars.iv.next67.epil
  %62 = load i8, ptr %61, align 1, !tbaa !5
  %63 = trunc nuw nsw i64 %indvars.iv66.epil to i32
  %64 = add i32 %59, %63
  %65 = zext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %3, i64 %65
  store i8 %62, ptr %66, align 1, !tbaa !5
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %wide.trip.count
  br i1 %epil.iter.cmp.not, label %.epilog-lcssa, label %60, !llvm.loop !11

.epilog-lcssa:                                    ; preds = %60
  %67 = or disjoint i32 %.050.lcssa, %7
  %68 = add nuw nsw i32 %7, 1
  %69 = add i32 %68, %.052.lcssa
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %70

70:                                               ; preds = %.epilog-lcssa, %._crit_edge
  %.153 = phi i32 [ %69, %.epilog-lcssa ], [ %.052.lcssa, %._crit_edge ]
  %.151 = phi i32 [ %67, %.epilog-lcssa ], [ %.050.lcssa, %._crit_edge ]
  %71 = call i32 @fec_get_enc_msg_length(i32 noundef 9, i32 noundef %1) #4
  %72 = icmp eq i32 %.153, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 298, ptr noundef nonnull @__PRETTY_FUNCTION__.fec_secded3932_encode) #5
  unreachable

74:                                               ; preds = %70
  %75 = icmp eq i32 %.151, %1
  br i1 %75, label %77, label %76

76:                                               ; preds = %74
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 299, ptr noundef nonnull @__PRETTY_FUNCTION__.fec_secded3932_encode) #5
  unreachable

77:                                               ; preds = %74
  ret i32 0
}

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.unroll.disable"}


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