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

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

@secded7264_syndrome_w1 = external dso_local global [72 x i8], align 16
@liquid_c_ones = external constant [256 x i8], align 16

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

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

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

; 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_secded7264_estimate_ehat(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.div_t, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %11, i8 0, i64 9, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = call zeroext i8 @fec_secded7264_compute_syndrome(ptr noundef %12)
  store i8 %13, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %14 = load i8, ptr %6, align 1, !tbaa !9
  %15 = zext i8 %14 to i64
  %16 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %15
  %17 = load i8, ptr %16, align 1, !tbaa !9
  %18 = zext i8 %17 to i32
  store i32 %18, ptr %7, align 4, !tbaa !10
  %19 = load i32, ptr %7, align 4, !tbaa !10
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %58

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !10
  br label %23

23:                                               ; preds = %50, %22
  %24 = load i32, ptr %9, align 4, !tbaa !10
  %25 = icmp ult i32 %24, 72
  br i1 %25, label %26, label %53

26:                                               ; preds = %23
  %27 = load i8, ptr %6, align 1, !tbaa !9
  %28 = zext i8 %27 to i32
  %29 = load i32, ptr %9, align 4, !tbaa !10
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds [72 x i8], ptr @secded7264_syndrome_w1, i64 0, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !9
  %33 = zext i8 %32 to i32
  %34 = icmp eq i32 %28, %33
  br i1 %34, label %35, label %49

35:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %36 = load i32, ptr %9, align 4, !tbaa !10
  %37 = call i64 @div(i32 noundef %36, i32 noundef 8) #5
  store i64 %37, ptr %10, align 4
  %38 = getelementptr inbounds %struct.div_t, ptr %10, i32 0, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !12
  %40 = shl i32 1, %39
  %41 = trunc i32 %40 to i8
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.div_t, ptr %10, i32 0, i32 0
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = sub nsw i32 9, %44
  %46 = sub nsw i32 %45, 1
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds i8, ptr %42, i64 %47
  store i8 %41, ptr %48, align 1, !tbaa !9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %54

49:                                               ; preds = %26
  br label %50

50:                                               ; preds = %49
  %51 = load i32, ptr %9, align 4, !tbaa !10
  %52 = add i32 %51, 1
  store i32 %52, ptr %9, align 4, !tbaa !10
  br label %23, !llvm.loop !15

53:                                               ; preds = %23
  store i32 0, ptr %8, align 4
  br label %54

54:                                               ; preds = %53, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  %55 = load i32, ptr %8, align 4
  switch i32 %55, label %58 [
    i32 0, label %56
  ]

56:                                               ; preds = %54
  br label %57

57:                                               ; preds = %56
  store i32 2, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %58

58:                                               ; preds = %57, %54, %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  %59 = load i32, ptr %3, align 4
  ret i32 %59
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 4}
!13 = !{!"", !11, i64 0, !11, i64 4}
!14 = !{!13, !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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

@secded7264_syndrome_w1 = external dso_local local_unnamed_addr global [72 x i8], align 16
@liquid_c_ones = external local_unnamed_addr constant [256 x i8], align 16

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 3) i32 @fec_secded7264_estimate_ehat(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(9) %1, i8 0, i64 9, i1 false)
  %3 = tail call zeroext i8 @fec_secded7264_compute_syndrome(ptr noundef %0)
  %4 = zext i8 %3 to i64
  %5 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %4
  %6 = load i8, ptr %5, align 1, !tbaa !5
  %7 = icmp eq i8 %6, 0
  br i1 %7, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %2
  %8 = load i8, ptr @secded7264_syndrome_w1, align 16, !tbaa !5
  %9 = icmp eq i8 %3, %8
  br i1 %9, label %10, label %.preheader.1

10:                                               ; preds = %.preheader.71, %.preheader.70, %.preheader.69, %.preheader.68, %.preheader.67, %.preheader.66, %.preheader.65, %.preheader.64, %.preheader.63, %.preheader.62, %.preheader.61, %.preheader.60, %.preheader.59, %.preheader.58, %.preheader.57, %.preheader.56, %.preheader.55, %.preheader.54, %.preheader.53, %.preheader.52, %.preheader.51, %.preheader.50, %.preheader.49, %.preheader.48, %.preheader.47, %.preheader.46, %.preheader.45, %.preheader.44, %.preheader.43, %.preheader.42, %.preheader.41, %.preheader.40, %.preheader.39, %.preheader.38, %.preheader.37, %.preheader.36, %.preheader.35, %.preheader.34, %.preheader.33, %.preheader.32, %.preheader.31, %.preheader.30, %.preheader.29, %.preheader.28, %.preheader.27, %.preheader.26, %.preheader.25, %.preheader.24, %.preheader.23, %.preheader.22, %.preheader.21, %.preheader.20, %.preheader.19, %.preheader.18, %.preheader.17, %.preheader.16, %.preheader.15, %.preheader.14, %.preheader.13, %.preheader.12, %.preheader.11, %.preheader.10, %.preheader.9, %.preheader.8, %.preheader.7, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %.01214.lcssa.wide = phi i32 [ 0, %.preheader.preheader ], [ 1, %.preheader.1 ], [ 2, %.preheader.2 ], [ 3, %.preheader.3 ], [ 4, %.preheader.4 ], [ 5, %.preheader.5 ], [ 6, %.preheader.6 ], [ 7, %.preheader.7 ], [ 8, %.preheader.8 ], [ 9, %.preheader.9 ], [ 10, %.preheader.10 ], [ 11, %.preheader.11 ], [ 12, %.preheader.12 ], [ 13, %.preheader.13 ], [ 14, %.preheader.14 ], [ 15, %.preheader.15 ], [ 16, %.preheader.16 ], [ 17, %.preheader.17 ], [ 18, %.preheader.18 ], [ 19, %.preheader.19 ], [ 20, %.preheader.20 ], [ 21, %.preheader.21 ], [ 22, %.preheader.22 ], [ 23, %.preheader.23 ], [ 24, %.preheader.24 ], [ 25, %.preheader.25 ], [ 26, %.preheader.26 ], [ 27, %.preheader.27 ], [ 28, %.preheader.28 ], [ 29, %.preheader.29 ], [ 30, %.preheader.30 ], [ 31, %.preheader.31 ], [ 32, %.preheader.32 ], [ 33, %.preheader.33 ], [ 34, %.preheader.34 ], [ 35, %.preheader.35 ], [ 36, %.preheader.36 ], [ 37, %.preheader.37 ], [ 38, %.preheader.38 ], [ 39, %.preheader.39 ], [ 40, %.preheader.40 ], [ 41, %.preheader.41 ], [ 42, %.preheader.42 ], [ 43, %.preheader.43 ], [ 44, %.preheader.44 ], [ 45, %.preheader.45 ], [ 46, %.preheader.46 ], [ 47, %.preheader.47 ], [ 48, %.preheader.48 ], [ 49, %.preheader.49 ], [ 50, %.preheader.50 ], [ 51, %.preheader.51 ], [ 52, %.preheader.52 ], [ 53, %.preheader.53 ], [ 54, %.preheader.54 ], [ 55, %.preheader.55 ], [ 56, %.preheader.56 ], [ 57, %.preheader.57 ], [ 58, %.preheader.58 ], [ 59, %.preheader.59 ], [ 60, %.preheader.60 ], [ 61, %.preheader.61 ], [ 62, %.preheader.62 ], [ 63, %.preheader.63 ], [ 64, %.preheader.64 ], [ 65, %.preheader.65 ], [ 66, %.preheader.66 ], [ 67, %.preheader.67 ], [ 68, %.preheader.68 ], [ 69, %.preheader.69 ], [ 70, %.preheader.70 ], [ 71, %.preheader.71 ]
  %11 = tail call i64 @div(i32 noundef %.01214.lcssa.wide, i32 noundef 8) #3
  %.sroa.4.0.extract.shift = lshr i64 %11, 32
  %.sroa.4.0.extract.trunc = trunc nuw i64 %.sroa.4.0.extract.shift to i32
  %12 = shl nuw i32 1, %.sroa.4.0.extract.trunc
  %13 = trunc i32 %12 to i8
  %14 = shl i64 %11, 32
  %sext = sub i64 34359738368, %14
  %15 = ashr exact i64 %sext, 32
  %16 = getelementptr inbounds i8, ptr %1, i64 %15
  store i8 %13, ptr %16, align 1, !tbaa !5
  br label %.loopexit

.preheader.1:                                     ; preds = %.preheader.preheader
  %17 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 1), align 1, !tbaa !5
  %18 = icmp eq i8 %3, %17
  br i1 %18, label %10, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %19 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 2), align 2, !tbaa !5
  %20 = icmp eq i8 %3, %19
  br i1 %20, label %10, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %21 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 3), align 1, !tbaa !5
  %22 = icmp eq i8 %3, %21
  br i1 %22, label %10, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %23 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 4), align 4, !tbaa !5
  %24 = icmp eq i8 %3, %23
  br i1 %24, label %10, label %.preheader.5

.preheader.5:                                     ; preds = %.preheader.4
  %25 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 5), align 1, !tbaa !5
  %26 = icmp eq i8 %3, %25
  br i1 %26, label %10, label %.preheader.6

.preheader.6:                                     ; preds = %.preheader.5
  %27 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 6), align 2, !tbaa !5
  %28 = icmp eq i8 %3, %27
  br i1 %28, label %10, label %.preheader.7

.preheader.7:                                     ; preds = %.preheader.6
  %29 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 7), align 1, !tbaa !5
  %30 = icmp eq i8 %3, %29
  br i1 %30, label %10, label %.preheader.8

.preheader.8:                                     ; preds = %.preheader.7
  %31 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 8), align 8, !tbaa !5
  %32 = icmp eq i8 %3, %31
  br i1 %32, label %10, label %.preheader.9

.preheader.9:                                     ; preds = %.preheader.8
  %33 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 9), align 1, !tbaa !5
  %34 = icmp eq i8 %3, %33
  br i1 %34, label %10, label %.preheader.10

.preheader.10:                                    ; preds = %.preheader.9
  %35 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 10), align 2, !tbaa !5
  %36 = icmp eq i8 %3, %35
  br i1 %36, label %10, label %.preheader.11

.preheader.11:                                    ; preds = %.preheader.10
  %37 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 11), align 1, !tbaa !5
  %38 = icmp eq i8 %3, %37
  br i1 %38, label %10, label %.preheader.12

.preheader.12:                                    ; preds = %.preheader.11
  %39 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 12), align 4, !tbaa !5
  %40 = icmp eq i8 %3, %39
  br i1 %40, label %10, label %.preheader.13

.preheader.13:                                    ; preds = %.preheader.12
  %41 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 13), align 1, !tbaa !5
  %42 = icmp eq i8 %3, %41
  br i1 %42, label %10, label %.preheader.14

.preheader.14:                                    ; preds = %.preheader.13
  %43 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 14), align 2, !tbaa !5
  %44 = icmp eq i8 %3, %43
  br i1 %44, label %10, label %.preheader.15

.preheader.15:                                    ; preds = %.preheader.14
  %45 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 15), align 1, !tbaa !5
  %46 = icmp eq i8 %3, %45
  br i1 %46, label %10, label %.preheader.16

.preheader.16:                                    ; preds = %.preheader.15
  %47 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 16), align 16, !tbaa !5
  %48 = icmp eq i8 %3, %47
  br i1 %48, label %10, label %.preheader.17

.preheader.17:                                    ; preds = %.preheader.16
  %49 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 17), align 1, !tbaa !5
  %50 = icmp eq i8 %3, %49
  br i1 %50, label %10, label %.preheader.18

.preheader.18:                                    ; preds = %.preheader.17
  %51 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 18), align 2, !tbaa !5
  %52 = icmp eq i8 %3, %51
  br i1 %52, label %10, label %.preheader.19

.preheader.19:                                    ; preds = %.preheader.18
  %53 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 19), align 1, !tbaa !5
  %54 = icmp eq i8 %3, %53
  br i1 %54, label %10, label %.preheader.20

.preheader.20:                                    ; preds = %.preheader.19
  %55 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 20), align 4, !tbaa !5
  %56 = icmp eq i8 %3, %55
  br i1 %56, label %10, label %.preheader.21

.preheader.21:                                    ; preds = %.preheader.20
  %57 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 21), align 1, !tbaa !5
  %58 = icmp eq i8 %3, %57
  br i1 %58, label %10, label %.preheader.22

.preheader.22:                                    ; preds = %.preheader.21
  %59 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 22), align 2, !tbaa !5
  %60 = icmp eq i8 %3, %59
  br i1 %60, label %10, label %.preheader.23

.preheader.23:                                    ; preds = %.preheader.22
  %61 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 23), align 1, !tbaa !5
  %62 = icmp eq i8 %3, %61
  br i1 %62, label %10, label %.preheader.24

.preheader.24:                                    ; preds = %.preheader.23
  %63 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 24), align 8, !tbaa !5
  %64 = icmp eq i8 %3, %63
  br i1 %64, label %10, label %.preheader.25

.preheader.25:                                    ; preds = %.preheader.24
  %65 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 25), align 1, !tbaa !5
  %66 = icmp eq i8 %3, %65
  br i1 %66, label %10, label %.preheader.26

.preheader.26:                                    ; preds = %.preheader.25
  %67 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 26), align 2, !tbaa !5
  %68 = icmp eq i8 %3, %67
  br i1 %68, label %10, label %.preheader.27

.preheader.27:                                    ; preds = %.preheader.26
  %69 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 27), align 1, !tbaa !5
  %70 = icmp eq i8 %3, %69
  br i1 %70, label %10, label %.preheader.28

.preheader.28:                                    ; preds = %.preheader.27
  %71 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 28), align 4, !tbaa !5
  %72 = icmp eq i8 %3, %71
  br i1 %72, label %10, label %.preheader.29

.preheader.29:                                    ; preds = %.preheader.28
  %73 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 29), align 1, !tbaa !5
  %74 = icmp eq i8 %3, %73
  br i1 %74, label %10, label %.preheader.30

.preheader.30:                                    ; preds = %.preheader.29
  %75 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 30), align 2, !tbaa !5
  %76 = icmp eq i8 %3, %75
  br i1 %76, label %10, label %.preheader.31

.preheader.31:                                    ; preds = %.preheader.30
  %77 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 31), align 1, !tbaa !5
  %78 = icmp eq i8 %3, %77
  br i1 %78, label %10, label %.preheader.32

.preheader.32:                                    ; preds = %.preheader.31
  %79 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 32), align 16, !tbaa !5
  %80 = icmp eq i8 %3, %79
  br i1 %80, label %10, label %.preheader.33

.preheader.33:                                    ; preds = %.preheader.32
  %81 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 33), align 1, !tbaa !5
  %82 = icmp eq i8 %3, %81
  br i1 %82, label %10, label %.preheader.34

.preheader.34:                                    ; preds = %.preheader.33
  %83 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 34), align 2, !tbaa !5
  %84 = icmp eq i8 %3, %83
  br i1 %84, label %10, label %.preheader.35

.preheader.35:                                    ; preds = %.preheader.34
  %85 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 35), align 1, !tbaa !5
  %86 = icmp eq i8 %3, %85
  br i1 %86, label %10, label %.preheader.36

.preheader.36:                                    ; preds = %.preheader.35
  %87 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 36), align 4, !tbaa !5
  %88 = icmp eq i8 %3, %87
  br i1 %88, label %10, label %.preheader.37

.preheader.37:                                    ; preds = %.preheader.36
  %89 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 37), align 1, !tbaa !5
  %90 = icmp eq i8 %3, %89
  br i1 %90, label %10, label %.preheader.38

.preheader.38:                                    ; preds = %.preheader.37
  %91 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 38), align 2, !tbaa !5
  %92 = icmp eq i8 %3, %91
  br i1 %92, label %10, label %.preheader.39

.preheader.39:                                    ; preds = %.preheader.38
  %93 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 39), align 1, !tbaa !5
  %94 = icmp eq i8 %3, %93
  br i1 %94, label %10, label %.preheader.40

.preheader.40:                                    ; preds = %.preheader.39
  %95 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 40), align 8, !tbaa !5
  %96 = icmp eq i8 %3, %95
  br i1 %96, label %10, label %.preheader.41

.preheader.41:                                    ; preds = %.preheader.40
  %97 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 41), align 1, !tbaa !5
  %98 = icmp eq i8 %3, %97
  br i1 %98, label %10, label %.preheader.42

.preheader.42:                                    ; preds = %.preheader.41
  %99 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 42), align 2, !tbaa !5
  %100 = icmp eq i8 %3, %99
  br i1 %100, label %10, label %.preheader.43

.preheader.43:                                    ; preds = %.preheader.42
  %101 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 43), align 1, !tbaa !5
  %102 = icmp eq i8 %3, %101
  br i1 %102, label %10, label %.preheader.44

.preheader.44:                                    ; preds = %.preheader.43
  %103 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 44), align 4, !tbaa !5
  %104 = icmp eq i8 %3, %103
  br i1 %104, label %10, label %.preheader.45

.preheader.45:                                    ; preds = %.preheader.44
  %105 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 45), align 1, !tbaa !5
  %106 = icmp eq i8 %3, %105
  br i1 %106, label %10, label %.preheader.46

.preheader.46:                                    ; preds = %.preheader.45
  %107 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 46), align 2, !tbaa !5
  %108 = icmp eq i8 %3, %107
  br i1 %108, label %10, label %.preheader.47

.preheader.47:                                    ; preds = %.preheader.46
  %109 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 47), align 1, !tbaa !5
  %110 = icmp eq i8 %3, %109
  br i1 %110, label %10, label %.preheader.48

.preheader.48:                                    ; preds = %.preheader.47
  %111 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 48), align 16, !tbaa !5
  %112 = icmp eq i8 %3, %111
  br i1 %112, label %10, label %.preheader.49

.preheader.49:                                    ; preds = %.preheader.48
  %113 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 49), align 1, !tbaa !5
  %114 = icmp eq i8 %3, %113
  br i1 %114, label %10, label %.preheader.50

.preheader.50:                                    ; preds = %.preheader.49
  %115 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 50), align 2, !tbaa !5
  %116 = icmp eq i8 %3, %115
  br i1 %116, label %10, label %.preheader.51

.preheader.51:                                    ; preds = %.preheader.50
  %117 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 51), align 1, !tbaa !5
  %118 = icmp eq i8 %3, %117
  br i1 %118, label %10, label %.preheader.52

.preheader.52:                                    ; preds = %.preheader.51
  %119 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 52), align 4, !tbaa !5
  %120 = icmp eq i8 %3, %119
  br i1 %120, label %10, label %.preheader.53

.preheader.53:                                    ; preds = %.preheader.52
  %121 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 53), align 1, !tbaa !5
  %122 = icmp eq i8 %3, %121
  br i1 %122, label %10, label %.preheader.54

.preheader.54:                                    ; preds = %.preheader.53
  %123 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 54), align 2, !tbaa !5
  %124 = icmp eq i8 %3, %123
  br i1 %124, label %10, label %.preheader.55

.preheader.55:                                    ; preds = %.preheader.54
  %125 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 55), align 1, !tbaa !5
  %126 = icmp eq i8 %3, %125
  br i1 %126, label %10, label %.preheader.56

.preheader.56:                                    ; preds = %.preheader.55
  %127 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 56), align 8, !tbaa !5
  %128 = icmp eq i8 %3, %127
  br i1 %128, label %10, label %.preheader.57

.preheader.57:                                    ; preds = %.preheader.56
  %129 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 57), align 1, !tbaa !5
  %130 = icmp eq i8 %3, %129
  br i1 %130, label %10, label %.preheader.58

.preheader.58:                                    ; preds = %.preheader.57
  %131 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 58), align 2, !tbaa !5
  %132 = icmp eq i8 %3, %131
  br i1 %132, label %10, label %.preheader.59

.preheader.59:                                    ; preds = %.preheader.58
  %133 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 59), align 1, !tbaa !5
  %134 = icmp eq i8 %3, %133
  br i1 %134, label %10, label %.preheader.60

.preheader.60:                                    ; preds = %.preheader.59
  %135 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 60), align 4, !tbaa !5
  %136 = icmp eq i8 %3, %135
  br i1 %136, label %10, label %.preheader.61

.preheader.61:                                    ; preds = %.preheader.60
  %137 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 61), align 1, !tbaa !5
  %138 = icmp eq i8 %3, %137
  br i1 %138, label %10, label %.preheader.62

.preheader.62:                                    ; preds = %.preheader.61
  %139 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 62), align 2, !tbaa !5
  %140 = icmp eq i8 %3, %139
  br i1 %140, label %10, label %.preheader.63

.preheader.63:                                    ; preds = %.preheader.62
  %141 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 63), align 1, !tbaa !5
  %142 = icmp eq i8 %3, %141
  br i1 %142, label %10, label %.preheader.64

.preheader.64:                                    ; preds = %.preheader.63
  %143 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 64), align 16, !tbaa !5
  %144 = icmp eq i8 %3, %143
  br i1 %144, label %10, label %.preheader.65

.preheader.65:                                    ; preds = %.preheader.64
  %145 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 65), align 1, !tbaa !5
  %146 = icmp eq i8 %3, %145
  br i1 %146, label %10, label %.preheader.66

.preheader.66:                                    ; preds = %.preheader.65
  %147 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 66), align 2, !tbaa !5
  %148 = icmp eq i8 %3, %147
  br i1 %148, label %10, label %.preheader.67

.preheader.67:                                    ; preds = %.preheader.66
  %149 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 67), align 1, !tbaa !5
  %150 = icmp eq i8 %3, %149
  br i1 %150, label %10, label %.preheader.68

.preheader.68:                                    ; preds = %.preheader.67
  %151 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 68), align 4, !tbaa !5
  %152 = icmp eq i8 %3, %151
  br i1 %152, label %10, label %.preheader.69

.preheader.69:                                    ; preds = %.preheader.68
  %153 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 69), align 1, !tbaa !5
  %154 = icmp eq i8 %3, %153
  br i1 %154, label %10, label %.preheader.70

.preheader.70:                                    ; preds = %.preheader.69
  %155 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 70), align 2, !tbaa !5
  %156 = icmp eq i8 %3, %155
  br i1 %156, label %10, label %.preheader.71

.preheader.71:                                    ; preds = %.preheader.70
  %157 = load i8, ptr getelementptr inbounds (i8, ptr @secded7264_syndrome_w1, i64 71), align 1, !tbaa !5
  %158 = icmp eq i8 %3, %157
  br i1 %158, label %10, label %.loopexit

.loopexit:                                        ; preds = %.preheader.71, %10, %2
  %.1 = phi i32 [ 0, %2 ], [ 1, %10 ], [ 2, %.preheader.71 ]
  ret i32 %.1
}

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

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 nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #3 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass