; LLVM IR from p4lang/p4c :: backends/tofino/bf-utils/dynamic_hash (dynamic_hash)

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

%struct.hash_column_ = type { i64, i8 }
%struct.ixbar_input_ = type { i32, i32, i32, %struct.hash_symmetric_info_, %union.anon }
%struct.hash_symmetric_info_ = type { i8, i32, i32 }
%union.anon = type { i64 }
%struct.ixbar_init_ = type { ptr, i32, ptr, i32, i32 }
%struct.hash_calc_output_ = type { i32, i32, i32 }

@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_ = external hidden unnamed_addr constant [105 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca [16 x [52 x %struct.hash_column_]], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i8, align 1
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 0, ptr %12, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 13312, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %74, %4
  %36 = load i32, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = icmp ult i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %77

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load i32, ptr %14, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds %struct.ixbar_input_, ptr %41, i64 %43
  store ptr %44, ptr %16, align 8, !tbaa !5
  %45 = load ptr, ptr %16, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ixbar_input_, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 8, !tbaa !13
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %49, label %55

49:                                               ; preds = %40
  %50 = load ptr, ptr %16, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ixbar_input_, ptr %50, i32 0, i32 4
  %52 = load i8, ptr %51, align 8, !tbaa !17, !range !18, !noundef !19
  %53 = trunc i8 %52 to i1
  br i1 %53, label %55, label %54

54:                                               ; preds = %49
  store i32 4, ptr %15, align 4
  br label %71

55:                                               ; preds = %49, %40
  %56 = load ptr, ptr %16, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ixbar_input_, ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 8, !tbaa !13
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %55
  store i32 4, ptr %15, align 4
  br label %71

61:                                               ; preds = %55
  %62 = load ptr, ptr %16, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ixbar_input_, ptr %62, i32 0, i32 3
  %64 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %63, i32 0, i32 0
  %65 = load i8, ptr %64, align 4, !tbaa !20, !range !18, !noundef !19
  %66 = trunc i8 %65 to i1
  %67 = zext i1 %66 to i32
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %61
  store i32 4, ptr %15, align 4
  br label %71

70:                                               ; preds = %61
  store i8 1, ptr %12, align 1, !tbaa !11
  store i32 0, ptr %15, align 4
  br label %71

71:                                               ; preds = %70, %69, %60, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %72 = load i32, ptr %15, align 4
  switch i32 %72, label %375 [
    i32 0, label %73
    i32 4, label %74
  ]

73:                                               ; preds = %71
  br label %74

74:                                               ; preds = %73, %71
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = add i32 %75, 1
  store i32 %76, ptr %14, align 4, !tbaa !9
  br label %35, !llvm.loop !21

77:                                               ; preds = %39
  %78 = load i8, ptr %12, align 1, !tbaa !11, !range !18, !noundef !19
  %79 = trunc i8 %78 to i1
  br i1 %79, label %81, label %80

80:                                               ; preds = %77
  store i32 1, ptr %15, align 4
  br label %372

81:                                               ; preds = %77
  %82 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %82, ptr align 8 %83, i64 13312, i1 false)
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = call noalias ptr @calloc(i64 noundef %85, i64 noundef 4) #9
  store ptr %86, ptr %10, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %81
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = icmp eq ptr %88, null
  br i1 %89, label %90, label %92

90:                                               ; preds = %87
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6)
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 560, ptr noundef @__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_) #10
  unreachable

92:                                               ; preds = %87
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %7, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = call noalias ptr @calloc(i64 noundef %96, i64 noundef 4) #9
  store ptr %97, ptr %11, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %94
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = icmp eq ptr %99, null
  br i1 %100, label %101, label %103

101:                                              ; preds = %98
  %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.9)
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 563, ptr noundef @__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_) #10
  unreachable

103:                                              ; preds = %98
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %106

106:                                              ; preds = %163, %105
  %107 = load i32, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = icmp ult i32 %107, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %106
  store i32 9, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %166

111:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load i32, ptr %17, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds %struct.ixbar_input_, ptr %112, i64 %114
  store ptr %115, ptr %18, align 8, !tbaa !5
  %116 = load ptr, ptr %18, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ixbar_input_, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 8, !tbaa !13
  %119 = icmp eq i32 %118, 1
  br i1 %119, label %120, label %126

120:                                              ; preds = %111
  %121 = load ptr, ptr %18, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ixbar_input_, ptr %121, i32 0, i32 4
  %123 = load i8, ptr %122, align 8, !tbaa !17, !range !18, !noundef !19
  %124 = trunc i8 %123 to i1
  br i1 %124, label %126, label %125

125:                                              ; preds = %120
  store i32 11, ptr %15, align 4
  br label %160

126:                                              ; preds = %120, %111
  %127 = load ptr, ptr %18, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ixbar_input_, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 8, !tbaa !13
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %132

131:                                              ; preds = %126
  store i32 11, ptr %15, align 4
  br label %160

132:                                              ; preds = %126
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ixbar_input_, ptr %133, i32 0, i32 3
  %135 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %134, i32 0, i32 0
  %136 = load i8, ptr %135, align 4, !tbaa !20, !range !18, !noundef !19
  %137 = trunc i8 %136 to i1
  %138 = zext i1 %137 to i32
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %132
  store i32 11, ptr %15, align 4
  br label %160

141:                                              ; preds = %132
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ixbar_input_, ptr %142, i32 0, i32 3
  %144 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %144, align 4, !tbaa !23
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !9
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds i32, ptr %146, i64 %148
  store i32 %145, ptr %149, align 4, !tbaa !9
  %150 = load ptr, ptr %18, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ixbar_input_, ptr %150, i32 0, i32 3
  %152 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %151, i32 0, i32 2
  %153 = load i32, ptr %152, align 4, !tbaa !24
  %154 = load ptr, ptr %11, align 8, !tbaa !5
  %155 = load i32, ptr %9, align 4, !tbaa !9
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds i32, ptr %154, i64 %156
  store i32 %153, ptr %157, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  %159 = add i32 %158, 1
  store i32 %159, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %15, align 4
  br label %160

160:                                              ; preds = %141, %140, %131, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  %161 = load i32, ptr %15, align 4
  switch i32 %161, label %375 [
    i32 0, label %162
    i32 11, label %163
  ]

162:                                              ; preds = %160
  br label %163

163:                                              ; preds = %162, %160
  %164 = load i32, ptr %17, align 4, !tbaa !9
  %165 = add i32 %164, 1
  store i32 %165, ptr %17, align 4, !tbaa !9
  br label %106, !llvm.loop !25

166:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %358, %166
  %168 = load i32, ptr %19, align 4, !tbaa !9
  %169 = load i32, ptr %9, align 4, !tbaa !9
  %170 = icmp ult i32 %168, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  store i32 12, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %361

172:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %354, %172
  %174 = load i32, ptr %21, align 4, !tbaa !9
  %175 = load i32, ptr %7, align 4, !tbaa !9
  %176 = icmp ult i32 %174, %175
  br i1 %176, label %178, label %177

177:                                              ; preds = %173
  store i32 15, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %357

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = load i32, ptr %21, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds %struct.ixbar_input_, ptr %179, i64 %181
  store ptr %182, ptr %22, align 8, !tbaa !5
  %183 = load ptr, ptr %22, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ixbar_input_, ptr %183, i32 0, i32 0
  %185 = load i32, ptr %184, align 8, !tbaa !13
  %186 = icmp eq i32 %185, 1
  br i1 %186, label %187, label %193

187:                                              ; preds = %178
  %188 = load ptr, ptr %22, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ixbar_input_, ptr %188, i32 0, i32 4
  %190 = load i8, ptr %189, align 8, !tbaa !17, !range !18, !noundef !19
  %191 = trunc i8 %190 to i1
  br i1 %191, label %193, label %192

192:                                              ; preds = %187
  store i32 17, ptr %15, align 4
  br label %351

193:                                              ; preds = %187, %178
  %194 = load ptr, ptr %22, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ixbar_input_, ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !13
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %198, label %199

198:                                              ; preds = %193
  store i32 17, ptr %15, align 4
  br label %351

199:                                              ; preds = %193
  %200 = load ptr, ptr %22, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ixbar_input_, ptr %200, i32 0, i32 3
  %202 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %201, i32 0, i32 0
  %203 = load i8, ptr %202, align 4, !tbaa !20, !range !18, !noundef !19
  %204 = trunc i8 %203 to i1
  %205 = zext i1 %204 to i32
  %206 = icmp eq i32 %205, 0
  br i1 %206, label %207, label %208

207:                                              ; preds = %199
  store i32 17, ptr %15, align 4
  br label %351

208:                                              ; preds = %199
  %209 = load ptr, ptr %22, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ixbar_input_, ptr %209, i32 0, i32 3
  %211 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %210, i32 0, i32 1
  %212 = load i32, ptr %211, align 4, !tbaa !23
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = load i32, ptr %19, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  %216 = getelementptr inbounds i32, ptr %213, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !9
  %218 = icmp ne i32 %212, %217
  br i1 %218, label %219, label %220

219:                                              ; preds = %208
  store i32 17, ptr %15, align 4
  br label %351

220:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 0, ptr %25, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %221

221:                                              ; preds = %255, %220
  %222 = load i32, ptr %26, align 4, !tbaa !9
  %223 = load i32, ptr %7, align 4, !tbaa !9
  %224 = icmp ult i32 %222, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %221
  store i32 18, ptr %15, align 4
  br label %258

226:                                              ; preds = %221
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = load i32, ptr %26, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = getelementptr inbounds %struct.ixbar_input_, ptr %227, i64 %229
  store ptr %230, ptr %24, align 8, !tbaa !5
  %231 = load ptr, ptr %24, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ixbar_input_, ptr %231, i32 0, i32 3
  %233 = getelementptr inbounds %struct.hash_symmetric_info_, ptr %232, i32 0, i32 1
  %234 = load i32, ptr %233, align 4, !tbaa !23
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = load i32, ptr %19, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = getelementptr inbounds i32, ptr %235, i64 %237
  %239 = load i32, ptr %238, align 4, !tbaa !9
  %240 = icmp eq i32 %234, %239
  br i1 %240, label %241, label %254

241:                                              ; preds = %226
  %242 = load i32, ptr %20, align 4, !tbaa !9
  %243 = load i32, ptr %23, align 4, !tbaa !9
  %244 = icmp eq i32 %242, %243
  br i1 %244, label %245, label %246

245:                                              ; preds = %241
  store i8 1, ptr %25, align 1, !tbaa !11
  store i32 18, ptr %15, align 4
  br label %258

246:                                              ; preds = %241
  %247 = load i32, ptr %23, align 4, !tbaa !9
  %248 = add i32 %247, 1
  store i32 %248, ptr %23, align 4, !tbaa !9
  %249 = load i32, ptr %23, align 4, !tbaa !9
  %250 = load i32, ptr %20, align 4, !tbaa !9
  %251 = icmp ugt i32 %249, %250
  br i1 %251, label %252, label %253

252:                                              ; preds = %246
  store i32 18, ptr %15, align 4
  br label %258

253:                                              ; preds = %246
  br label %254

254:                                              ; preds = %253, %226
  br label %255

255:                                              ; preds = %254
  %256 = load i32, ptr %26, align 4, !tbaa !9
  %257 = add i32 %256, 1
  store i32 %257, ptr %26, align 4, !tbaa !9
  br label %221, !llvm.loop !26

258:                                              ; preds = %252, %245, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %259

259:                                              ; preds = %258
  %260 = load i8, ptr %25, align 1, !tbaa !11, !range !18, !noundef !19
  %261 = trunc i8 %260 to i1
  br i1 %261, label %263, label %262

262:                                              ; preds = %259
  store i32 17, ptr %15, align 4
  br label %350

263:                                              ; preds = %259
  %264 = load ptr, ptr %22, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ixbar_input_, ptr %264, i32 0, i32 2
  %266 = load i32, ptr %265, align 8, !tbaa !27
  %267 = load ptr, ptr %24, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ixbar_input_, ptr %267, i32 0, i32 2
  %269 = load i32, ptr %268, align 8, !tbaa !27
  %270 = icmp ne i32 %266, %269
  br i1 %270, label %271, label %272

271:                                              ; preds = %263
  store i32 17, ptr %15, align 4
  br label %350

272:                                              ; preds = %263
  %273 = load i32, ptr %20, align 4, !tbaa !9
  %274 = add i32 %273, 1
  store i32 %274, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %275

275:                                              ; preds = %346, %272
  %276 = load i32, ptr %27, align 4, !tbaa !9
  %277 = load ptr, ptr %22, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ixbar_input_, ptr %277, i32 0, i32 2
  %279 = load i32, ptr %278, align 8, !tbaa !27
  %280 = icmp ult i32 %276, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %275
  store i32 21, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %349

282:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %283 = load ptr, ptr %22, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ixbar_input_, ptr %283, i32 0, i32 1
  %285 = load i32, ptr %284, align 4, !tbaa !28
  %286 = load i32, ptr %27, align 4, !tbaa !9
  %287 = add i32 %285, %286
  store i32 %287, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %288 = load ptr, ptr %24, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ixbar_input_, ptr %288, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !28
  %291 = load i32, ptr %27, align 4, !tbaa !9
  %292 = add i32 %290, %291
  store i32 %292, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %293

293:                                              ; preds = %342, %282
  %294 = load i32, ptr %30, align 4, !tbaa !9
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ixbar_init_, ptr %295, i32 0, i32 3
  %297 = load i32, ptr %296, align 8, !tbaa !29
  %298 = icmp ult i32 %294, %297
  br i1 %298, label %300, label %299

299:                                              ; preds = %293
  store i32 24, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %345

300:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.ixbar_init_, ptr %301, i32 0, i32 2
  %303 = load ptr, ptr %302, align 8, !tbaa !31
  %304 = load i32, ptr %30, align 4, !tbaa !9
  %305 = zext i32 %304 to i64
  %306 = getelementptr inbounds %struct.hash_calc_output_, ptr %303, i64 %305
  store ptr %306, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %338, %300
  %308 = load i32, ptr %32, align 4, !tbaa !9
  %309 = load ptr, ptr %31, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.hash_calc_output_, ptr %309, i32 0, i32 2
  %311 = load i32, ptr %310, align 4, !tbaa !32
  %312 = icmp ult i32 %308, %311
  br i1 %312, label %314, label %313

313:                                              ; preds = %307
  store i32 27, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %341

314:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %315 = load ptr, ptr %31, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.hash_calc_output_, ptr %315, i32 0, i32 1
  %317 = load i32, ptr %316, align 4, !tbaa !34
  %318 = load i32, ptr %32, align 4, !tbaa !9
  %319 = add i32 %317, %318
  store i32 %319, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #8
  %320 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  %321 = load i32, ptr %29, align 4, !tbaa !9
  %322 = load i32, ptr %33, align 4, !tbaa !9
  %323 = call noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef %320, i32 noundef %321, i32 noundef %322)
  %324 = zext i1 %323 to i32
  %325 = getelementptr inbounds [16 x [52 x %struct.hash_column_]], ptr %13, i64 0, i64 0
  %326 = load i32, ptr %28, align 4, !tbaa !9
  %327 = load i32, ptr %33, align 4, !tbaa !9
  %328 = call noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef %325, i32 noundef %326, i32 noundef %327)
  %329 = zext i1 %328 to i32
  %330 = xor i32 %324, %329
  %331 = icmp ne i32 %330, 0
  %332 = zext i1 %331 to i8
  store i8 %332, ptr %34, align 1, !tbaa !11
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = load i32, ptr %28, align 4, !tbaa !9
  %335 = load i32, ptr %33, align 4, !tbaa !9
  %336 = load i8, ptr %34, align 1, !tbaa !11, !range !18, !noundef !19
  %337 = trunc i8 %336 to i1
  call void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef %333, i32 noundef %334, i32 noundef %335, i1 noundef zeroext %337)
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %338

338:                                              ; preds = %314
  %339 = load i32, ptr %32, align 4, !tbaa !9
  %340 = add i32 %339, 1
  store i32 %340, ptr %32, align 4, !tbaa !9
  br label %307, !llvm.loop !35

341:                                              ; preds = %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %342

342:                                              ; preds = %341
  %343 = load i32, ptr %30, align 4, !tbaa !9
  %344 = add i32 %343, 1
  store i32 %344, ptr %30, align 4, !tbaa !9
  br label %293, !llvm.loop !36

345:                                              ; preds = %299
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %346

346:                                              ; preds = %345
  %347 = load i32, ptr %27, align 4, !tbaa !9
  %348 = add i32 %347, 1
  store i32 %348, ptr %27, align 4, !tbaa !9
  br label %275, !llvm.loop !37

349:                                              ; preds = %281
  store i32 0, ptr %15, align 4
  br label %350

350:                                              ; preds = %349, %271, %262
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %351

351:                                              ; preds = %350, %219, %207, %198, %192
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %352 = load i32, ptr %15, align 4
  switch i32 %352, label %375 [
    i32 0, label %353
    i32 17, label %354
  ]

353:                                              ; preds = %351
  br label %354

354:                                              ; preds = %353, %351
  %355 = load i32, ptr %21, align 4, !tbaa !9
  %356 = add i32 %355, 1
  store i32 %356, ptr %21, align 4, !tbaa !9
  br label %173, !llvm.loop !38

357:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %358

358:                                              ; preds = %357
  %359 = load i32, ptr %19, align 4, !tbaa !9
  %360 = add i32 %359, 1
  store i32 %360, ptr %19, align 4, !tbaa !9
  br label %167, !llvm.loop !39

361:                                              ; preds = %171
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = icmp ne ptr %362, null
  br i1 %363, label %364, label %366

364:                                              ; preds = %361
  %365 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %365) #8
  br label %366

366:                                              ; preds = %364, %361
  %367 = load ptr, ptr %11, align 8, !tbaa !5
  %368 = icmp ne ptr %367, null
  br i1 %368, label %369, label %371

369:                                              ; preds = %366
  %370 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %370) #8
  br label %371

371:                                              ; preds = %369, %366
  store i32 0, ptr %15, align 4
  br label %372

372:                                              ; preds = %371, %80
  call void @llvm.lifetime.end.p0(i64 13312, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  %373 = load i32, ptr %15, align 4
  switch i32 %373, label %375 [
    i32 0, label %374
    i32 1, label %374
  ]

374:                                              ; preds = %372, %372
  ret void

375:                                              ; preds = %372, %351, %160, %71
  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) #4

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #5

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind allocsize(0,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 #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { nounwind allocsize(0,1) }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS12ixbar_input_", !15, i64 0, !10, i64 4, !10, i64 8, !16, i64 12, !7, i64 24}
!15 = !{!"_ZTS16ixbar_input_type", !7, i64 0}
!16 = !{!"_ZTS20hash_symmetric_info_", !12, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!7, !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!14, !12, i64 12}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!14, !10, i64 16}
!24 = !{!14, !10, i64 20}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = !{!14, !10, i64 8}
!28 = !{!14, !10, i64 4}
!29 = !{!30, !10, i64 24}
!30 = !{!"_ZTS11ixbar_init_", !6, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !10, i64 28}
!31 = !{!30, !6, i64 16}
!32 = !{!33, !10, i64 8}
!33 = !{!"_ZTS17hash_calc_output_", !10, i64 0, !10, i64 4, !10, i64 8}
!34 = !{!33, !10, i64 4}
!35 = distinct !{!35, !22}
!36 = distinct !{!36, !22}
!37 = distinct !{!37, !22}
!38 = distinct !{!38, !22}
!39 = distinct !{!39, !22}


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

%struct.hash_column_ = type { i64, i8 }
%struct.ixbar_input_ = type { i32, i32, i32, %struct.hash_symmetric_info_, %union.anon }
%struct.hash_symmetric_info_ = type { i8, i32, i32 }
%union.anon = type { i64 }
%struct.hash_calc_output_ = type { i32, i32, i32 }

@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_ = external hidden unnamed_addr constant [105 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [34 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = alloca [16 x [52 x %struct.hash_column_]], align 16
  call void @llvm.lifetime.start.p0(i64 13312, ptr nonnull %5) #8
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %.critedge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  %wide.trip.count = zext i32 %2 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %6 = icmp eq i32 %2, 1
  br i1 %6, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %.lr.ph

._crit_edge.unr-lcssa:                            ; preds = %34, %.lr.ph.preheader
  %.194.lcssa.ph = phi i1 [ poison, %.lr.ph.preheader ], [ %.194.1, %34 ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %34 ]
  %.093123.unr = phi i1 [ false, %.lr.ph.preheader ], [ %.194.1, %34 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa
  %7 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv.unr
  %8 = load i32, ptr %7, align 8, !tbaa !5
  switch i32 %8, label %.thread.epil [
    i32 1, label %9
    i32 0, label %._crit_edge
  ]

9:                                                ; preds = %.lr.ph.epil
  %10 = getelementptr inbounds i8, ptr %7, i64 24
  %11 = load i8, ptr %10, align 8, !tbaa !13, !range !14, !noundef !15
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %.thread.epil, label %._crit_edge

.thread.epil:                                     ; preds = %9, %.lr.ph.epil
  %13 = getelementptr inbounds i8, ptr %7, i64 12
  %14 = load i8, ptr %13, align 4, !tbaa !16, !range !14, !noundef !15
  %15 = icmp ne i8 %14, 0
  %.093..epil = select i1 %15, i1 true, i1 %.093123.unr
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.epil, %9, %.thread.epil, %._crit_edge.unr-lcssa
  %.194.lcssa = phi i1 [ %.194.lcssa.ph, %._crit_edge.unr-lcssa ], [ %.093123.unr, %9 ], [ %.093..epil, %.thread.epil ], [ %.093123.unr, %.lr.ph.epil ]
  br i1 %.194.lcssa, label %35, label %.critedge

.lr.ph:                                           ; preds = %34, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %34 ]
  %.093123 = phi i1 [ false, %.lr.ph.preheader.new ], [ %.194.1, %34 ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %34 ]
  %16 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv
  %17 = load i32, ptr %16, align 8, !tbaa !5
  switch i32 %17, label %.thread [
    i32 1, label %18
    i32 0, label %.lr.ph.1
  ]

18:                                               ; preds = %.lr.ph
  %19 = getelementptr inbounds i8, ptr %16, i64 24
  %20 = load i8, ptr %19, align 8, !tbaa !13, !range !14, !noundef !15
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %.thread, label %.lr.ph.1

.thread:                                          ; preds = %.lr.ph, %18
  %22 = getelementptr inbounds i8, ptr %16, i64 12
  %23 = load i8, ptr %22, align 4, !tbaa !16, !range !14, !noundef !15
  %24 = icmp ne i8 %23, 0
  %.093. = select i1 %24, i1 true, i1 %.093123
  br label %.lr.ph.1

.lr.ph.1:                                         ; preds = %.lr.ph, %.thread, %18
  %.194 = phi i1 [ %.093123, %18 ], [ %.093., %.thread ], [ %.093123, %.lr.ph ]
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %25 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv.next
  %26 = load i32, ptr %25, align 8, !tbaa !5
  switch i32 %26, label %.thread.1 [
    i32 1, label %27
    i32 0, label %34
  ]

27:                                               ; preds = %.lr.ph.1
  %28 = getelementptr inbounds i8, ptr %25, i64 24
  %29 = load i8, ptr %28, align 8, !tbaa !13, !range !14, !noundef !15
  %30 = trunc nuw i8 %29 to i1
  br i1 %30, label %.thread.1, label %34

.thread.1:                                        ; preds = %27, %.lr.ph.1
  %31 = getelementptr inbounds i8, ptr %25, i64 12
  %32 = load i8, ptr %31, align 4, !tbaa !16, !range !14, !noundef !15
  %33 = icmp ne i8 %32, 0
  %.093..1 = select i1 %33, i1 true, i1 %.194
  br label %34

34:                                               ; preds = %.thread.1, %27, %.lr.ph.1
  %.194.1 = phi i1 [ %.194, %27 ], [ %.093..1, %.thread.1 ], [ %.194, %.lr.ph.1 ]
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !17

35:                                               ; preds = %._crit_edge
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(13312) %5, ptr noundef nonnull align 8 dereferenceable(13312) %3, i64 13312, i1 false)
  %36 = tail call noalias ptr @calloc(i64 noundef %wide.trip.count, i64 noundef 4) #9
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %40

38:                                               ; preds = %35
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.6)
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 560, ptr noundef nonnull @__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_) #10
  unreachable

40:                                               ; preds = %35
  %41 = tail call noalias ptr @calloc(i64 noundef %wide.trip.count, i64 noundef 4) #9
  %42 = icmp eq ptr %41, null
  br i1 %42, label %43, label %.lr.ph126

43:                                               ; preds = %40
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.9)
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 563, ptr noundef nonnull @__PRETTY_FUNCTION__._Z21update_symmetric_bitsPK11ixbar_init_PK12ixbar_input_jPA52_12hash_column_) #10
  unreachable

.preheader120:                                    ; preds = %133
  %.not150 = icmp eq i32 %.1, 0
  br i1 %.not150, label %._crit_edge146, label %.preheader119.us.preheader

.preheader119.us.preheader:                       ; preds = %.preheader120
  %45 = getelementptr inbounds i8, ptr %0, i64 24
  %46 = getelementptr inbounds i8, ptr %0, i64 16
  %umax = tail call i32 @llvm.umax.i32(i32 %2, i32 1)
  %wide.trip.count181 = zext i32 %.1 to i64
  %wide.trip.count176 = zext i32 %umax to i64
  br label %.preheader119.us

.preheader119.us:                                 ; preds = %.preheader119.us.preheader, %._crit_edge144.us
  %indvars.iv178 = phi i64 [ 0, %.preheader119.us.preheader ], [ %indvars.iv.next179, %._crit_edge144.us ]
  %47 = getelementptr inbounds i32, ptr %36, i64 %indvars.iv178
  %48 = getelementptr inbounds i32, ptr %41, i64 %indvars.iv178
  br label %49

49:                                               ; preds = %.preheader119.us, %.thread115.us
  %indvars.iv172 = phi i64 [ 0, %.preheader119.us ], [ %indvars.iv.next173, %.thread115.us ]
  %.0104141.us = phi i32 [ 0, %.preheader119.us ], [ %.2.us, %.thread115.us ]
  %50 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv172
  %51 = load i32, ptr %50, align 8, !tbaa !5
  switch i32 %51, label %.thread114.us [
    i32 1, label %52
    i32 0, label %.thread115.us
  ]

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %50, i64 24
  %54 = load i8, ptr %53, align 8, !tbaa !13, !range !14, !noundef !15
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %.thread114.us, label %.thread115.us

.thread114.us:                                    ; preds = %52, %49
  %56 = getelementptr inbounds i8, ptr %50, i64 12
  %57 = load i8, ptr %56, align 4, !tbaa !16, !range !14, !noundef !15
  %58 = icmp eq i8 %57, 0
  br i1 %58, label %.thread115.us, label %59

59:                                               ; preds = %.thread114.us
  %60 = getelementptr inbounds i8, ptr %50, i64 16
  %61 = load i32, ptr %60, align 4, !tbaa !19
  %62 = load i32, ptr %47, align 4, !tbaa !20
  %.not.us = icmp eq i32 %61, %62
  br i1 %.not.us, label %.preheader.us, label %.thread115.us

63:                                               ; preds = %.preheader.us, %73
  %indvars.iv164 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next165, %73 ]
  %.0101128.us = phi i32 [ 0, %.preheader.us ], [ %.1102.us, %73 ]
  %64 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv164
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  %66 = load i32, ptr %65, align 4, !tbaa !19
  %67 = icmp eq i32 %66, %110
  br i1 %67, label %68, label %73

68:                                               ; preds = %63
  %69 = icmp eq i32 %.0104141.us, %.0101128.us
  br i1 %69, label %74, label %70

70:                                               ; preds = %68
  %71 = add i32 %.0101128.us, 1
  %72 = icmp ugt i32 %71, %.0104141.us
  br i1 %72, label %.thread115.us, label %73

73:                                               ; preds = %70, %63
  %.1102.us = phi i32 [ %71, %70 ], [ %.0101128.us, %63 ]
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %exitcond168.not = icmp eq i64 %indvars.iv.next165, %wide.trip.count176
  br i1 %exitcond168.not, label %.thread115.us, label %63, !llvm.loop !21

74:                                               ; preds = %68
  %75 = getelementptr inbounds i8, ptr %50, i64 8
  %76 = load i32, ptr %75, align 8, !tbaa !22
  %77 = getelementptr inbounds i8, ptr %64, i64 8
  %78 = load i32, ptr %77, align 8, !tbaa !22
  %.not112.us = icmp eq i32 %76, %78
  br i1 %.not112.us, label %79, label %.thread115.us

79:                                               ; preds = %74
  %80 = add i32 %.0104141.us, 1
  %.not151 = icmp eq i32 %76, 0
  br i1 %.not151, label %.thread115.us, label %.lr.ph140.us

.lr.ph140.split.us149:                            ; preds = %.lr.ph140.us, %._crit_edge137.us
  %81 = phi i32 [ %88, %._crit_edge137.us ], [ %76, %.lr.ph140.us ]
  %82 = phi i32 [ %89, %._crit_edge137.us ], [ %114, %.lr.ph140.us ]
  %83 = phi i32 [ %90, %._crit_edge137.us ], [ 1, %.lr.ph140.us ]
  %.096138.us147 = phi i32 [ %91, %._crit_edge137.us ], [ 0, %.lr.ph140.us ]
  %84 = load i32, ptr %112, align 4, !tbaa !23
  %85 = add i32 %84, %.096138.us147
  %86 = load i32, ptr %113, align 4, !tbaa !23
  %87 = add i32 %86, %.096138.us147
  %.not153 = icmp eq i32 %83, 0
  br i1 %.not153, label %._crit_edge137.us, label %.lr.ph136.us

._crit_edge137.us.loopexit:                       ; preds = %._crit_edge133.us
  %.pre183 = load i32, ptr %75, align 8, !tbaa !22
  br label %._crit_edge137.us

._crit_edge137.us:                                ; preds = %._crit_edge137.us.loopexit, %.lr.ph140.split.us149
  %88 = phi i32 [ %.pre183, %._crit_edge137.us.loopexit ], [ %81, %.lr.ph140.split.us149 ]
  %89 = phi i32 [ %98, %._crit_edge137.us.loopexit ], [ %82, %.lr.ph140.split.us149 ]
  %90 = phi i32 [ %98, %._crit_edge137.us.loopexit ], [ 0, %.lr.ph140.split.us149 ]
  %91 = add nuw i32 %.096138.us147, 1
  %92 = icmp ult i32 %91, %88
  br i1 %92, label %.lr.ph140.split.us149, label %.thread115.us, !llvm.loop !24

.lr.ph136.us:                                     ; preds = %.lr.ph140.split.us149, %._crit_edge133.us
  %93 = phi i32 [ %98, %._crit_edge133.us ], [ %82, %.lr.ph140.split.us149 ]
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %._crit_edge133.us ], [ 0, %.lr.ph140.split.us149 ]
  %94 = load ptr, ptr %46, align 8, !tbaa !26
  %95 = getelementptr inbounds %struct.hash_calc_output_, ptr %94, i64 %indvars.iv169
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load i32, ptr %96, align 4, !tbaa !29
  %.not154 = icmp eq i32 %97, 0
  br i1 %.not154, label %._crit_edge133.us, label %.lr.ph132.us

._crit_edge133.us.loopexit:                       ; preds = %101
  %.pre = load i32, ptr %45, align 8, !tbaa !31
  br label %._crit_edge133.us

._crit_edge133.us:                                ; preds = %._crit_edge133.us.loopexit, %.lr.ph136.us
  %98 = phi i32 [ %.pre, %._crit_edge133.us.loopexit ], [ %93, %.lr.ph136.us ]
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %99 = zext i32 %98 to i64
  %100 = icmp ult i64 %indvars.iv.next170, %99
  br i1 %100, label %.lr.ph136.us, label %._crit_edge137.us.loopexit, !llvm.loop !32

101:                                              ; preds = %.lr.ph132.us, %101
  %.091130.us = phi i32 [ 0, %.lr.ph132.us ], [ %107, %101 ]
  %102 = load i32, ptr %111, align 4, !tbaa !33
  %103 = add i32 %102, %.091130.us
  %104 = call noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef nonnull %5, i32 noundef %87, i32 noundef %103)
  %105 = call noundef zeroext i1 @_Z14get_matrix_bitPA52_12hash_column_jj(ptr noundef nonnull %5, i32 noundef %85, i32 noundef %103)
  %106 = xor i1 %104, %105
  call void @_Z21initialize_matrix_bitPA52_12hash_column_jjb(ptr noundef %3, i32 noundef %85, i32 noundef %103, i1 noundef zeroext %106)
  %107 = add nuw i32 %.091130.us, 1
  %108 = load i32, ptr %96, align 4, !tbaa !29
  %109 = icmp ult i32 %107, %108
  br i1 %109, label %101, label %._crit_edge133.us.loopexit, !llvm.loop !34

.thread115.us:                                    ; preds = %70, %73, %._crit_edge137.us, %.lr.ph140.us, %79, %74, %59, %.thread114.us, %52, %49
  %.2.us = phi i32 [ %.0104141.us, %52 ], [ %.0104141.us, %.thread114.us ], [ %.0104141.us, %59 ], [ %.0104141.us, %74 ], [ %.0104141.us, %49 ], [ %80, %79 ], [ %80, %.lr.ph140.us ], [ %80, %._crit_edge137.us ], [ %.0104141.us, %73 ], [ %.0104141.us, %70 ]
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %exitcond177.not = icmp eq i64 %indvars.iv.next173, %wide.trip.count176
  br i1 %exitcond177.not, label %._crit_edge144.us, label %49, !llvm.loop !35

.preheader.us:                                    ; preds = %59
  %110 = load i32, ptr %48, align 4, !tbaa !20
  br label %63

.lr.ph132.us:                                     ; preds = %.lr.ph136.us
  %111 = getelementptr inbounds i8, ptr %95, i64 4
  br label %101

.lr.ph140.us:                                     ; preds = %79
  %112 = getelementptr inbounds i8, ptr %50, i64 4
  %113 = getelementptr inbounds i8, ptr %64, i64 4
  %114 = load i32, ptr %45, align 8, !tbaa !31
  %.not152 = icmp eq i32 %114, 0
  br i1 %.not152, label %.thread115.us, label %.lr.ph140.split.us149

._crit_edge144.us:                                ; preds = %.thread115.us
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %exitcond182.not = icmp eq i64 %indvars.iv.next179, %wide.trip.count181
  br i1 %exitcond182.not, label %._crit_edge146, label %.preheader119.us, !llvm.loop !36

.lr.ph126:                                        ; preds = %40, %133
  %indvars.iv159 = phi i64 [ %indvars.iv.next160, %133 ], [ 0, %40 ]
  %.0125 = phi i32 [ %.1, %133 ], [ 0, %40 ]
  %115 = getelementptr inbounds %struct.ixbar_input_, ptr %1, i64 %indvars.iv159
  %116 = load i32, ptr %115, align 8, !tbaa !5
  switch i32 %116, label %.thread113 [
    i32 1, label %117
    i32 0, label %133
  ]

117:                                              ; preds = %.lr.ph126
  %118 = getelementptr inbounds i8, ptr %115, i64 24
  %119 = load i8, ptr %118, align 8, !tbaa !13, !range !14, !noundef !15
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %.thread113, label %133

.thread113:                                       ; preds = %.lr.ph126, %117
  %121 = getelementptr inbounds i8, ptr %115, i64 12
  %122 = load i8, ptr %121, align 4, !tbaa !16, !range !14, !noundef !15
  %123 = icmp eq i8 %122, 0
  br i1 %123, label %133, label %124

124:                                              ; preds = %.thread113
  %125 = getelementptr inbounds i8, ptr %115, i64 16
  %126 = load i32, ptr %125, align 4, !tbaa !19
  %127 = zext i32 %.0125 to i64
  %128 = getelementptr inbounds i32, ptr %36, i64 %127
  store i32 %126, ptr %128, align 4, !tbaa !20
  %129 = getelementptr inbounds i8, ptr %115, i64 20
  %130 = load i32, ptr %129, align 4, !tbaa !37
  %131 = getelementptr inbounds i32, ptr %41, i64 %127
  store i32 %130, ptr %131, align 4, !tbaa !20
  %132 = add i32 %.0125, 1
  br label %133

133:                                              ; preds = %.lr.ph126, %.thread113, %117, %124
  %.1 = phi i32 [ %132, %124 ], [ %.0125, %117 ], [ %.0125, %.thread113 ], [ %.0125, %.lr.ph126 ]
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond163.not = icmp eq i64 %indvars.iv.next160, %wide.trip.count
  br i1 %exitcond163.not, label %.preheader120, label %.lr.ph126, !llvm.loop !38

._crit_edge146:                                   ; preds = %._crit_edge144.us, %.preheader120
  call void @free(ptr noundef %36) #8
  call void @free(ptr noundef %41) #8
  br label %.critedge

.critedge:                                        ; preds = %4, %._crit_edge, %._crit_edge146
  call void @llvm.lifetime.end.p0(i64 13312, ptr nonnull %5) #8
  ret void
}

; 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: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #7

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { nounwind allocsize(0,1) }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS12ixbar_input_", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 12, !8, i64 24}
!7 = !{!"_ZTS16ixbar_input_type", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS20hash_symmetric_info_", !12, i64 0, !10, i64 4, !10, i64 8}
!12 = !{!"bool", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!6, !12, i64 12}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!6, !10, i64 16}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !18}
!22 = !{!6, !10, i64 8}
!23 = !{!6, !10, i64 4}
!24 = distinct !{!24, !18, !25}
!25 = !{!"llvm.loop.unswitch.partial.disable"}
!26 = !{!27, !28, i64 16}
!27 = !{!"_ZTS11ixbar_init_", !28, i64 0, !10, i64 8, !28, i64 16, !10, i64 24, !10, i64 28}
!28 = !{!"any pointer", !8, i64 0}
!29 = !{!30, !10, i64 8}
!30 = !{!"_ZTS17hash_calc_output_", !10, i64 0, !10, i64 4, !10, i64 8}
!31 = !{!27, !10, i64 24}
!32 = distinct !{!32, !18}
!33 = !{!30, !10, i64 4}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}
!36 = distinct !{!36, !18}
!37 = !{!6, !10, i64 20}
!38 = distinct !{!38, !18}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass