; LLVM IR from jgaeddert/liquid-dsp :: sandbox (fec_golay2412_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"

@P = external dso_local global [144 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@G = external dso_local global [288 x i8], align 16
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@H = external dso_local global [288 x i8], align 16
@__const.main.err = external hidden unnamed_addr constant <{ [16 x i8], [8 x i8] }>, align 16
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

; 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 void @matrix2_print(ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @matrix2_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca [24 x i8], align 16
  %8 = alloca [12 x i8], align 1
  %9 = alloca [24 x i8], align 16
  %10 = alloca [24 x i8], align 16
  %11 = alloca [24 x i8], align 16
  %12 = alloca [12 x i8], align 1
  %13 = alloca [24 x i8], align 16
  %14 = alloca [24 x i8], align 16
  %15 = alloca [24 x i8], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [12 x i8], align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca [12 x i8], align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca [12 x i8], align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = 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 @golay_init_G()
  call void @golay_init_H()
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  call void @matrix2_print(ptr noundef @P, i32 noundef 12, i32 noundef 12)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @matrix2_print(ptr noundef @G, i32 noundef 12, i32 noundef 24)
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  call void @matrix2_print(ptr noundef @H, i32 noundef 12, i32 noundef 24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.err, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %45, %2
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = icmp ult i32 %36, 12
  br i1 %37, label %38, label %48

38:                                               ; preds = %35
  %39 = call i32 @rand() #5
  %40 = srem i32 %39, 2
  %41 = trunc i32 %40 to i8
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 %43
  store i8 %41, ptr %44, align 1, !tbaa !11
  br label %45

45:                                               ; preds = %38
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = add i32 %46, 1
  store i32 %47, ptr %6, align 4, !tbaa !5
  br label %35, !llvm.loop !12

48:                                               ; preds = %35
  %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %50 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0
  call void @matrix2_print(ptr noundef %50, i32 noundef 1, i32 noundef 12)
  %51 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0
  %52 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
  call void @matrix2_mul(ptr noundef %51, i32 noundef 1, i32 noundef 12, ptr noundef @G, i32 noundef 12, i32 noundef 24, ptr noundef %52, i32 noundef 1, i32 noundef 24)
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  %54 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
  call void @matrix2_print(ptr noundef %54, i32 noundef 1, i32 noundef 24)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %66, %48
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = icmp ult i32 %56, 24
  br i1 %57, label %58, label %69

58:                                               ; preds = %55
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds [24 x i8], ptr %7, i64 0, i64 %60
  %62 = load i8, ptr %61, align 1, !tbaa !11
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 %64
  store i8 %62, ptr %65, align 1, !tbaa !11
  br label %66

66:                                               ; preds = %58
  %67 = load i32, ptr %6, align 4, !tbaa !5
  %68 = add i32 %67, 1
  store i32 %68, ptr %6, align 4, !tbaa !5
  br label %55, !llvm.loop !14

69:                                               ; preds = %55
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  %71 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 0
  call void @matrix2_print(ptr noundef %71, i32 noundef 1, i32 noundef 24)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %92, %69
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = icmp ult i32 %73, 24
  br i1 %74, label %75, label %95

75:                                               ; preds = %72
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !11
  %80 = zext i8 %79 to i32
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds [24 x i8], ptr %10, i64 0, i64 %82
  %84 = load i8, ptr %83, align 1, !tbaa !11
  %85 = zext i8 %84 to i32
  %86 = add nsw i32 %80, %85
  %87 = srem i32 %86, 2
  %88 = trunc i32 %87 to i8
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 %90
  store i8 %88, ptr %91, align 1, !tbaa !11
  br label %92

92:                                               ; preds = %75
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = add i32 %93, 1
  store i32 %94, ptr %6, align 4, !tbaa !5
  br label %72, !llvm.loop !15

95:                                               ; preds = %72
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %97 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
  call void @matrix2_print(ptr noundef %97, i32 noundef 1, i32 noundef 24)
  %98 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 0
  %99 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
  call void @matrix2_mul(ptr noundef @H, i32 noundef 12, i32 noundef 24, ptr noundef %98, i32 noundef 24, i32 noundef 1, ptr noundef %99, i32 noundef 12, i32 noundef 1)
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %101 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
  call void @matrix2_print(ptr noundef %101, i32 noundef 1, i32 noundef 12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %102 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
  %103 = call i32 @vector_weight(ptr noundef %102, i32 noundef 12)
  store i32 %103, ptr %16, align 4, !tbaa !5
  %104 = load i32, ptr %16, align 4, !tbaa !5
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %104)
  %106 = load i32, ptr %16, align 4, !tbaa !5
  %107 = icmp ule i32 %106, 3
  br i1 %107, label %108, label %133

108:                                              ; preds = %95
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %129, %108
  %111 = load i32, ptr %6, align 4, !tbaa !5
  %112 = icmp ult i32 %111, 24
  br i1 %112, label %113, label %132

113:                                              ; preds = %110
  %114 = load i32, ptr %6, align 4, !tbaa !5
  %115 = icmp ult i32 %114, 12
  br i1 %115, label %116, label %122

116:                                              ; preds = %113
  %117 = load i32, ptr %6, align 4, !tbaa !5
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !11
  %121 = zext i8 %120 to i32
  br label %123

122:                                              ; preds = %113
  br label %123

123:                                              ; preds = %122, %116
  %124 = phi i32 [ %121, %116 ], [ 0, %122 ]
  %125 = trunc i32 %124 to i8
  %126 = load i32, ptr %6, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %127
  store i8 %125, ptr %128, align 1, !tbaa !11
  br label %129

129:                                              ; preds = %123
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = add i32 %130, 1
  store i32 %131, ptr %6, align 4, !tbaa !5
  br label %110, !llvm.loop !16

132:                                              ; preds = %110
  br label %390

133:                                              ; preds = %95
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %183, %133
  %136 = load i32, ptr %17, align 4, !tbaa !5
  %137 = icmp ult i32 %136, 12
  br i1 %137, label %138, label %186

138:                                              ; preds = %135
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %162, %138
  %140 = load i32, ptr %6, align 4, !tbaa !5
  %141 = icmp ult i32 %140, 12
  br i1 %141, label %142, label %165

142:                                              ; preds = %139
  %143 = load i32, ptr %6, align 4, !tbaa !5
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 %144
  %146 = load i8, ptr %145, align 1, !tbaa !11
  %147 = zext i8 %146 to i32
  %148 = load i32, ptr %17, align 4, !tbaa !5
  %149 = mul i32 12, %148
  %150 = load i32, ptr %6, align 4, !tbaa !5
  %151 = add i32 %149, %150
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !11
  %155 = zext i8 %154 to i32
  %156 = add nsw i32 %147, %155
  %157 = srem i32 %156, 2
  %158 = trunc i32 %157 to i8
  %159 = load i32, ptr %6, align 4, !tbaa !5
  %160 = zext i32 %159 to i64
  %161 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 %160
  store i8 %158, ptr %161, align 1, !tbaa !11
  br label %162

162:                                              ; preds = %142
  %163 = load i32, ptr %6, align 4, !tbaa !5
  %164 = add i32 %163, 1
  store i32 %164, ptr %6, align 4, !tbaa !5
  br label %139, !llvm.loop !17

165:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %166 = getelementptr inbounds [12 x i8], ptr %18, i64 0, i64 0
  %167 = call i32 @vector_weight(ptr noundef %166, i32 noundef 12)
  store i32 %167, ptr %21, align 4, !tbaa !5
  %168 = load i32, ptr %17, align 4, !tbaa !5
  %169 = load i32, ptr %21, align 4, !tbaa !5
  %170 = load i32, ptr %21, align 4, !tbaa !5
  %171 = icmp ule i32 %170, 2
  %172 = zext i1 %171 to i64
  %173 = select i1 %171, ptr @.str.19, ptr @.str.20
  %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %168, i32 noundef %169, ptr noundef %173)
  %175 = load i32, ptr %21, align 4, !tbaa !5
  %176 = icmp ule i32 %175, 2
  br i1 %176, label %177, label %179

177:                                              ; preds = %165
  store i32 1, ptr %19, align 4, !tbaa !5
  %178 = load i32, ptr %17, align 4, !tbaa !5
  store i32 %178, ptr %20, align 4, !tbaa !5
  store i32 14, ptr %22, align 4
  br label %180

179:                                              ; preds = %165
  store i32 0, ptr %22, align 4
  br label %180

180:                                              ; preds = %179, %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  %181 = load i32, ptr %22, align 4
  switch i32 %181, label %488 [
    i32 0, label %182
    i32 14, label %186
  ]

182:                                              ; preds = %180
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %17, align 4, !tbaa !5
  %185 = add i32 %184, 1
  store i32 %185, ptr %17, align 4, !tbaa !5
  br label %135, !llvm.loop !18

186:                                              ; preds = %180, %135
  %187 = load i32, ptr %19, align 4, !tbaa !5
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %239

189:                                              ; preds = %186
  %190 = load i32, ptr %20, align 4, !tbaa !5
  %191 = load i32, ptr %20, align 4, !tbaa !5
  %192 = load i32, ptr %20, align 4, !tbaa !5
  %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, i32 noundef %190, i32 noundef %191, i32 noundef %192)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %194

194:                                              ; preds = %217, %189
  %195 = load i32, ptr %6, align 4, !tbaa !5
  %196 = icmp ult i32 %195, 12
  br i1 %196, label %197, label %220

197:                                              ; preds = %194
  %198 = load i32, ptr %6, align 4, !tbaa !5
  %199 = zext i32 %198 to i64
  %200 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 %199
  %201 = load i8, ptr %200, align 1, !tbaa !11
  %202 = zext i8 %201 to i32
  %203 = load i32, ptr %20, align 4, !tbaa !5
  %204 = mul i32 12, %203
  %205 = load i32, ptr %6, align 4, !tbaa !5
  %206 = add i32 %204, %205
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %207
  %209 = load i8, ptr %208, align 1, !tbaa !11
  %210 = zext i8 %209 to i32
  %211 = add nsw i32 %202, %210
  %212 = srem i32 %211, 2
  %213 = trunc i32 %212 to i8
  %214 = load i32, ptr %6, align 4, !tbaa !5
  %215 = zext i32 %214 to i64
  %216 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %215
  store i8 %213, ptr %216, align 1, !tbaa !11
  br label %217

217:                                              ; preds = %197
  %218 = load i32, ptr %6, align 4, !tbaa !5
  %219 = add i32 %218, 1
  store i32 %219, ptr %6, align 4, !tbaa !5
  br label %194, !llvm.loop !19

220:                                              ; preds = %194
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %235, %220
  %222 = load i32, ptr %6, align 4, !tbaa !5
  %223 = icmp ult i32 %222, 12
  br i1 %223, label %224, label %238

224:                                              ; preds = %221
  %225 = load i32, ptr %6, align 4, !tbaa !5
  %226 = load i32, ptr %20, align 4, !tbaa !5
  %227 = icmp eq i32 %225, %226
  %228 = zext i1 %227 to i64
  %229 = select i1 %227, i32 1, i32 0
  %230 = trunc i32 %229 to i8
  %231 = load i32, ptr %6, align 4, !tbaa !5
  %232 = add i32 %231, 12
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %233
  store i8 %230, ptr %234, align 1, !tbaa !11
  br label %235

235:                                              ; preds = %224
  %236 = load i32, ptr %6, align 4, !tbaa !5
  %237 = add i32 %236, 1
  store i32 %237, ptr %6, align 4, !tbaa !5
  br label %221, !llvm.loop !20

238:                                              ; preds = %221
  br label %389

239:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #5
  %240 = getelementptr inbounds [12 x i8], ptr %12, i64 0, i64 0
  %241 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
  call void @matrix2_mul(ptr noundef %240, i32 noundef 1, i32 noundef 12, ptr noundef @P, i32 noundef 12, i32 noundef 12, ptr noundef %241, i32 noundef 1, i32 noundef 12)
  %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.22)
  %243 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
  call void @matrix2_print(ptr noundef %243, i32 noundef 1, i32 noundef 12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %244 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 0
  %245 = call i32 @vector_weight(ptr noundef %244, i32 noundef 12)
  store i32 %245, ptr %24, align 4, !tbaa !5
  %246 = load i32, ptr %24, align 4, !tbaa !5
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %246)
  %248 = load i32, ptr %24, align 4, !tbaa !5
  %249 = icmp eq i32 %248, 2
  br i1 %249, label %253, label %250

250:                                              ; preds = %239
  %251 = load i32, ptr %24, align 4, !tbaa !5
  %252 = icmp eq i32 %251, 3
  br i1 %252, label %253, label %279

253:                                              ; preds = %250, %239
  %254 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %255

255:                                              ; preds = %275, %253
  %256 = load i32, ptr %6, align 4, !tbaa !5
  %257 = icmp ult i32 %256, 24
  br i1 %257, label %258, label %278

258:                                              ; preds = %255
  %259 = load i32, ptr %6, align 4, !tbaa !5
  %260 = icmp ult i32 %259, 12
  br i1 %260, label %261, label %262

261:                                              ; preds = %258
  br label %269

262:                                              ; preds = %258
  %263 = load i32, ptr %6, align 4, !tbaa !5
  %264 = sub i32 %263, 12
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 %265
  %267 = load i8, ptr %266, align 1, !tbaa !11
  %268 = zext i8 %267 to i32
  br label %269

269:                                              ; preds = %262, %261
  %270 = phi i32 [ 0, %261 ], [ %268, %262 ]
  %271 = trunc i32 %270 to i8
  %272 = load i32, ptr %6, align 4, !tbaa !5
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %273
  store i8 %271, ptr %274, align 1, !tbaa !11
  br label %275

275:                                              ; preds = %269
  %276 = load i32, ptr %6, align 4, !tbaa !5
  %277 = add i32 %276, 1
  store i32 %277, ptr %6, align 4, !tbaa !5
  br label %255, !llvm.loop !21

278:                                              ; preds = %255
  br label %388

279:                                              ; preds = %250
  %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !5
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %281

281:                                              ; preds = %329, %279
  %282 = load i32, ptr %25, align 4, !tbaa !5
  %283 = icmp ult i32 %282, 12
  br i1 %283, label %284, label %332

284:                                              ; preds = %281
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %285

285:                                              ; preds = %308, %284
  %286 = load i32, ptr %6, align 4, !tbaa !5
  %287 = icmp ult i32 %286, 12
  br i1 %287, label %288, label %311

288:                                              ; preds = %285
  %289 = load i32, ptr %6, align 4, !tbaa !5
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 %290
  %292 = load i8, ptr %291, align 1, !tbaa !11
  %293 = zext i8 %292 to i32
  %294 = load i32, ptr %25, align 4, !tbaa !5
  %295 = mul i32 12, %294
  %296 = load i32, ptr %6, align 4, !tbaa !5
  %297 = add i32 %295, %296
  %298 = zext i32 %297 to i64
  %299 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %298
  %300 = load i8, ptr %299, align 1, !tbaa !11
  %301 = zext i8 %300 to i32
  %302 = add nsw i32 %293, %301
  %303 = srem i32 %302, 2
  %304 = trunc i32 %303 to i8
  %305 = load i32, ptr %6, align 4, !tbaa !5
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 %306
  store i8 %304, ptr %307, align 1, !tbaa !11
  br label %308

308:                                              ; preds = %288
  %309 = load i32, ptr %6, align 4, !tbaa !5
  %310 = add i32 %309, 1
  store i32 %310, ptr %6, align 4, !tbaa !5
  br label %285, !llvm.loop !22

311:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %312 = getelementptr inbounds [12 x i8], ptr %26, i64 0, i64 0
  %313 = call i32 @vector_weight(ptr noundef %312, i32 noundef 12)
  store i32 %313, ptr %29, align 4, !tbaa !5
  %314 = load i32, ptr %25, align 4, !tbaa !5
  %315 = load i32, ptr %29, align 4, !tbaa !5
  %316 = load i32, ptr %29, align 4, !tbaa !5
  %317 = icmp eq i32 %316, 2
  %318 = zext i1 %317 to i64
  %319 = select i1 %317, ptr @.str.19, ptr @.str.20
  %320 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, i32 noundef %314, i32 noundef %315, ptr noundef %319)
  %321 = load i32, ptr %29, align 4, !tbaa !5
  %322 = icmp eq i32 %321, 2
  br i1 %322, label %323, label %325

323:                                              ; preds = %311
  store i32 1, ptr %27, align 4, !tbaa !5
  %324 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %324, ptr %28, align 4, !tbaa !5
  store i32 29, ptr %22, align 4
  br label %326

325:                                              ; preds = %311
  store i32 0, ptr %22, align 4
  br label %326

326:                                              ; preds = %325, %323
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  %327 = load i32, ptr %22, align 4
  switch i32 %327, label %488 [
    i32 0, label %328
    i32 29, label %332
  ]

328:                                              ; preds = %326
  br label %329

329:                                              ; preds = %328
  %330 = load i32, ptr %25, align 4, !tbaa !5
  %331 = add i32 %330, 1
  store i32 %331, ptr %25, align 4, !tbaa !5
  br label %281, !llvm.loop !23

332:                                              ; preds = %326, %281
  %333 = load i32, ptr %27, align 4, !tbaa !5
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %385

335:                                              ; preds = %332
  %336 = load i32, ptr %28, align 4, !tbaa !5
  %337 = load i32, ptr %28, align 4, !tbaa !5
  %338 = load i32, ptr %28, align 4, !tbaa !5
  %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, i32 noundef %336, i32 noundef %337, i32 noundef %338)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %340

340:                                              ; preds = %353, %335
  %341 = load i32, ptr %6, align 4, !tbaa !5
  %342 = icmp ult i32 %341, 12
  br i1 %342, label %343, label %356

343:                                              ; preds = %340
  %344 = load i32, ptr %6, align 4, !tbaa !5
  %345 = load i32, ptr %28, align 4, !tbaa !5
  %346 = icmp eq i32 %344, %345
  %347 = zext i1 %346 to i64
  %348 = select i1 %346, i32 1, i32 0
  %349 = trunc i32 %348 to i8
  %350 = load i32, ptr %6, align 4, !tbaa !5
  %351 = zext i32 %350 to i64
  %352 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %351
  store i8 %349, ptr %352, align 1, !tbaa !11
  br label %353

353:                                              ; preds = %343
  %354 = load i32, ptr %6, align 4, !tbaa !5
  %355 = add i32 %354, 1
  store i32 %355, ptr %6, align 4, !tbaa !5
  br label %340, !llvm.loop !24

356:                                              ; preds = %340
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %357

357:                                              ; preds = %381, %356
  %358 = load i32, ptr %6, align 4, !tbaa !5
  %359 = icmp ult i32 %358, 12
  br i1 %359, label %360, label %384

360:                                              ; preds = %357
  %361 = load i32, ptr %6, align 4, !tbaa !5
  %362 = zext i32 %361 to i64
  %363 = getelementptr inbounds [12 x i8], ptr %23, i64 0, i64 %362
  %364 = load i8, ptr %363, align 1, !tbaa !11
  %365 = zext i8 %364 to i32
  %366 = load i32, ptr %28, align 4, !tbaa !5
  %367 = mul i32 12, %366
  %368 = load i32, ptr %6, align 4, !tbaa !5
  %369 = add i32 %367, %368
  %370 = zext i32 %369 to i64
  %371 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %370
  %372 = load i8, ptr %371, align 1, !tbaa !11
  %373 = zext i8 %372 to i32
  %374 = add nsw i32 %365, %373
  %375 = srem i32 %374, 2
  %376 = trunc i32 %375 to i8
  %377 = load i32, ptr %6, align 4, !tbaa !5
  %378 = add i32 %377, 12
  %379 = zext i32 %378 to i64
  %380 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %379
  store i8 %376, ptr %380, align 1, !tbaa !11
  br label %381

381:                                              ; preds = %360
  %382 = load i32, ptr %6, align 4, !tbaa !5
  %383 = add i32 %382, 1
  store i32 %383, ptr %6, align 4, !tbaa !5
  br label %357, !llvm.loop !25

384:                                              ; preds = %357
  br label %387

385:                                              ; preds = %332
  %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  br label %387

387:                                              ; preds = %385, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %388

388:                                              ; preds = %387, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #5
  br label %389

389:                                              ; preds = %388, %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %390

390:                                              ; preds = %389, %132
  %391 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  %392 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 0
  call void @matrix2_print(ptr noundef %392, i32 noundef 1, i32 noundef 24)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %393

393:                                              ; preds = %413, %390
  %394 = load i32, ptr %6, align 4, !tbaa !5
  %395 = icmp ult i32 %394, 24
  br i1 %395, label %396, label %416

396:                                              ; preds = %393
  %397 = load i32, ptr %6, align 4, !tbaa !5
  %398 = zext i32 %397 to i64
  %399 = getelementptr inbounds [24 x i8], ptr %11, i64 0, i64 %398
  %400 = load i8, ptr %399, align 1, !tbaa !11
  %401 = zext i8 %400 to i32
  %402 = load i32, ptr %6, align 4, !tbaa !5
  %403 = zext i32 %402 to i64
  %404 = getelementptr inbounds [24 x i8], ptr %13, i64 0, i64 %403
  %405 = load i8, ptr %404, align 1, !tbaa !11
  %406 = zext i8 %405 to i32
  %407 = add nsw i32 %401, %406
  %408 = srem i32 %407, 2
  %409 = trunc i32 %408 to i8
  %410 = load i32, ptr %6, align 4, !tbaa !5
  %411 = zext i32 %410 to i64
  %412 = getelementptr inbounds [24 x i8], ptr %14, i64 0, i64 %411
  store i8 %409, ptr %412, align 1, !tbaa !11
  br label %413

413:                                              ; preds = %396
  %414 = load i32, ptr %6, align 4, !tbaa !5
  %415 = add i32 %414, 1
  store i32 %415, ptr %6, align 4, !tbaa !5
  br label %393, !llvm.loop !26

416:                                              ; preds = %393
  %417 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
  %418 = getelementptr inbounds [24 x i8], ptr %14, i64 0, i64 0
  call void @matrix2_print(ptr noundef %418, i32 noundef 1, i32 noundef 24)
  %419 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 0
  call void @matrix2_print(ptr noundef %419, i32 noundef 1, i32 noundef 24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %420

420:                                              ; preds = %439, %416
  %421 = load i32, ptr %6, align 4, !tbaa !5
  %422 = icmp ult i32 %421, 24
  br i1 %422, label %423, label %442

423:                                              ; preds = %420
  %424 = load i32, ptr %6, align 4, !tbaa !5
  %425 = zext i32 %424 to i64
  %426 = getelementptr inbounds [24 x i8], ptr %9, i64 0, i64 %425
  %427 = load i8, ptr %426, align 1, !tbaa !11
  %428 = zext i8 %427 to i32
  %429 = load i32, ptr %6, align 4, !tbaa !5
  %430 = zext i32 %429 to i64
  %431 = getelementptr inbounds [24 x i8], ptr %14, i64 0, i64 %430
  %432 = load i8, ptr %431, align 1, !tbaa !11
  %433 = zext i8 %432 to i32
  %434 = icmp eq i32 %428, %433
  %435 = zext i1 %434 to i64
  %436 = select i1 %434, i32 0, i32 1
  %437 = load i32, ptr %30, align 4, !tbaa !5
  %438 = add i32 %437, %436
  store i32 %438, ptr %30, align 4, !tbaa !5
  br label %439

439:                                              ; preds = %423
  %440 = load i32, ptr %6, align 4, !tbaa !5
  %441 = add i32 %440, 1
  store i32 %441, ptr %6, align 4, !tbaa !5
  br label %420, !llvm.loop !27

442:                                              ; preds = %420
  %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %444 = load i32, ptr %30, align 4, !tbaa !5
  %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, i32 noundef %444)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %446

446:                                              ; preds = %458, %442
  %447 = load i32, ptr %6, align 4, !tbaa !5
  %448 = icmp ult i32 %447, 12
  br i1 %448, label %449, label %461

449:                                              ; preds = %446
  %450 = load i32, ptr %6, align 4, !tbaa !5
  %451 = add i32 %450, 12
  %452 = zext i32 %451 to i64
  %453 = getelementptr inbounds [24 x i8], ptr %14, i64 0, i64 %452
  %454 = load i8, ptr %453, align 1, !tbaa !11
  %455 = load i32, ptr %6, align 4, !tbaa !5
  %456 = zext i32 %455 to i64
  %457 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 %456
  store i8 %454, ptr %457, align 1, !tbaa !11
  br label %458

458:                                              ; preds = %449
  %459 = load i32, ptr %6, align 4, !tbaa !5
  %460 = add i32 %459, 1
  store i32 %460, ptr %6, align 4, !tbaa !5
  br label %446, !llvm.loop !28

461:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %462

462:                                              ; preds = %481, %461
  %463 = load i32, ptr %6, align 4, !tbaa !5
  %464 = icmp ult i32 %463, 12
  br i1 %464, label %465, label %484

465:                                              ; preds = %462
  %466 = load i32, ptr %6, align 4, !tbaa !5
  %467 = zext i32 %466 to i64
  %468 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 %467
  %469 = load i8, ptr %468, align 1, !tbaa !11
  %470 = zext i8 %469 to i32
  %471 = load i32, ptr %6, align 4, !tbaa !5
  %472 = zext i32 %471 to i64
  %473 = getelementptr inbounds [24 x i8], ptr %15, i64 0, i64 %472
  %474 = load i8, ptr %473, align 1, !tbaa !11
  %475 = zext i8 %474 to i32
  %476 = icmp eq i32 %470, %475
  %477 = zext i1 %476 to i64
  %478 = select i1 %476, i32 0, i32 1
  %479 = load i32, ptr %31, align 4, !tbaa !5
  %480 = add i32 %479, %478
  store i32 %480, ptr %31, align 4, !tbaa !5
  br label %481

481:                                              ; preds = %465
  %482 = load i32, ptr %6, align 4, !tbaa !5
  %483 = add i32 %482, 1
  store i32 %483, ptr %6, align 4, !tbaa !5
  br label %462, !llvm.loop !29

484:                                              ; preds = %462
  %485 = load i32, ptr %31, align 4, !tbaa !5
  %486 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, i32 noundef %485)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %487 = load i32, ptr %3, align 4
  ret i32 %487

488:                                              ; preds = %326, %180
  unreachable
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @golay_init_G() #2

; Function Attrs: nounwind uwtable
declare dso_local void @golay_init_H() #2

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

!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}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = distinct !{!26, !13}
!27 = distinct !{!27, !13}
!28 = distinct !{!28, !13}
!29 = distinct !{!29, !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"

@P = external dso_local global [144 x i8], align 16
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@G = external dso_local global [288 x i8], align 16
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@H = external dso_local global [288 x i8], align 16
@__const.main.err = external hidden unnamed_addr constant <{ [16 x i8], [8 x i8] }>, align 16
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [39 x i8], align 1

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

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

; Function Attrs: mustprogress 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 void @matrix2_print(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @matrix2_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #2 {
  %3 = alloca [12 x i8], align 8
  %4 = alloca [24 x i8], align 16
  %5 = alloca [24 x i8], align 16
  %6 = alloca [24 x i8], align 16
  %7 = alloca [12 x i8], align 8
  %8 = alloca [24 x i8], align 16
  %9 = alloca [24 x i8], align 16
  %10 = alloca [12 x i8], align 8
  %11 = alloca [12 x i8], align 8
  %12 = alloca [12 x i8], align 8
  tail call void @golay_init_G()
  tail call void @golay_init_H()
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  tail call void @matrix2_print(ptr noundef nonnull @P, i32 noundef 12, i32 noundef 12)
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  tail call void @matrix2_print(ptr noundef nonnull @G, i32 noundef 12, i32 noundef 24)
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  tail call void @matrix2_print(ptr noundef nonnull @H, i32 noundef 12, i32 noundef 24)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  %16 = tail call i32 @rand() #7
  %17 = tail call i32 @rand() #7
  %18 = tail call i32 @rand() #7
  %19 = tail call i32 @rand() #7
  %20 = tail call i32 @rand() #7
  %21 = tail call i32 @rand() #7
  %22 = tail call i32 @rand() #7
  %23 = tail call i32 @rand() #7
  %24 = insertelement <8 x i32> poison, i32 %16, i64 0
  %25 = insertelement <8 x i32> %24, i32 %17, i64 1
  %26 = insertelement <8 x i32> %25, i32 %18, i64 2
  %27 = insertelement <8 x i32> %26, i32 %19, i64 3
  %28 = insertelement <8 x i32> %27, i32 %20, i64 4
  %29 = insertelement <8 x i32> %28, i32 %21, i64 5
  %30 = insertelement <8 x i32> %29, i32 %22, i64 6
  %31 = insertelement <8 x i32> %30, i32 %23, i64 7
  %32 = srem <8 x i32> %31, <i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2, i32 2>
  %33 = trunc nsw <8 x i32> %32 to <8 x i8>
  store <8 x i8> %33, ptr %3, align 8, !tbaa !5
  %34 = tail call i32 @rand() #7
  %35 = getelementptr inbounds i8, ptr %3, i64 8
  %36 = tail call i32 @rand() #7
  %37 = tail call i32 @rand() #7
  %38 = tail call i32 @rand() #7
  %39 = insertelement <4 x i32> poison, i32 %34, i64 0
  %40 = insertelement <4 x i32> %39, i32 %36, i64 1
  %41 = insertelement <4 x i32> %40, i32 %37, i64 2
  %42 = insertelement <4 x i32> %41, i32 %38, i64 3
  %43 = srem <4 x i32> %42, <i32 2, i32 2, i32 2, i32 2>
  %44 = trunc nsw <4 x i32> %43 to <4 x i8>
  store <4 x i8> %44, ptr %35, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  call void @matrix2_print(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 12)
  call void @matrix2_mul(ptr noundef nonnull %3, i32 noundef 1, i32 noundef 12, ptr noundef nonnull @G, i32 noundef 12, i32 noundef 24, ptr noundef nonnull %4, i32 noundef 1, i32 noundef 24)
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  call void @matrix2_print(ptr noundef nonnull %4, i32 noundef 1, i32 noundef 24)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %5, ptr noundef nonnull align 16 dereferenceable(24) @__const.main.err, i64 24, i1 false), !tbaa !5
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  call void @matrix2_print(ptr noundef nonnull %5, i32 noundef 1, i32 noundef 24)
  %48 = load <16 x i8>, ptr %4, align 16, !tbaa !5
  %49 = load <16 x i8>, ptr %5, align 16, !tbaa !5
  %50 = add <16 x i8> %49, %48
  %51 = and <16 x i8> %50, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <16 x i8> %51, ptr %6, align 16, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %4, i64 16
  %53 = getelementptr inbounds i8, ptr %5, i64 16
  %54 = getelementptr inbounds i8, ptr %6, i64 16
  %55 = load <8 x i8>, ptr %52, align 16, !tbaa !5
  %56 = load <8 x i8>, ptr %53, align 16, !tbaa !5
  %57 = add <8 x i8> %56, %55
  %58 = and <8 x i8> %57, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %58, ptr %54, align 16, !tbaa !5
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  call void @matrix2_print(ptr noundef nonnull %6, i32 noundef 1, i32 noundef 24)
  call void @matrix2_mul(ptr noundef nonnull @H, i32 noundef 12, i32 noundef 24, ptr noundef nonnull %6, i32 noundef 24, i32 noundef 1, ptr noundef nonnull %7, i32 noundef 12, i32 noundef 1)
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  call void @matrix2_print(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 12)
  %61 = call i32 @vector_weight(ptr noundef nonnull %7, i32 noundef 12)
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %61)
  %63 = icmp ult i32 %61, 4
  br i1 %63, label %.loopexit.loopexit, label %.preheader134

.loopexit.loopexit:                               ; preds = %2
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %65 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  store <8 x i8> %65, ptr %8, align 16, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %7, i64 8
  %67 = getelementptr inbounds i8, ptr %8, i64 8
  %68 = load <4 x i8>, ptr %66, align 8, !tbaa !5
  store <4 x i8> %68, ptr %67, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %8, i64 12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %69, i8 0, i64 12, i1 false)
  br label %.loopexit

.preheader134:                                    ; preds = %2
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  %71 = getelementptr inbounds i8, ptr %7, i64 8
  %72 = getelementptr inbounds i8, ptr %10, i64 8
  %73 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %74 = load <8 x i8>, ptr @P, align 16, !tbaa !5
  %75 = add <8 x i8> %74, %73
  %76 = and <8 x i8> %75, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %76, ptr %10, align 8, !tbaa !5
  %77 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %78 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 8), align 8, !tbaa !5
  %79 = add <4 x i8> %78, %77
  %80 = and <4 x i8> %79, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %80, ptr %72, align 8, !tbaa !5
  %81 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %82 = icmp ult i32 %81, 3
  %83 = select i1 %82, ptr @.str.19, ptr @.str.20
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 0, i32 noundef %81, ptr noundef nonnull %83)
  br i1 %82, label %217, label %.preheader134.1

.preheader134.1:                                  ; preds = %.preheader134
  %85 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %86 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 12), align 4, !tbaa !5
  %87 = add <8 x i8> %86, %85
  %88 = and <8 x i8> %87, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %88, ptr %10, align 8, !tbaa !5
  %89 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %90 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 20), align 4, !tbaa !5
  %91 = add <4 x i8> %90, %89
  %92 = and <4 x i8> %91, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %92, ptr %72, align 8, !tbaa !5
  %93 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %94 = icmp ult i32 %93, 3
  %95 = select i1 %94, ptr @.str.19, ptr @.str.20
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 1, i32 noundef %93, ptr noundef nonnull %95)
  br i1 %94, label %217, label %.preheader134.2

.preheader134.2:                                  ; preds = %.preheader134.1
  %97 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %98 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 24), align 8, !tbaa !5
  %99 = add <8 x i8> %98, %97
  %100 = and <8 x i8> %99, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %100, ptr %10, align 8, !tbaa !5
  %101 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %102 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 32), align 16, !tbaa !5
  %103 = add <4 x i8> %102, %101
  %104 = and <4 x i8> %103, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %104, ptr %72, align 8, !tbaa !5
  %105 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %106 = icmp ult i32 %105, 3
  %107 = select i1 %106, ptr @.str.19, ptr @.str.20
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 2, i32 noundef %105, ptr noundef nonnull %107)
  br i1 %106, label %217, label %.preheader134.3

.preheader134.3:                                  ; preds = %.preheader134.2
  %109 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %110 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 36), align 4, !tbaa !5
  %111 = add <8 x i8> %110, %109
  %112 = and <8 x i8> %111, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %112, ptr %10, align 8, !tbaa !5
  %113 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %114 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 44), align 4, !tbaa !5
  %115 = add <4 x i8> %114, %113
  %116 = and <4 x i8> %115, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %116, ptr %72, align 8, !tbaa !5
  %117 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %118 = icmp ult i32 %117, 3
  %119 = select i1 %118, ptr @.str.19, ptr @.str.20
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 3, i32 noundef %117, ptr noundef nonnull %119)
  br i1 %118, label %217, label %.preheader134.4

.preheader134.4:                                  ; preds = %.preheader134.3
  %121 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %122 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 48), align 16, !tbaa !5
  %123 = add <8 x i8> %122, %121
  %124 = and <8 x i8> %123, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %124, ptr %10, align 8, !tbaa !5
  %125 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %126 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 56), align 8, !tbaa !5
  %127 = add <4 x i8> %126, %125
  %128 = and <4 x i8> %127, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %128, ptr %72, align 8, !tbaa !5
  %129 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %130 = icmp ult i32 %129, 3
  %131 = select i1 %130, ptr @.str.19, ptr @.str.20
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 4, i32 noundef %129, ptr noundef nonnull %131)
  br i1 %130, label %217, label %.preheader134.5

.preheader134.5:                                  ; preds = %.preheader134.4
  %133 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %134 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 60), align 4, !tbaa !5
  %135 = add <8 x i8> %134, %133
  %136 = and <8 x i8> %135, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %136, ptr %10, align 8, !tbaa !5
  %137 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %138 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 68), align 4, !tbaa !5
  %139 = add <4 x i8> %138, %137
  %140 = and <4 x i8> %139, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %140, ptr %72, align 8, !tbaa !5
  %141 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %142 = icmp ult i32 %141, 3
  %143 = select i1 %142, ptr @.str.19, ptr @.str.20
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 5, i32 noundef %141, ptr noundef nonnull %143)
  br i1 %142, label %217, label %.preheader134.6

.preheader134.6:                                  ; preds = %.preheader134.5
  %145 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %146 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 72), align 8, !tbaa !5
  %147 = add <8 x i8> %146, %145
  %148 = and <8 x i8> %147, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %148, ptr %10, align 8, !tbaa !5
  %149 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %150 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 80), align 16, !tbaa !5
  %151 = add <4 x i8> %150, %149
  %152 = and <4 x i8> %151, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %152, ptr %72, align 8, !tbaa !5
  %153 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %154 = icmp ult i32 %153, 3
  %155 = select i1 %154, ptr @.str.19, ptr @.str.20
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 6, i32 noundef %153, ptr noundef nonnull %155)
  br i1 %154, label %217, label %.preheader134.7

.preheader134.7:                                  ; preds = %.preheader134.6
  %157 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %158 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 84), align 4, !tbaa !5
  %159 = add <8 x i8> %158, %157
  %160 = and <8 x i8> %159, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %160, ptr %10, align 8, !tbaa !5
  %161 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %162 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 92), align 4, !tbaa !5
  %163 = add <4 x i8> %162, %161
  %164 = and <4 x i8> %163, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %164, ptr %72, align 8, !tbaa !5
  %165 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %166 = icmp ult i32 %165, 3
  %167 = select i1 %166, ptr @.str.19, ptr @.str.20
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 7, i32 noundef %165, ptr noundef nonnull %167)
  br i1 %166, label %217, label %.preheader134.8

.preheader134.8:                                  ; preds = %.preheader134.7
  %169 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %170 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 96), align 16, !tbaa !5
  %171 = add <8 x i8> %170, %169
  %172 = and <8 x i8> %171, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %172, ptr %10, align 8, !tbaa !5
  %173 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %174 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 104), align 8, !tbaa !5
  %175 = add <4 x i8> %174, %173
  %176 = and <4 x i8> %175, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %176, ptr %72, align 8, !tbaa !5
  %177 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %178 = icmp ult i32 %177, 3
  %179 = select i1 %178, ptr @.str.19, ptr @.str.20
  %180 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 8, i32 noundef %177, ptr noundef nonnull %179)
  br i1 %178, label %217, label %.preheader134.9

.preheader134.9:                                  ; preds = %.preheader134.8
  %181 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %182 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 108), align 4, !tbaa !5
  %183 = add <8 x i8> %182, %181
  %184 = and <8 x i8> %183, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %184, ptr %10, align 8, !tbaa !5
  %185 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %186 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 116), align 4, !tbaa !5
  %187 = add <4 x i8> %186, %185
  %188 = and <4 x i8> %187, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %188, ptr %72, align 8, !tbaa !5
  %189 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %190 = icmp ult i32 %189, 3
  %191 = select i1 %190, ptr @.str.19, ptr @.str.20
  %192 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 9, i32 noundef %189, ptr noundef nonnull %191)
  br i1 %190, label %217, label %.preheader134.10

.preheader134.10:                                 ; preds = %.preheader134.9
  %193 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %194 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 120), align 8, !tbaa !5
  %195 = add <8 x i8> %194, %193
  %196 = and <8 x i8> %195, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %196, ptr %10, align 8, !tbaa !5
  %197 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %198 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 128), align 16, !tbaa !5
  %199 = add <4 x i8> %198, %197
  %200 = and <4 x i8> %199, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %200, ptr %72, align 8, !tbaa !5
  %201 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %202 = icmp ult i32 %201, 3
  %203 = select i1 %202, ptr @.str.19, ptr @.str.20
  %204 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 10, i32 noundef %201, ptr noundef nonnull %203)
  br i1 %202, label %217, label %.preheader134.11

.preheader134.11:                                 ; preds = %.preheader134.10
  %205 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %206 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 132), align 4, !tbaa !5
  %207 = add <8 x i8> %206, %205
  %208 = and <8 x i8> %207, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %208, ptr %10, align 8, !tbaa !5
  %209 = load <4 x i8>, ptr %71, align 8, !tbaa !5
  %210 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 140), align 4, !tbaa !5
  %211 = add <4 x i8> %210, %209
  %212 = and <4 x i8> %211, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %212, ptr %72, align 8, !tbaa !5
  %213 = call i32 @vector_weight(ptr noundef nonnull %10, i32 noundef 12)
  %214 = icmp ult i32 %213, 3
  %215 = select i1 %214, ptr @.str.19, ptr @.str.20
  %216 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, i32 noundef 11, i32 noundef %213, ptr noundef nonnull %215)
  %spec.select = select i1 %214, i1 false, i1 true
  %spec.select252 = select i1 %214, i32 11, i32 0
  br label %217

217:                                              ; preds = %.preheader134.11, %.preheader134.10, %.preheader134.9, %.preheader134.8, %.preheader134.7, %.preheader134.6, %.preheader134.5, %.preheader134.4, %.preheader134.3, %.preheader134.2, %.preheader134.1, %.preheader134
  %.lcssa135 = phi i1 [ false, %.preheader134 ], [ false, %.preheader134.1 ], [ false, %.preheader134.2 ], [ false, %.preheader134.3 ], [ false, %.preheader134.4 ], [ false, %.preheader134.5 ], [ false, %.preheader134.6 ], [ false, %.preheader134.7 ], [ false, %.preheader134.8 ], [ false, %.preheader134.9 ], [ false, %.preheader134.10 ], [ %spec.select, %.preheader134.11 ]
  %.2122 = phi i32 [ 0, %.preheader134 ], [ 1, %.preheader134.1 ], [ 2, %.preheader134.2 ], [ 3, %.preheader134.3 ], [ 4, %.preheader134.4 ], [ 5, %.preheader134.5 ], [ 6, %.preheader134.6 ], [ 7, %.preheader134.7 ], [ 8, %.preheader134.8 ], [ 9, %.preheader134.9 ], [ 10, %.preheader134.10 ], [ %spec.select252, %.preheader134.11 ]
  br i1 %.lcssa135, label %244, label %.preheader132.preheader

.preheader132.preheader:                          ; preds = %217
  %218 = getelementptr inbounds i8, ptr %7, i64 8
  %219 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, i32 noundef %.2122, i32 noundef %.2122, i32 noundef %.2122)
  %220 = mul nuw nsw i32 %.2122, 12
  %221 = zext nneg i32 %220 to i64
  %222 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %221
  %223 = load <8 x i8>, ptr %7, align 8, !tbaa !5
  %224 = load <8 x i8>, ptr %222, align 4, !tbaa !5
  %225 = add <8 x i8> %224, %223
  %226 = and <8 x i8> %225, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %226, ptr %8, align 16, !tbaa !5
  %227 = add nuw nsw i64 %221, 8
  %228 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %227
  %229 = getelementptr inbounds i8, ptr %8, i64 8
  %230 = load <4 x i8>, ptr %218, align 8, !tbaa !5
  %231 = load <4 x i8>, ptr %228, align 4, !tbaa !5
  %232 = add <4 x i8> %231, %230
  %233 = and <4 x i8> %232, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %233, ptr %229, align 8, !tbaa !5
  %234 = insertelement <8 x i32> poison, i32 %.2122, i64 0
  %235 = shufflevector <8 x i32> %234, <8 x i32> poison, <8 x i32> zeroinitializer
  %236 = icmp eq <8 x i32> %235, <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %237 = getelementptr inbounds i8, ptr %8, i64 12
  %238 = zext <8 x i1> %236 to <8 x i8>
  store <8 x i8> %238, ptr %237, align 4, !tbaa !5
  %239 = insertelement <4 x i32> poison, i32 %.2122, i64 0
  %240 = shufflevector <4 x i32> %239, <4 x i32> poison, <4 x i32> zeroinitializer
  %241 = icmp eq <4 x i32> %240, <i32 8, i32 9, i32 10, i32 11>
  %242 = getelementptr inbounds i8, ptr %8, i64 20
  %243 = zext <4 x i1> %241 to <4 x i8>
  store <4 x i8> %243, ptr %242, align 4, !tbaa !5
  br label %.loopexit133

244:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #7
  call void @matrix2_mul(ptr noundef nonnull %7, i32 noundef 1, i32 noundef 12, ptr noundef nonnull @P, i32 noundef 12, i32 noundef 12, ptr noundef nonnull %11, i32 noundef 1, i32 noundef 12)
  %245 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22)
  call void @matrix2_print(ptr noundef nonnull %11, i32 noundef 1, i32 noundef 12)
  %246 = call i32 @vector_weight(ptr noundef nonnull %11, i32 noundef 12)
  %247 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, i32 noundef %246)
  %248 = and i32 %246, -2
  %or.cond = icmp eq i32 %248, 2
  br i1 %or.cond, label %.loopexit128.loopexit, label %.preheader131

.loopexit128.loopexit:                            ; preds = %244
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) %8, i8 0, i64 12, i1 false)
  %250 = getelementptr inbounds i8, ptr %8, i64 12
  %251 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  store <8 x i8> %251, ptr %250, align 4, !tbaa !5
  %252 = getelementptr inbounds i8, ptr %11, i64 8
  %253 = getelementptr inbounds i8, ptr %8, i64 20
  %254 = load <4 x i8>, ptr %252, align 8, !tbaa !5
  store <4 x i8> %254, ptr %253, align 4, !tbaa !5
  br label %.loopexit128

.preheader131:                                    ; preds = %244
  %255 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #7
  %256 = getelementptr inbounds i8, ptr %11, i64 8
  %257 = getelementptr inbounds i8, ptr %12, i64 8
  %258 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %259 = load <8 x i8>, ptr @P, align 16, !tbaa !5
  %260 = add <8 x i8> %259, %258
  %261 = and <8 x i8> %260, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %261, ptr %12, align 8, !tbaa !5
  %262 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %263 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 8), align 8, !tbaa !5
  %264 = add <4 x i8> %263, %262
  %265 = and <4 x i8> %264, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %265, ptr %257, align 8, !tbaa !5
  %266 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %267 = icmp eq i32 %266, 2
  %268 = select i1 %267, ptr @.str.19, ptr @.str.20
  %269 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 0, i32 noundef %266, ptr noundef nonnull %268)
  br i1 %267, label %402, label %.preheader131.1

.preheader131.1:                                  ; preds = %.preheader131
  %270 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %271 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 12), align 4, !tbaa !5
  %272 = add <8 x i8> %271, %270
  %273 = and <8 x i8> %272, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %273, ptr %12, align 8, !tbaa !5
  %274 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %275 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 20), align 4, !tbaa !5
  %276 = add <4 x i8> %275, %274
  %277 = and <4 x i8> %276, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %277, ptr %257, align 8, !tbaa !5
  %278 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %279 = icmp eq i32 %278, 2
  %280 = select i1 %279, ptr @.str.19, ptr @.str.20
  %281 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 1, i32 noundef %278, ptr noundef nonnull %280)
  br i1 %279, label %402, label %.preheader131.2

.preheader131.2:                                  ; preds = %.preheader131.1
  %282 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %283 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 24), align 8, !tbaa !5
  %284 = add <8 x i8> %283, %282
  %285 = and <8 x i8> %284, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %285, ptr %12, align 8, !tbaa !5
  %286 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %287 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 32), align 16, !tbaa !5
  %288 = add <4 x i8> %287, %286
  %289 = and <4 x i8> %288, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %289, ptr %257, align 8, !tbaa !5
  %290 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %291 = icmp eq i32 %290, 2
  %292 = select i1 %291, ptr @.str.19, ptr @.str.20
  %293 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 2, i32 noundef %290, ptr noundef nonnull %292)
  br i1 %291, label %402, label %.preheader131.3

.preheader131.3:                                  ; preds = %.preheader131.2
  %294 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %295 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 36), align 4, !tbaa !5
  %296 = add <8 x i8> %295, %294
  %297 = and <8 x i8> %296, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %297, ptr %12, align 8, !tbaa !5
  %298 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %299 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 44), align 4, !tbaa !5
  %300 = add <4 x i8> %299, %298
  %301 = and <4 x i8> %300, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %301, ptr %257, align 8, !tbaa !5
  %302 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %303 = icmp eq i32 %302, 2
  %304 = select i1 %303, ptr @.str.19, ptr @.str.20
  %305 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 3, i32 noundef %302, ptr noundef nonnull %304)
  br i1 %303, label %402, label %.preheader131.4

.preheader131.4:                                  ; preds = %.preheader131.3
  %306 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %307 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 48), align 16, !tbaa !5
  %308 = add <8 x i8> %307, %306
  %309 = and <8 x i8> %308, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %309, ptr %12, align 8, !tbaa !5
  %310 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %311 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 56), align 8, !tbaa !5
  %312 = add <4 x i8> %311, %310
  %313 = and <4 x i8> %312, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %313, ptr %257, align 8, !tbaa !5
  %314 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %315 = icmp eq i32 %314, 2
  %316 = select i1 %315, ptr @.str.19, ptr @.str.20
  %317 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 4, i32 noundef %314, ptr noundef nonnull %316)
  br i1 %315, label %402, label %.preheader131.5

.preheader131.5:                                  ; preds = %.preheader131.4
  %318 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %319 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 60), align 4, !tbaa !5
  %320 = add <8 x i8> %319, %318
  %321 = and <8 x i8> %320, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %321, ptr %12, align 8, !tbaa !5
  %322 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %323 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 68), align 4, !tbaa !5
  %324 = add <4 x i8> %323, %322
  %325 = and <4 x i8> %324, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %325, ptr %257, align 8, !tbaa !5
  %326 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %327 = icmp eq i32 %326, 2
  %328 = select i1 %327, ptr @.str.19, ptr @.str.20
  %329 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 5, i32 noundef %326, ptr noundef nonnull %328)
  br i1 %327, label %402, label %.preheader131.6

.preheader131.6:                                  ; preds = %.preheader131.5
  %330 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %331 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 72), align 8, !tbaa !5
  %332 = add <8 x i8> %331, %330
  %333 = and <8 x i8> %332, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %333, ptr %12, align 8, !tbaa !5
  %334 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %335 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 80), align 16, !tbaa !5
  %336 = add <4 x i8> %335, %334
  %337 = and <4 x i8> %336, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %337, ptr %257, align 8, !tbaa !5
  %338 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %339 = icmp eq i32 %338, 2
  %340 = select i1 %339, ptr @.str.19, ptr @.str.20
  %341 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 6, i32 noundef %338, ptr noundef nonnull %340)
  br i1 %339, label %402, label %.preheader131.7

.preheader131.7:                                  ; preds = %.preheader131.6
  %342 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %343 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 84), align 4, !tbaa !5
  %344 = add <8 x i8> %343, %342
  %345 = and <8 x i8> %344, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %345, ptr %12, align 8, !tbaa !5
  %346 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %347 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 92), align 4, !tbaa !5
  %348 = add <4 x i8> %347, %346
  %349 = and <4 x i8> %348, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %349, ptr %257, align 8, !tbaa !5
  %350 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %351 = icmp eq i32 %350, 2
  %352 = select i1 %351, ptr @.str.19, ptr @.str.20
  %353 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 7, i32 noundef %350, ptr noundef nonnull %352)
  br i1 %351, label %402, label %.preheader131.8

.preheader131.8:                                  ; preds = %.preheader131.7
  %354 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %355 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 96), align 16, !tbaa !5
  %356 = add <8 x i8> %355, %354
  %357 = and <8 x i8> %356, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %357, ptr %12, align 8, !tbaa !5
  %358 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %359 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 104), align 8, !tbaa !5
  %360 = add <4 x i8> %359, %358
  %361 = and <4 x i8> %360, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %361, ptr %257, align 8, !tbaa !5
  %362 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %363 = icmp eq i32 %362, 2
  %364 = select i1 %363, ptr @.str.19, ptr @.str.20
  %365 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 8, i32 noundef %362, ptr noundef nonnull %364)
  br i1 %363, label %402, label %.preheader131.9

.preheader131.9:                                  ; preds = %.preheader131.8
  %366 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %367 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 108), align 4, !tbaa !5
  %368 = add <8 x i8> %367, %366
  %369 = and <8 x i8> %368, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %369, ptr %12, align 8, !tbaa !5
  %370 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %371 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 116), align 4, !tbaa !5
  %372 = add <4 x i8> %371, %370
  %373 = and <4 x i8> %372, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %373, ptr %257, align 8, !tbaa !5
  %374 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %375 = icmp eq i32 %374, 2
  %376 = select i1 %375, ptr @.str.19, ptr @.str.20
  %377 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 9, i32 noundef %374, ptr noundef nonnull %376)
  br i1 %375, label %402, label %.preheader131.10

.preheader131.10:                                 ; preds = %.preheader131.9
  %378 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %379 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 120), align 8, !tbaa !5
  %380 = add <8 x i8> %379, %378
  %381 = and <8 x i8> %380, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %381, ptr %12, align 8, !tbaa !5
  %382 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %383 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 128), align 16, !tbaa !5
  %384 = add <4 x i8> %383, %382
  %385 = and <4 x i8> %384, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %385, ptr %257, align 8, !tbaa !5
  %386 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %387 = icmp eq i32 %386, 2
  %388 = select i1 %387, ptr @.str.19, ptr @.str.20
  %389 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 10, i32 noundef %386, ptr noundef nonnull %388)
  br i1 %387, label %402, label %.preheader131.11

.preheader131.11:                                 ; preds = %.preheader131.10
  %390 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %391 = load <8 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 132), align 4, !tbaa !5
  %392 = add <8 x i8> %391, %390
  %393 = and <8 x i8> %392, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %393, ptr %12, align 8, !tbaa !5
  %394 = load <4 x i8>, ptr %256, align 8, !tbaa !5
  %395 = load <4 x i8>, ptr getelementptr inbounds (i8, ptr @P, i64 140), align 4, !tbaa !5
  %396 = add <4 x i8> %395, %394
  %397 = and <4 x i8> %396, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %397, ptr %257, align 8, !tbaa !5
  %398 = call i32 @vector_weight(ptr noundef nonnull %12, i32 noundef 12)
  %399 = icmp eq i32 %398, 2
  %400 = select i1 %399, ptr @.str.19, ptr @.str.20
  %401 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, i32 noundef 11, i32 noundef %398, ptr noundef nonnull %400)
  %spec.select253 = select i1 %399, i1 false, i1 true
  %spec.select254 = select i1 %399, i32 11, i32 0
  br label %402

402:                                              ; preds = %.preheader131.11, %.preheader131.10, %.preheader131.9, %.preheader131.8, %.preheader131.7, %.preheader131.6, %.preheader131.5, %.preheader131.4, %.preheader131.3, %.preheader131.2, %.preheader131.1, %.preheader131
  %.lcssa = phi i1 [ false, %.preheader131 ], [ false, %.preheader131.1 ], [ false, %.preheader131.2 ], [ false, %.preheader131.3 ], [ false, %.preheader131.4 ], [ false, %.preheader131.5 ], [ false, %.preheader131.6 ], [ false, %.preheader131.7 ], [ false, %.preheader131.8 ], [ false, %.preheader131.9 ], [ false, %.preheader131.10 ], [ %spec.select253, %.preheader131.11 ]
  %.2 = phi i32 [ 0, %.preheader131 ], [ 1, %.preheader131.1 ], [ 2, %.preheader131.2 ], [ 3, %.preheader131.3 ], [ 4, %.preheader131.4 ], [ 5, %.preheader131.5 ], [ 6, %.preheader131.6 ], [ 7, %.preheader131.7 ], [ 8, %.preheader131.8 ], [ 9, %.preheader131.9 ], [ 10, %.preheader131.10 ], [ %spec.select254, %.preheader131.11 ]
  br i1 %.lcssa, label %429, label %.preheader129

.preheader129:                                    ; preds = %402
  %403 = getelementptr inbounds i8, ptr %11, i64 8
  %404 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27, i32 noundef %.2, i32 noundef %.2, i32 noundef %.2)
  %405 = insertelement <8 x i32> poison, i32 %.2, i64 0
  %406 = shufflevector <8 x i32> %405, <8 x i32> poison, <8 x i32> zeroinitializer
  %407 = icmp eq <8 x i32> %406, <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %408 = zext <8 x i1> %407 to <8 x i8>
  store <8 x i8> %408, ptr %8, align 16, !tbaa !5
  %409 = insertelement <4 x i32> poison, i32 %.2, i64 0
  %410 = shufflevector <4 x i32> %409, <4 x i32> poison, <4 x i32> zeroinitializer
  %411 = icmp eq <4 x i32> %410, <i32 8, i32 9, i32 10, i32 11>
  %412 = getelementptr inbounds i8, ptr %8, i64 8
  %413 = zext <4 x i1> %411 to <4 x i8>
  store <4 x i8> %413, ptr %412, align 8, !tbaa !5
  %414 = mul nuw nsw i32 %.2, 12
  %415 = zext nneg i32 %414 to i64
  %416 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %415
  %417 = getelementptr inbounds i8, ptr %8, i64 12
  %418 = load <8 x i8>, ptr %11, align 8, !tbaa !5
  %419 = load <8 x i8>, ptr %416, align 4, !tbaa !5
  %420 = add <8 x i8> %419, %418
  %421 = and <8 x i8> %420, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %421, ptr %417, align 4, !tbaa !5
  %422 = add nuw nsw i64 %415, 8
  %423 = getelementptr inbounds [144 x i8], ptr @P, i64 0, i64 %422
  %424 = getelementptr inbounds i8, ptr %8, i64 20
  %425 = load <4 x i8>, ptr %403, align 8, !tbaa !5
  %426 = load <4 x i8>, ptr %423, align 4, !tbaa !5
  %427 = add <4 x i8> %426, %425
  %428 = and <4 x i8> %427, <i8 1, i8 1, i8 1, i8 1>
  store <4 x i8> %428, ptr %424, align 4, !tbaa !5
  br label %.loopexit130

429:                                              ; preds = %402
  %430 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28)
  br label %.loopexit130

.loopexit130:                                     ; preds = %.preheader129, %429
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #7
  br label %.loopexit128

.loopexit128:                                     ; preds = %.loopexit128.loopexit, %.loopexit130
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  br label %.loopexit133

.loopexit133:                                     ; preds = %.preheader132.preheader, %.loopexit128
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.loopexit133
  %431 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29)
  call void @matrix2_print(ptr noundef nonnull %8, i32 noundef 1, i32 noundef 24)
  %432 = getelementptr inbounds i8, ptr %9, i64 12
  %433 = load <16 x i8>, ptr %6, align 16, !tbaa !5
  %434 = load <16 x i8>, ptr %8, align 16, !tbaa !5
  %435 = add <16 x i8> %434, %433
  %436 = and <16 x i8> %435, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <16 x i8> %436, ptr %9, align 16, !tbaa !5
  %437 = getelementptr inbounds i8, ptr %8, i64 16
  %438 = getelementptr inbounds i8, ptr %9, i64 16
  %439 = load <8 x i8>, ptr %54, align 16, !tbaa !5
  %440 = load <8 x i8>, ptr %437, align 16, !tbaa !5
  %441 = add <8 x i8> %440, %439
  %442 = and <8 x i8> %441, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
  store <8 x i8> %442, ptr %438, align 16, !tbaa !5
  %443 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30)
  call void @matrix2_print(ptr noundef nonnull %9, i32 noundef 1, i32 noundef 24)
  call void @matrix2_print(ptr noundef nonnull %4, i32 noundef 1, i32 noundef 24)
  %444 = load <16 x i8>, ptr %4, align 16, !tbaa !5
  %445 = load <16 x i8>, ptr %9, align 16, !tbaa !5
  %446 = icmp ne <16 x i8> %444, %445
  %447 = load <8 x i8>, ptr %52, align 16, !tbaa !5
  %448 = load <8 x i8>, ptr %438, align 16, !tbaa !5
  %449 = icmp ne <8 x i8> %447, %448
  %450 = bitcast <16 x i1> %446 to i16
  %451 = call range(i16 0, 17) i16 @llvm.ctpop.i16(i16 %450)
  %452 = zext nneg i16 %451 to i32
  %453 = bitcast <8 x i1> %449 to i8
  %454 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %453)
  %455 = zext nneg i8 %454 to i32
  %op.rdx = add nuw nsw i32 %452, %455
  %456 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %457 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, i32 noundef %op.rdx)
  %.sroa.11.0.scevgep.sroa_idx = getelementptr inbounds i8, ptr %9, i64 20
  %458 = load <8 x i8>, ptr %432, align 4, !tbaa !5
  %459 = load <8 x i8>, ptr %3, align 8, !tbaa !5
  %460 = icmp ne <8 x i8> %459, %458
  %461 = load <4 x i8>, ptr %.sroa.11.0.scevgep.sroa_idx, align 4, !tbaa !5
  %462 = load <4 x i8>, ptr %35, align 8, !tbaa !5
  %463 = icmp ne <4 x i8> %462, %461
  %464 = bitcast <8 x i1> %460 to i8
  %465 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %464)
  %466 = zext nneg i8 %465 to i32
  %467 = bitcast <4 x i1> %463 to i4
  %468 = call range(i4 0, 5) i4 @llvm.ctpop.i4(i4 %467)
  %469 = zext nneg i4 %468 to i32
  %op.rdx251 = add nuw nsw i32 %466, %469
  %470 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, i32 noundef %op.rdx251)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #7
  ret i32 0
}

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @golay_init_G() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @golay_init_H() local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.ctpop.i16(i16) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.ctpop.i8(i8) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i4 @llvm.ctpop.i4(i4) #6

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


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