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

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

@hamming128_P = external dso_local global [4 x i8], align 1
@liquid_c_ones = external constant [256 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

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

; 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
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 33, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = load i8, ptr @hamming128_P, align 1, !tbaa !11
  %28 = zext i8 %27 to i32
  %29 = and i32 %26, %28
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !11
  %33 = zext i8 %32 to i32
  %34 = and i32 %33, 1
  store i32 %34, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = load i8, ptr getelementptr inbounds ([4 x i8], ptr @hamming128_P, i64 0, i64 1), align 1, !tbaa !11
  %37 = zext i8 %36 to i32
  %38 = and i32 %35, %37
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !11
  %42 = zext i8 %41 to i32
  %43 = and i32 %42, 1
  store i32 %43, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = load i8, ptr getelementptr inbounds ([4 x i8], ptr @hamming128_P, i64 0, i64 2), align 1, !tbaa !11
  %46 = zext i8 %45 to i32
  %47 = and i32 %44, %46
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %48
  %50 = load i8, ptr %49, align 1, !tbaa !11
  %51 = zext i8 %50 to i32
  %52 = and i32 %51, 1
  store i32 %52, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = load i8, ptr getelementptr inbounds ([4 x i8], ptr @hamming128_P, i64 0, i64 3), align 1, !tbaa !11
  %55 = zext i8 %54 to i32
  %56 = and i32 %53, %55
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %57
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = zext i8 %59 to i32
  %61 = and i32 %60, 1
  store i32 %61, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %62 = load i32, ptr %12, align 4, !tbaa !5
  %63 = shl i32 %62, 3
  %64 = load i32, ptr %13, align 4, !tbaa !5
  %65 = shl i32 %64, 2
  %66 = or i32 %63, %65
  %67 = load i32, ptr %14, align 4, !tbaa !5
  %68 = shl i32 %67, 1
  %69 = or i32 %66, %68
  %70 = load i32, ptr %15, align 4, !tbaa !5
  %71 = shl i32 %70, 0
  %72 = or i32 %69, %71
  store i32 %72, ptr %16, align 4, !tbaa !5
  %73 = load i32, ptr %16, align 4, !tbaa !5
  %74 = shl i32 %73, 8
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = or i32 %74, %75
  store i32 %76, ptr %7, align 4, !tbaa !5
  %77 = load i32, ptr %7, align 4, !tbaa !5
  %78 = load i32, ptr %8, align 4, !tbaa !5
  %79 = xor i32 %77, %78
  store i32 %79, ptr %9, align 4, !tbaa !5
  %80 = load i32, ptr %9, align 4, !tbaa !5
  %81 = and i32 %80, 255
  store i32 %81, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %113, %2
  %83 = load i32, ptr %11, align 4, !tbaa !5
  %84 = icmp ult i32 %83, 4
  br i1 %84, label %85, label %116

85:                                               ; preds = %82
  %86 = load i32, ptr %18, align 4, !tbaa !5
  %87 = shl i32 %86, 1
  store i32 %87, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = sub i32 12, %89
  %91 = sub i32 %90, 1
  %92 = shl i32 1, %91
  %93 = and i32 %88, %92
  %94 = icmp ne i32 %93, 0
  %95 = zext i1 %94 to i64
  %96 = select i1 %94, i32 1, i32 0
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = load i32, ptr %11, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds [4 x i8], ptr @hamming128_P, i64 0, i64 %99
  %101 = load i8, ptr %100, align 1, !tbaa !11
  %102 = zext i8 %101 to i32
  %103 = and i32 %97, %102
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %104
  %106 = load i8, ptr %105, align 1, !tbaa !11
  %107 = zext i8 %106 to i32
  %108 = add nsw i32 %96, %107
  store i32 %108, ptr %19, align 4, !tbaa !5
  %109 = load i32, ptr %19, align 4, !tbaa !5
  %110 = and i32 %109, 1
  %111 = load i32, ptr %18, align 4, !tbaa !5
  %112 = or i32 %111, %110
  store i32 %112, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %113

113:                                              ; preds = %85
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = add i32 %114, 1
  store i32 %115, ptr %11, align 4, !tbaa !5
  br label %82, !llvm.loop !12

116:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %117 = load i32, ptr %18, align 4, !tbaa !5
  %118 = call i32 @liquid_count_ones(i32 noundef %117)
  store i32 %118, ptr %20, align 4, !tbaa !5
  %119 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %120 = load i32, ptr %18, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %120, i32 noundef 4)
  %121 = load i32, ptr %20, align 4, !tbaa !5
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %121)
  %123 = load i32, ptr %20, align 4, !tbaa !5
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %127

125:                                              ; preds = %116
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %199

127:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %187, %127
  %129 = load i32, ptr %23, align 4, !tbaa !5
  %130 = icmp ult i32 %129, 12
  br i1 %130, label %131, label %190

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  store i32 0, ptr %24, align 4, !tbaa !5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %163, %131
  %133 = load i32, ptr %11, align 4, !tbaa !5
  %134 = icmp ult i32 %133, 4
  br i1 %134, label %135, label %166

135:                                              ; preds = %132
  %136 = load i32, ptr %24, align 4, !tbaa !5
  %137 = shl i32 %136, 1
  store i32 %137, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %138 = load i32, ptr %21, align 4, !tbaa !5
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = sub i32 12, %139
  %141 = sub i32 %140, 1
  %142 = shl i32 1, %141
  %143 = and i32 %138, %142
  %144 = icmp ne i32 %143, 0
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 1, i32 0
  %147 = load i32, ptr %21, align 4, !tbaa !5
  %148 = load i32, ptr %11, align 4, !tbaa !5
  %149 = zext i32 %148 to i64
  %150 = getelementptr inbounds [4 x i8], ptr @hamming128_P, i64 0, i64 %149
  %151 = load i8, ptr %150, align 1, !tbaa !11
  %152 = zext i8 %151 to i32
  %153 = and i32 %147, %152
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %154
  %156 = load i8, ptr %155, align 1, !tbaa !11
  %157 = zext i8 %156 to i32
  %158 = add nsw i32 %146, %157
  store i32 %158, ptr %25, align 4, !tbaa !5
  %159 = load i32, ptr %25, align 4, !tbaa !5
  %160 = and i32 %159, 1
  %161 = load i32, ptr %24, align 4, !tbaa !5
  %162 = or i32 %161, %160
  store i32 %162, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  br label %163

163:                                              ; preds = %135
  %164 = load i32, ptr %11, align 4, !tbaa !5
  %165 = add i32 %164, 1
  store i32 %165, ptr %11, align 4, !tbaa !5
  br label %132, !llvm.loop !14

166:                                              ; preds = %132
  %167 = load i32, ptr %23, align 4, !tbaa !5
  %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %167)
  %169 = load i32, ptr %21, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %169, i32 noundef 12)
  %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %171 = load i32, ptr %24, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %171, i32 noundef 4)
  %172 = load i32, ptr %18, align 4, !tbaa !5
  %173 = load i32, ptr %24, align 4, !tbaa !5
  %174 = icmp eq i32 %172, %173
  br i1 %174, label %175, label %177

175:                                              ; preds = %166
  %176 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %177

177:                                              ; preds = %175, %166
  %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %179 = load i32, ptr %18, align 4, !tbaa !5
  %180 = load i32, ptr %24, align 4, !tbaa !5
  %181 = icmp eq i32 %179, %180
  br i1 %181, label %182, label %184

182:                                              ; preds = %177
  %183 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %183, ptr %17, align 4, !tbaa !5
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %184

184:                                              ; preds = %182, %177
  %185 = load i32, ptr %21, align 4, !tbaa !5
  %186 = shl i32 %185, 1
  store i32 %186, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  br label %187

187:                                              ; preds = %184
  %188 = load i32, ptr %23, align 4, !tbaa !5
  %189 = add i32 %188, 1
  store i32 %189, ptr %23, align 4, !tbaa !5
  br label %128, !llvm.loop !15

190:                                              ; preds = %128
  %191 = load i32, ptr %22, align 4, !tbaa !5
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %198

193:                                              ; preds = %190
  %194 = load i32, ptr %9, align 4, !tbaa !5
  %195 = load i32, ptr %17, align 4, !tbaa !5
  %196 = xor i32 %194, %195
  %197 = and i32 %196, 255
  store i32 %197, ptr %10, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %193, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %199

199:                                              ; preds = %198, %125
  %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %201 = load i32, ptr %6, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %201, i32 noundef 8)
  %202 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %204 = load i32, ptr %7, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %204, i32 noundef 12)
  %205 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %207 = load i32, ptr %9, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %207, i32 noundef 12)
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %210 = load i32, ptr %10, align 4, !tbaa !5
  call void @print_bitstring(i32 noundef %210, i32 noundef 8)
  %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %212 = load i32, ptr %6, align 4, !tbaa !5
  %213 = load i32, ptr %10, align 4, !tbaa !5
  %214 = call i32 @count_bit_errors(i32 noundef %212, i32 noundef %213)
  %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %214)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  ret i32 0
}

declare i32 @liquid_count_ones(i32 noundef) #2

declare i32 @count_bit_errors(i32 noundef, i32 noundef) #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 = { "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 }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!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"

@hamming128_P = external dso_local local_unnamed_addr global [4 x i8], align 1
@liquid_c_ones = external local_unnamed_addr constant [256 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = load i8, ptr @hamming128_P, align 1, !tbaa !5
  %4 = and i8 %3, 33
  %5 = zext nneg i8 %4 to i64
  %6 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %5
  %7 = load i8, ptr %6, align 1, !tbaa !5
  %8 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 1), align 1, !tbaa !5
  %9 = and i8 %8, 33
  %10 = zext nneg i8 %9 to i64
  %11 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %10
  %12 = load i8, ptr %11, align 1, !tbaa !5
  %13 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 2), align 1, !tbaa !5
  %14 = and i8 %13, 33
  %15 = zext nneg 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 !5
  %18 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 3), align 1, !tbaa !5
  %19 = and i8 %18, 33
  %20 = zext nneg i8 %19 to i64
  %21 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %20
  %22 = load i8, ptr %21, align 1, !tbaa !5
  %23 = and i8 %22, 1
  %24 = shl i8 %7, 3
  %25 = and i8 %24, 8
  %26 = shl i8 %12, 2
  %27 = and i8 %26, 4
  %28 = or disjoint i8 %27, %25
  %29 = shl i8 %17, 1
  %30 = and i8 %29, 2
  %31 = or disjoint i8 %28, %30
  %32 = or disjoint i8 %31, %23
  %33 = zext nneg i8 %32 to i32
  %34 = lshr i32 %33, 3
  %35 = and i8 %3, 32
  %36 = zext nneg i8 %35 to i64
  %37 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %36
  %38 = load i8, ptr %37, align 16, !tbaa !5
  %39 = zext i8 %38 to i32
  %40 = add nuw nsw i32 %34, %39
  %41 = shl nuw nsw i32 %40, 1
  %42 = and i32 %41, 2
  %43 = lshr i32 %33, 2
  %44 = and i8 %8, 32
  %45 = zext nneg i8 %44 to i64
  %46 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %45
  %47 = load i8, ptr %46, align 16, !tbaa !5
  %48 = zext i8 %47 to i32
  %49 = add nuw nsw i32 %43, %48
  %50 = and i32 %49, 1
  %51 = or disjoint i32 %50, %42
  %52 = and i8 %13, 32
  %53 = zext nneg i8 %52 to i64
  %54 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %53
  %55 = load i8, ptr %54, align 16, !tbaa !5
  %56 = zext i8 %55 to i32
  %57 = shl nuw nsw i32 %51, 2
  %58 = shl nuw nsw i32 %56, 1
  %59 = add nuw nsw i32 %58, %33
  %60 = and i32 %59, 2
  %61 = or disjoint i32 %57, %60
  %62 = and i8 %18, 32
  %63 = zext nneg i8 %62 to i64
  %64 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %63
  %65 = load i8, ptr %64, align 16, !tbaa !5
  %66 = zext i8 %65 to i32
  %67 = add nuw nsw i32 %33, %66
  %68 = and i32 %67, 1
  %69 = or disjoint i32 %68, %61
  %70 = tail call i32 @liquid_count_ones(i32 noundef %69) #3
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  tail call void @print_bitstring(i32 noundef %69, i32 noundef 4)
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %70)
  %73 = icmp eq i32 %70, 0
  br i1 %73, label %74, label %.preheader

74:                                               ; preds = %2
  %75 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %134

.preheader:                                       ; preds = %2, %127
  %.05676 = phi i32 [ %130, %127 ], [ 0, %2 ]
  %.05775 = phi i32 [ %spec.select67, %127 ], [ 0, %2 ]
  %.05974 = phi i32 [ %129, %127 ], [ 1, %2 ]
  %.06273 = phi i32 [ %spec.select, %127 ], [ 0, %2 ]
  %76 = lshr i32 %.05974, 11
  %77 = load i8, ptr @hamming128_P, align 1, !tbaa !5
  %78 = zext i8 %77 to i32
  %79 = and i32 %.05974, %78
  %80 = zext nneg i32 %79 to i64
  %81 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !5
  %83 = zext i8 %82 to i32
  %84 = add nuw nsw i32 %76, %83
  %85 = shl nuw nsw i32 %84, 1
  %86 = and i32 %85, 2
  %87 = lshr i32 %.05974, 10
  %88 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 1), align 1, !tbaa !5
  %89 = zext i8 %88 to i32
  %90 = and i32 %.05974, %89
  %91 = zext nneg i32 %90 to i64
  %92 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !5
  %94 = zext i8 %93 to i32
  %95 = add nuw nsw i32 %87, %94
  %96 = and i32 %95, 1
  %97 = or disjoint i32 %96, %86
  %98 = lshr i32 %.05974, 9
  %99 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 2), align 1, !tbaa !5
  %100 = zext i8 %99 to i32
  %101 = and i32 %.05974, %100
  %102 = zext nneg i32 %101 to i64
  %103 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !5
  %105 = zext i8 %104 to i32
  %106 = add nuw nsw i32 %98, %105
  %107 = shl nuw nsw i32 %97, 2
  %108 = shl nuw nsw i32 %106, 1
  %109 = and i32 %108, 2
  %110 = or disjoint i32 %107, %109
  %111 = lshr i32 %.05974, 8
  %112 = load i8, ptr getelementptr inbounds (i8, ptr @hamming128_P, i64 3), align 1, !tbaa !5
  %113 = zext i8 %112 to i32
  %114 = and i32 %.05974, %113
  %115 = zext nneg i32 %114 to i64
  %116 = getelementptr inbounds [256 x i8], ptr @liquid_c_ones, i64 0, i64 %115
  %117 = load i8, ptr %116, align 1, !tbaa !5
  %118 = zext i8 %117 to i32
  %119 = add nuw nsw i32 %111, %118
  %120 = and i32 %119, 1
  %121 = or disjoint i32 %120, %110
  %122 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %.05676)
  tail call void @print_bitstring(i32 noundef %.05974, i32 noundef 12)
  %123 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  tail call void @print_bitstring(i32 noundef %121, i32 noundef 4)
  %124 = icmp eq i32 %69, %121
  br i1 %124, label %125, label %127

125:                                              ; preds = %.preheader
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %127

127:                                              ; preds = %125, %.preheader
  %spec.select67 = phi i32 [ 1, %125 ], [ %.05775, %.preheader ]
  %spec.select = phi i32 [ %.05974, %125 ], [ %.06273, %.preheader ]
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %129 = shl i32 %.05974, 1
  %130 = add nuw nsw i32 %.05676, 1
  %exitcond.not = icmp eq i32 %130, 12
  br i1 %exitcond.not, label %131, label %.preheader, !llvm.loop !8

131:                                              ; preds = %127
  %.not = icmp eq i32 %spec.select67, 0
  %132 = and i32 %spec.select, 255
  %133 = xor i32 %132, 32
  %.0 = select i1 %.not, i32 32, i32 %133
  br label %134

134:                                              ; preds = %131, %74
  %.1 = phi i32 [ 32, %74 ], [ %.0, %131 ]
  %135 = shl nuw nsw i32 %33, 8
  %136 = or disjoint i32 %135, 33
  %137 = and i32 %136, 32544
  %138 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  tail call void @print_bitstring(i32 noundef 33, i32 noundef 8)
  %139 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %140 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  tail call void @print_bitstring(i32 noundef %136, i32 noundef 12)
  %141 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %142 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  tail call void @print_bitstring(i32 noundef %137, i32 noundef 12)
  %143 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %144 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  tail call void @print_bitstring(i32 noundef %.1, i32 noundef 8)
  %145 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %146 = tail call i32 @count_bit_errors(i32 noundef 33, i32 noundef %.1) #3
  %147 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %146)
  ret i32 0
}

declare i32 @liquid_count_ones(i32 noundef) local_unnamed_addr #2

declare i32 @count_bit_errors(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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 }

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


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