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

; 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 [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1

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

17:                                               ; preds = %27, %0
  %18 = load i32, ptr %6, align 4, !tbaa !5
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = icmp ult i32 %18, %19
  br i1 %20, label %21, label %30

21:                                               ; preds = %17
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = call i32 @hamming74_enc_symbol(i32 noundef %22)
  %24 = load i32, ptr %6, align 4, !tbaa !5
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds i32, ptr %16, i64 %25
  store i32 %23, ptr %26, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %21
  %28 = load i32, ptr %6, align 4, !tbaa !5
  %29 = add i32 %28, 1
  store i32 %29, ptr %6, align 4, !tbaa !5
  br label %17, !llvm.loop !9

30:                                               ; preds = %17
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = zext i32 %31 to i64
  %33 = alloca i32, i64 %32, align 16
  store i64 %32, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %44, %30
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = icmp ult i32 %35, %36
  br i1 %37, label %38, label %47

38:                                               ; preds = %34
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = call i32 @hamming74_dec_symbol(i32 noundef %39)
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %33, i64 %42
  store i32 %40, ptr %43, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %38
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = add i32 %45, 1
  store i32 %46, ptr %8, align 4, !tbaa !5
  br label %34, !llvm.loop !11

47:                                               ; preds = %34
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %79, %47
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = icmp ult i32 %53, %54
  br i1 %55, label %56, label %82

56:                                               ; preds = %52
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %16, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %60)
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = sub i32 %63, 1
  %65 = icmp eq i32 %62, %64
  br i1 %65, label %66, label %68

66:                                               ; preds = %56
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %78

68:                                               ; preds = %56
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = add i32 %69, 1
  %71 = urem i32 %70, 8
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %75

73:                                               ; preds = %68
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %77

75:                                               ; preds = %68
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %77

77:                                               ; preds = %75, %73
  br label %78

78:                                               ; preds = %77, %66
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %6, align 4, !tbaa !5
  %81 = add i32 %80, 1
  store i32 %81, ptr %6, align 4, !tbaa !5
  br label %52, !llvm.loop !12

82:                                               ; preds = %52
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %84 = load i32, ptr %3, align 4, !tbaa !5
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %84)
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %113, %82
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = load i32, ptr %3, align 4, !tbaa !5
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %90, label %116

90:                                               ; preds = %86
  %91 = load i32, ptr %8, align 4, !tbaa !5
  %92 = zext i32 %91 to i64
  %93 = getelementptr inbounds i32, ptr %33, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %94)
  %96 = load i32, ptr %8, align 4, !tbaa !5
  %97 = load i32, ptr %3, align 4, !tbaa !5
  %98 = sub i32 %97, 1
  %99 = icmp eq i32 %96, %98
  br i1 %99, label %100, label %102

100:                                              ; preds = %90
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %112

102:                                              ; preds = %90
  %103 = load i32, ptr %8, align 4, !tbaa !5
  %104 = add i32 %103, 1
  %105 = urem i32 %104, 8
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %109

107:                                              ; preds = %102
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %111

109:                                              ; preds = %102
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %111

111:                                              ; preds = %109, %107
  br label %112

112:                                              ; preds = %111, %100
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = add i32 %114, 1
  store i32 %115, ptr %8, align 4, !tbaa !5
  br label %86, !llvm.loop !13

116:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %158, %116
  %118 = load i32, ptr %6, align 4, !tbaa !5
  %119 = load i32, ptr %2, align 4, !tbaa !5
  %120 = icmp ult i32 %118, %119
  br i1 %120, label %121, label %161

121:                                              ; preds = %117
  %122 = load i32, ptr %6, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %16, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  store i32 %125, ptr %8, align 4, !tbaa !5
  %126 = load i32, ptr %8, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds i32, ptr %33, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  store i32 %129, ptr %10, align 4, !tbaa !5
  %130 = load i32, ptr %10, align 4, !tbaa !5
  %131 = load i32, ptr %6, align 4, !tbaa !5
  %132 = icmp ne i32 %130, %131
  %133 = zext i1 %132 to i32
  %134 = load i32, ptr %12, align 4, !tbaa !5
  %135 = add i32 %134, %133
  store i32 %135, ptr %12, align 4, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %154, %121
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = icmp ult i32 %137, 7
  br i1 %138, label %139, label %157

139:                                              ; preds = %136
  %140 = load i32, ptr %8, align 4, !tbaa !5
  %141 = load i32, ptr %11, align 4, !tbaa !5
  %142 = shl i32 1, %141
  %143 = xor i32 %140, %142
  store i32 %143, ptr %9, align 4, !tbaa !5
  %144 = load i32, ptr %9, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds i32, ptr %33, i64 %145
  %147 = load i32, ptr %146, align 4, !tbaa !5
  store i32 %147, ptr %10, align 4, !tbaa !5
  %148 = load i32, ptr %10, align 4, !tbaa !5
  %149 = load i32, ptr %6, align 4, !tbaa !5
  %150 = icmp ne i32 %148, %149
  %151 = zext i1 %150 to i32
  %152 = load i32, ptr %12, align 4, !tbaa !5
  %153 = add i32 %152, %151
  store i32 %153, ptr %12, align 4, !tbaa !5
  br label %154

154:                                              ; preds = %139
  %155 = load i32, ptr %11, align 4, !tbaa !5
  %156 = add i32 %155, 1
  store i32 %156, ptr %11, align 4, !tbaa !5
  br label %136, !llvm.loop !14

157:                                              ; preds = %136
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %6, align 4, !tbaa !5
  %160 = add i32 %159, 1
  store i32 %160, ptr %6, align 4, !tbaa !5
  br label %117, !llvm.loop !15

161:                                              ; preds = %117
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %163 = load i32, ptr %12, align 4, !tbaa !5
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %163)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %165 = load ptr, ptr %4, align 8
  call void @llvm.stackrestore.p0(ptr %165)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %166 = load i32, ptr %1, align 4
  ret i32 %166
}

; 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
declare ptr @llvm.stacksave.p0() #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @hamming74_enc_symbol(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @hamming74_dec_symbol(i32 noundef) #0

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; 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 [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [16 x i32], align 16
  %2 = tail call i32 @hamming74_enc_symbol(i32 noundef 0)
  store i32 %2, ptr %1, align 16, !tbaa !5
  %3 = tail call i32 @hamming74_enc_symbol(i32 noundef 1)
  %4 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %3, ptr %4, align 4, !tbaa !5
  %5 = tail call i32 @hamming74_enc_symbol(i32 noundef 2)
  %6 = getelementptr inbounds i8, ptr %1, i64 8
  store i32 %5, ptr %6, align 8, !tbaa !5
  %7 = tail call i32 @hamming74_enc_symbol(i32 noundef 3)
  %8 = getelementptr inbounds i8, ptr %1, i64 12
  store i32 %7, ptr %8, align 4, !tbaa !5
  %9 = tail call i32 @hamming74_enc_symbol(i32 noundef 4)
  %10 = getelementptr inbounds i8, ptr %1, i64 16
  store i32 %9, ptr %10, align 16, !tbaa !5
  %11 = tail call i32 @hamming74_enc_symbol(i32 noundef 5)
  %12 = getelementptr inbounds i8, ptr %1, i64 20
  store i32 %11, ptr %12, align 4, !tbaa !5
  %13 = tail call i32 @hamming74_enc_symbol(i32 noundef 6)
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  store i32 %13, ptr %14, align 8, !tbaa !5
  %15 = tail call i32 @hamming74_enc_symbol(i32 noundef 7)
  %16 = getelementptr inbounds i8, ptr %1, i64 28
  store i32 %15, ptr %16, align 4, !tbaa !5
  %17 = tail call i32 @hamming74_enc_symbol(i32 noundef 8)
  %18 = getelementptr inbounds i8, ptr %1, i64 32
  store i32 %17, ptr %18, align 16, !tbaa !5
  %19 = tail call i32 @hamming74_enc_symbol(i32 noundef 9)
  %20 = getelementptr inbounds i8, ptr %1, i64 36
  store i32 %19, ptr %20, align 4, !tbaa !5
  %21 = tail call i32 @hamming74_enc_symbol(i32 noundef 10)
  %22 = getelementptr inbounds i8, ptr %1, i64 40
  store i32 %21, ptr %22, align 8, !tbaa !5
  %23 = tail call i32 @hamming74_enc_symbol(i32 noundef 11)
  %24 = getelementptr inbounds i8, ptr %1, i64 44
  store i32 %23, ptr %24, align 4, !tbaa !5
  %25 = tail call i32 @hamming74_enc_symbol(i32 noundef 12)
  %26 = getelementptr inbounds i8, ptr %1, i64 48
  store i32 %25, ptr %26, align 16, !tbaa !5
  %27 = tail call i32 @hamming74_enc_symbol(i32 noundef 13)
  %28 = getelementptr inbounds i8, ptr %1, i64 52
  store i32 %27, ptr %28, align 4, !tbaa !5
  %29 = tail call i32 @hamming74_enc_symbol(i32 noundef 14)
  %30 = getelementptr inbounds i8, ptr %1, i64 56
  store i32 %29, ptr %30, align 8, !tbaa !5
  %31 = tail call i32 @hamming74_enc_symbol(i32 noundef 15)
  %32 = getelementptr inbounds i8, ptr %1, i64 60
  store i32 %31, ptr %32, align 4, !tbaa !5
  %33 = alloca [128 x i32], align 16
  br label %34

34:                                               ; preds = %0, %34
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %34 ]
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  %36 = tail call i32 @hamming74_dec_symbol(i32 noundef %35)
  %37 = getelementptr inbounds i32, ptr %33, i64 %indvars.iv
  store i32 %36, ptr %37, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 128
  br i1 %exitcond.not, label %.thread, label %34, !llvm.loop !9

.thread:                                          ; preds = %34
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 16)
  %41 = load i32, ptr %1, align 16, !tbaa !5
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %41)
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %44 = getelementptr inbounds i8, ptr %1, i64 4
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %45)
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %48 = getelementptr inbounds i8, ptr %1, i64 8
  %49 = load i32, ptr %48, align 8, !tbaa !5
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %49)
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %52 = getelementptr inbounds i8, ptr %1, i64 12
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %53)
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %56 = getelementptr inbounds i8, ptr %1, i64 16
  %57 = load i32, ptr %56, align 16, !tbaa !5
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %57)
  %59 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %60 = getelementptr inbounds i8, ptr %1, i64 20
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %61)
  %63 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %64 = getelementptr inbounds i8, ptr %1, i64 24
  %65 = load i32, ptr %64, align 8, !tbaa !5
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %65)
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %68 = getelementptr inbounds i8, ptr %1, i64 28
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %69)
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %72 = getelementptr inbounds i8, ptr %1, i64 32
  %73 = load i32, ptr %72, align 16, !tbaa !5
  %74 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %73)
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %76 = getelementptr inbounds i8, ptr %1, i64 36
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %77)
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %80 = getelementptr inbounds i8, ptr %1, i64 40
  %81 = load i32, ptr %80, align 8, !tbaa !5
  %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %81)
  %83 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %84 = getelementptr inbounds i8, ptr %1, i64 44
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %85)
  %87 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %88 = getelementptr inbounds i8, ptr %1, i64 48
  %89 = load i32, ptr %88, align 16, !tbaa !5
  %90 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %89)
  %91 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %92 = getelementptr inbounds i8, ptr %1, i64 52
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %93)
  %95 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %96 = getelementptr inbounds i8, ptr %1, i64 56
  %97 = load i32, ptr %96, align 8, !tbaa !5
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %97)
  %99 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %100 = getelementptr inbounds i8, ptr %1, i64 60
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %101)
  %103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %104 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef 128)
  br label %106

106:                                              ; preds = %.thread, %112
  %indvars.iv65 = phi i64 [ 0, %.thread ], [ %113, %112 ]
  %107 = getelementptr inbounds i32, ptr %33, i64 %indvars.iv65
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %108)
  %110 = icmp eq i64 %indvars.iv65, 127
  br i1 %110, label %.thread77, label %112

.thread77:                                        ; preds = %106
  %111 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %.preheader.preheader

112:                                              ; preds = %106
  %113 = add nuw nsw i64 %indvars.iv65, 1
  %114 = and i64 %113, 7
  %115 = icmp eq i64 %114, 0
  %.str.5..str.681 = select i1 %115, ptr @.str.5, ptr @.str.6
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.5..str.681)
  %exitcond68.not = icmp eq i64 %113, 128
  br i1 %exitcond68.not, label %.preheader.preheader, label %106, !llvm.loop !11

.preheader.preheader:                             ; preds = %112, %.thread77
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv70 = phi i64 [ %indvars.iv.next71, %.preheader ], [ 0, %.preheader.preheader ]
  %.058 = phi i32 [ %181, %.preheader ], [ 0, %.preheader.preheader ]
  %117 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv70
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds i32, ptr %33, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = zext i32 %121 to i64
  %123 = icmp ne i64 %indvars.iv70, %122
  %124 = zext i1 %123 to i32
  %125 = add i32 %.058, %124
  %126 = xor i32 %118, 1
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds i32, ptr %33, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = icmp ne i64 %indvars.iv70, %130
  %132 = zext i1 %131 to i32
  %133 = add i32 %125, %132
  %134 = xor i32 %118, 2
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds i32, ptr %33, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = icmp ne i64 %indvars.iv70, %138
  %140 = zext i1 %139 to i32
  %141 = add i32 %133, %140
  %142 = xor i32 %118, 4
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds i32, ptr %33, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = zext i32 %145 to i64
  %147 = icmp ne i64 %indvars.iv70, %146
  %148 = zext i1 %147 to i32
  %149 = add i32 %141, %148
  %150 = xor i32 %118, 8
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %33, i64 %151
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %154 = zext i32 %153 to i64
  %155 = icmp ne i64 %indvars.iv70, %154
  %156 = zext i1 %155 to i32
  %157 = add i32 %149, %156
  %158 = xor i32 %118, 16
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds i32, ptr %33, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = zext i32 %161 to i64
  %163 = icmp ne i64 %indvars.iv70, %162
  %164 = zext i1 %163 to i32
  %165 = add i32 %157, %164
  %166 = xor i32 %118, 32
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds i32, ptr %33, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = icmp ne i64 %indvars.iv70, %170
  %172 = zext i1 %171 to i32
  %173 = add i32 %165, %172
  %174 = xor i32 %118, 64
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds i32, ptr %33, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = zext i32 %177 to i64
  %179 = icmp ne i64 %indvars.iv70, %178
  %180 = zext i1 %179 to i32
  %181 = add i32 %173, %180
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %exitcond73.not = icmp eq i64 %indvars.iv.next71, 16
  br i1 %exitcond73.not, label %182, label %.preheader, !llvm.loop !12

182:                                              ; preds = %.preheader
  %183 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %184 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %181)
  ret i32 0
}

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

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

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

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

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


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