; LLVM IR from libxsmm/libxsmm :: src (libxsmm_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"

@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__.internal_crc32_sse4 = external hidden unnamed_addr constant [69 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, 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: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u8(i32 noundef, i8 noundef zeroext) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u16(i32 noundef, i16 noundef zeroext) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u32(i32 noundef, i32 noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i64 @_mm_crc32_u64(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @internal_crc32_sse4(i32 noundef %0, ptr noundef %1, i64 noundef %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !11
  %15 = load ptr, ptr %5, align 8, !tbaa !9
  %16 = icmp ne ptr null, %15
  br i1 %16, label %20, label %17

17:                                               ; preds = %3
  %18 = load i64, ptr %6, align 8, !tbaa !11
  %19 = icmp eq i64 0, %18
  br i1 %19, label %20, label %21

20:                                               ; preds = %17, %3
  br label %22

21:                                               ; preds = %17
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 296, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

22:                                               ; preds = %20
  br label %23

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %24 = load ptr, ptr %5, align 8, !tbaa !9
  store ptr %24, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %25 = load ptr, ptr %7, align 8, !tbaa !9
  %26 = load i64, ptr %6, align 8, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %25, i64 %26
  store ptr %27, ptr %8, align 8, !tbaa !9
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = ptrtoint ptr %28 to i64
  %30 = and i64 %29, 7
  %31 = icmp eq i64 0, %30
  br i1 %31, label %32, label %127

32:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %33 = load ptr, ptr %7, align 8, !tbaa !9
  %34 = load ptr, ptr %7, align 8, !tbaa !9
  %35 = ptrtoint ptr %34 to i64
  %36 = add i64 %35, 7
  %37 = and i64 %36, -8
  %38 = load ptr, ptr %7, align 8, !tbaa !9
  %39 = ptrtoint ptr %38 to i64
  %40 = sub i64 %37, %39
  %41 = udiv i64 %40, 1
  %42 = getelementptr inbounds i8, ptr %33, i64 %41
  store ptr %42, ptr %9, align 8, !tbaa !9
  %43 = load i64, ptr %6, align 8, !tbaa !11
  %44 = load ptr, ptr %8, align 8, !tbaa !9
  %45 = load ptr, ptr %9, align 8, !tbaa !9
  %46 = ptrtoint ptr %44 to i64
  %47 = ptrtoint ptr %45 to i64
  %48 = sub i64 %46, %47
  %49 = icmp ugt i64 %43, %48
  br i1 %49, label %50, label %119

50:                                               ; preds = %32
  br label %51

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %52 = load ptr, ptr %7, align 8, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %52, i64 4
  store ptr %53, ptr %10, align 8, !tbaa !9
  %54 = load ptr, ptr %10, align 8, !tbaa !9
  %55 = load ptr, ptr %9, align 8, !tbaa !9
  %56 = icmp ule ptr %54, %55
  br i1 %56, label %57, label %71

57:                                               ; preds = %51
  %58 = load ptr, ptr %7, align 8, !tbaa !9
  %59 = icmp ne ptr null, %58
  br i1 %59, label %63, label %60

60:                                               ; preds = %57
  %61 = load ptr, ptr %9, align 8, !tbaa !9
  %62 = icmp eq ptr null, %61
  br i1 %62, label %63, label %64

63:                                               ; preds = %60, %57
  br label %65

64:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

65:                                               ; preds = %63
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = load ptr, ptr %7, align 8, !tbaa !9
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = call i32 @_mm_crc32_u32(i32 noundef %66, i32 noundef %68)
  store i32 %69, ptr %4, align 4, !tbaa !5
  %70 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %70, ptr %7, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %65, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  br label %74

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %75 = load ptr, ptr %7, align 8, !tbaa !9
  %76 = getelementptr inbounds i8, ptr %75, i64 2
  store ptr %76, ptr %11, align 8, !tbaa !9
  %77 = load ptr, ptr %11, align 8, !tbaa !9
  %78 = load ptr, ptr %9, align 8, !tbaa !9
  %79 = icmp ule ptr %77, %78
  br i1 %79, label %80, label %94

80:                                               ; preds = %74
  %81 = load ptr, ptr %7, align 8, !tbaa !9
  %82 = icmp ne ptr null, %81
  br i1 %82, label %86, label %83

83:                                               ; preds = %80
  %84 = load ptr, ptr %9, align 8, !tbaa !9
  %85 = icmp eq ptr null, %84
  br i1 %85, label %86, label %87

86:                                               ; preds = %83, %80
  br label %88

87:                                               ; preds = %83
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

88:                                               ; preds = %86
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = load ptr, ptr %7, align 8, !tbaa !9
  %91 = load i16, ptr %90, align 2, !tbaa !13
  %92 = call i32 @_mm_crc32_u16(i32 noundef %89, i16 noundef zeroext %91)
  store i32 %92, ptr %4, align 4, !tbaa !5
  %93 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %93, ptr %7, align 8, !tbaa !9
  br label %94

94:                                               ; preds = %88, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  %98 = load ptr, ptr %7, align 8, !tbaa !9
  %99 = load ptr, ptr %9, align 8, !tbaa !9
  %100 = icmp ult ptr %98, %99
  br i1 %100, label %101, label %116

101:                                              ; preds = %97
  %102 = load ptr, ptr %7, align 8, !tbaa !9
  %103 = icmp ne ptr null, %102
  br i1 %103, label %107, label %104

104:                                              ; preds = %101
  %105 = load ptr, ptr %9, align 8, !tbaa !9
  %106 = icmp eq ptr null, %105
  br i1 %106, label %107, label %108

107:                                              ; preds = %104, %101
  br label %109

108:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

109:                                              ; preds = %107
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = load ptr, ptr %7, align 8, !tbaa !9
  %112 = load i8, ptr %111, align 1, !tbaa !15
  %113 = call i32 @_mm_crc32_u8(i32 noundef %110, i8 noundef zeroext %112)
  store i32 %113, ptr %4, align 4, !tbaa !5
  %114 = load ptr, ptr %7, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %114, i32 1
  store ptr %115, ptr %7, align 8, !tbaa !9
  br label %116

116:                                              ; preds = %109, %97
  br label %117

117:                                              ; preds = %116
  br label %118

118:                                              ; preds = %117
  br label %119

119:                                              ; preds = %118, %32
  %120 = load ptr, ptr %7, align 8, !tbaa !9
  %121 = ptrtoint ptr %120 to i64
  %122 = urem i64 %121, 8
  %123 = icmp eq i64 0, %122
  br i1 %123, label %124, label %125

124:                                              ; preds = %119
  br label %126

125:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

126:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %127

127:                                              ; preds = %126, %23
  br label %128

128:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %129 = load ptr, ptr %8, align 8, !tbaa !9
  %130 = icmp ne ptr null, %129
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = load ptr, ptr %8, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %132, i64 -7
  br label %135

134:                                              ; preds = %128
  br label %135

135:                                              ; preds = %134, %131
  %136 = phi ptr [ %133, %131 ], [ null, %134 ]
  store ptr %136, ptr %12, align 8, !tbaa !9
  br label %137

137:                                              ; preds = %156, %135
  %138 = load ptr, ptr %7, align 8, !tbaa !9
  %139 = load ptr, ptr %12, align 8, !tbaa !9
  %140 = icmp ult ptr %138, %139
  br i1 %140, label %141, label %159

141:                                              ; preds = %137
  %142 = load ptr, ptr %7, align 8, !tbaa !9
  %143 = icmp ne ptr null, %142
  br i1 %143, label %147, label %144

144:                                              ; preds = %141
  %145 = load ptr, ptr %8, align 8, !tbaa !9
  %146 = icmp eq ptr null, %145
  br i1 %146, label %147, label %148

147:                                              ; preds = %144, %141
  br label %149

148:                                              ; preds = %144
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

149:                                              ; preds = %147
  %150 = load i32, ptr %4, align 4, !tbaa !5
  %151 = zext i32 %150 to i64
  %152 = load ptr, ptr %7, align 8, !tbaa !9
  %153 = load i64, ptr %152, align 8, !tbaa !11
  %154 = call i64 @_mm_crc32_u64(i64 noundef %151, i64 noundef %153)
  %155 = trunc i64 %154 to i32
  store i32 %155, ptr %4, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %149
  %157 = load ptr, ptr %7, align 8, !tbaa !9
  %158 = getelementptr inbounds i8, ptr %157, i64 8
  store ptr %158, ptr %7, align 8, !tbaa !9
  br label %137, !llvm.loop !16

159:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %160

160:                                              ; preds = %159
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %163 = load ptr, ptr %7, align 8, !tbaa !9
  %164 = getelementptr inbounds i8, ptr %163, i64 4
  store ptr %164, ptr %13, align 8, !tbaa !9
  %165 = load ptr, ptr %13, align 8, !tbaa !9
  %166 = load ptr, ptr %8, align 8, !tbaa !9
  %167 = icmp ule ptr %165, %166
  br i1 %167, label %168, label %182

168:                                              ; preds = %162
  %169 = load ptr, ptr %7, align 8, !tbaa !9
  %170 = icmp ne ptr null, %169
  br i1 %170, label %174, label %171

171:                                              ; preds = %168
  %172 = load ptr, ptr %8, align 8, !tbaa !9
  %173 = icmp eq ptr null, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %171, %168
  br label %176

175:                                              ; preds = %171
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

176:                                              ; preds = %174
  %177 = load i32, ptr %4, align 4, !tbaa !5
  %178 = load ptr, ptr %7, align 8, !tbaa !9
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = call i32 @_mm_crc32_u32(i32 noundef %177, i32 noundef %179)
  store i32 %180, ptr %4, align 4, !tbaa !5
  %181 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %181, ptr %7, align 8, !tbaa !9
  br label %182

182:                                              ; preds = %176, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %183

183:                                              ; preds = %182
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %186 = load ptr, ptr %7, align 8, !tbaa !9
  %187 = getelementptr inbounds i8, ptr %186, i64 2
  store ptr %187, ptr %14, align 8, !tbaa !9
  %188 = load ptr, ptr %14, align 8, !tbaa !9
  %189 = load ptr, ptr %8, align 8, !tbaa !9
  %190 = icmp ule ptr %188, %189
  br i1 %190, label %191, label %205

191:                                              ; preds = %185
  %192 = load ptr, ptr %7, align 8, !tbaa !9
  %193 = icmp ne ptr null, %192
  br i1 %193, label %197, label %194

194:                                              ; preds = %191
  %195 = load ptr, ptr %8, align 8, !tbaa !9
  %196 = icmp eq ptr null, %195
  br i1 %196, label %197, label %198

197:                                              ; preds = %194, %191
  br label %199

198:                                              ; preds = %194
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 298, ptr noundef @__PRETTY_FUNCTION__.internal_crc32_sse4) #4
  unreachable

199:                                              ; preds = %197
  %200 = load i32, ptr %4, align 4, !tbaa !5
  %201 = load ptr, ptr %7, align 8, !tbaa !9
  %202 = load i16, ptr %201, align 2, !tbaa !13
  %203 = call i32 @_mm_crc32_u16(i32 noundef %200, i16 noundef zeroext %202)
  store i32 %203, ptr %4, align 4, !tbaa !5
  %204 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %204, ptr %7, align 8, !tbaa !9
  br label %205

205:                                              ; preds = %199, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %206

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %7, align 8, !tbaa !9
  %209 = load ptr, ptr %8, align 8, !tbaa !9
  %210 = icmp eq ptr %208, %209
  br i1 %210, label %211, label %213

211:                                              ; preds = %207
  %212 = load i32, ptr %4, align 4, !tbaa !5
  br label %218

213:                                              ; preds = %207
  %214 = load i32, ptr %4, align 4, !tbaa !5
  %215 = load ptr, ptr %7, align 8, !tbaa !9
  %216 = load i8, ptr %215, align 1, !tbaa !15
  %217 = call i32 @_mm_crc32_u8(i32 noundef %214, i8 noundef zeroext %216)
  br label %218

218:                                              ; preds = %213, %211
  %219 = phi i32 [ %212, %211 ], [ %217, %213 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %220

220:                                              ; preds = %218
  ret i32 %219
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+crc32,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind }
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 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.1 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__.internal_crc32_sse4 = external hidden unnamed_addr constant [69 x i8], align 1

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u8(i32 noundef, i8 noundef zeroext) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u16(i32 noundef, i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i32 @_mm_crc32_u32(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden i64 @_mm_crc32_u64(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @internal_crc32_sse4(i32 noundef %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #2 {
  %4 = icmp ne ptr %1, null
  %5 = icmp eq i64 %2, 0
  %or.cond = or i1 %4, %5
  br i1 %or.cond, label %7, label %6

6:                                                ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 296, ptr noundef nonnull @__PRETTY_FUNCTION__.internal_crc32_sse4) #3
  unreachable

7:                                                ; preds = %3
  %8 = getelementptr inbounds i8, ptr %1, i64 %2
  %9 = getelementptr inbounds i8, ptr %8, i64 -7
  %10 = icmp ugt ptr %9, %1
  %11 = select i1 %4, i1 %10, i1 false
  br i1 %11, label %.lr.ph.split.split, label %._crit_edge

.lr.ph.split.split:                               ; preds = %7, %.lr.ph.split.split
  %.499 = phi i32 [ %15, %.lr.ph.split.split ], [ %0, %7 ]
  %.48298 = phi ptr [ %16, %.lr.ph.split.split ], [ %1, %7 ]
  %12 = zext i32 %.499 to i64
  %13 = load i64, ptr %.48298, align 8, !tbaa !5
  %14 = tail call i64 @_mm_crc32_u64(i64 noundef %12, i64 noundef %13)
  %15 = trunc i64 %14 to i32
  %16 = getelementptr inbounds i8, ptr %.48298, i64 8
  %17 = icmp ugt ptr %9, %16
  br i1 %17, label %.lr.ph.split.split, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph.split.split, %7
  %.482.lcssa = phi ptr [ %1, %7 ], [ %16, %.lr.ph.split.split ]
  %.4.lcssa = phi i32 [ %0, %7 ], [ %15, %.lr.ph.split.split ]
  %18 = getelementptr inbounds i8, ptr %.482.lcssa, i64 4
  %.not93 = icmp ugt ptr %18, %8
  br i1 %.not93, label %26, label %19

19:                                               ; preds = %._crit_edge
  %20 = icmp ne ptr %.482.lcssa, null
  %21 = icmp eq ptr %1, null
  %or.cond11 = or i1 %21, %20
  br i1 %or.cond11, label %23, label %22

22:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 298, ptr noundef nonnull @__PRETTY_FUNCTION__.internal_crc32_sse4) #3
  unreachable

23:                                               ; preds = %19
  %24 = load i32, ptr %.482.lcssa, align 4, !tbaa !11
  %25 = tail call i32 @_mm_crc32_u32(i32 noundef %.4.lcssa, i32 noundef %24)
  br label %26

26:                                               ; preds = %23, %._crit_edge
  %.583 = phi ptr [ %18, %23 ], [ %.482.lcssa, %._crit_edge ]
  %.5 = phi i32 [ %25, %23 ], [ %.4.lcssa, %._crit_edge ]
  %27 = getelementptr inbounds i8, ptr %.583, i64 2
  %.not94 = icmp ugt ptr %27, %8
  br i1 %.not94, label %35, label %28

28:                                               ; preds = %26
  %29 = icmp ne ptr %.583, null
  %30 = icmp eq ptr %1, null
  %or.cond13 = or i1 %30, %29
  br i1 %or.cond13, label %32, label %31

31:                                               ; preds = %28
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 298, ptr noundef nonnull @__PRETTY_FUNCTION__.internal_crc32_sse4) #3
  unreachable

32:                                               ; preds = %28
  %33 = load i16, ptr %.583, align 2, !tbaa !13
  %34 = tail call i32 @_mm_crc32_u16(i32 noundef %.5, i16 noundef zeroext %33)
  br label %35

35:                                               ; preds = %32, %26
  %.684 = phi ptr [ %27, %32 ], [ %.583, %26 ]
  %.6 = phi i32 [ %34, %32 ], [ %.5, %26 ]
  %36 = icmp eq ptr %.684, %8
  br i1 %36, label %40, label %37

37:                                               ; preds = %35
  %38 = load i8, ptr %.684, align 1, !tbaa !15
  %39 = tail call i32 @_mm_crc32_u8(i32 noundef %.6, i8 noundef zeroext %38)
  br label %40

40:                                               ; preds = %35, %37
  %41 = phi i32 [ %39, %37 ], [ %.6, %35 ]
  ret i32 %41
}

attributes #0 = { 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 #1 = { alwaysinline nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+crc32,+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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass