; LLVM IR from FlorentCLMichel/palisade :: src/core/lib/utils (hashutil)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::_Setw" = type { i32 }

@_ZN8lbcrypto8HashUtil5k_256E = external dso_local constant [64 x i32], align 16
@__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256 = external hidden unnamed_addr constant [8 x i32], align 16

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [8 x i32], align 16
  %6 = alloca i64, align 8
  %7 = alloca i16, align 2
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca [64 x i32], align 16
  %12 = alloca i16, align 2
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %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 i32, align 4
  %32 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca i64, align 8
  %36 = alloca %"struct.std::_Setw", align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %37 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %38 = mul i64 %37, 8
  store i64 %38, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #6
  store i16 1, ptr %7, align 2, !tbaa !11
  br label %39

39:                                               ; preds = %46, %2
  %40 = load i64, ptr %6, align 8, !tbaa !9
  %41 = load i16, ptr %7, align 2, !tbaa !11
  %42 = zext i16 %41 to i64
  %43 = add i64 %40, %42
  %44 = urem i64 %43, 512
  %45 = icmp ne i64 %44, 448
  br i1 %45, label %46, label %49

46:                                               ; preds = %39
  %47 = load i16, ptr %7, align 2, !tbaa !11
  %48 = add i16 %47, 1
  store i16 %48, ptr %7, align 2, !tbaa !11
  br label %39, !llvm.loop !13

49:                                               ; preds = %39
  %50 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext -128)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !15
  br label %51

51:                                               ; preds = %61, %49
  %52 = load i32, ptr %8, align 4, !tbaa !15
  %53 = load i16, ptr %7, align 2, !tbaa !11
  %54 = zext i16 %53 to i32
  %55 = sdiv i32 %54, 8
  %56 = sub nsw i32 %55, 1
  %57 = icmp slt i32 %52, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %64

59:                                               ; preds = %51
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext 0)
  br label %61

61:                                               ; preds = %59
  %62 = load i32, ptr %8, align 4, !tbaa !15
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %8, align 4, !tbaa !15
  br label %51, !llvm.loop !17

64:                                               ; preds = %58
  %65 = load i64, ptr %6, align 8, !tbaa !9
  %66 = and i64 %65, -72057594037927936
  %67 = lshr i64 %66, 56
  %68 = trunc i64 %67 to i8
  %69 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %68)
  %70 = load i64, ptr %6, align 8, !tbaa !9
  %71 = and i64 %70, 71776119061217280
  %72 = lshr i64 %71, 48
  %73 = trunc i64 %72 to i8
  %74 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %73)
  %75 = load i64, ptr %6, align 8, !tbaa !9
  %76 = and i64 %75, 280375465082880
  %77 = lshr i64 %76, 40
  %78 = trunc i64 %77 to i8
  %79 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %78)
  %80 = load i64, ptr %6, align 8, !tbaa !9
  %81 = and i64 %80, 1095216660480
  %82 = lshr i64 %81, 32
  %83 = trunc i64 %82 to i8
  %84 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %83)
  %85 = load i64, ptr %6, align 8, !tbaa !9
  %86 = and i64 %85, 4278190080
  %87 = lshr i64 %86, 24
  %88 = trunc i64 %87 to i8
  %89 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %88)
  %90 = load i64, ptr %6, align 8, !tbaa !9
  %91 = and i64 %90, 16711680
  %92 = lshr i64 %91, 16
  %93 = trunc i64 %92 to i8
  %94 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %93)
  %95 = load i64, ptr %6, align 8, !tbaa !9
  %96 = and i64 %95, 65280
  %97 = lshr i64 %96, 8
  %98 = trunc i64 %97 to i8
  %99 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %98)
  %100 = load i64, ptr %6, align 8, !tbaa !9
  %101 = and i64 %100, 255
  %102 = trunc i64 %101 to i8
  %103 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %102)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %395, %64
  %105 = load i64, ptr %9, align 8, !tbaa !9
  %106 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %107 = mul i64 %106, 8
  %108 = udiv i64 %107, 512
  %109 = icmp ult i64 %105, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %104
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %398

111:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 256, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  store i16 0, ptr %12, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %112 = load i64, ptr %9, align 8, !tbaa !9
  %113 = mul i64 64, %112
  store i64 %113, ptr %13, align 8, !tbaa !9
  br label %114

114:                                              ; preds = %156, %111
  %115 = load i64, ptr %13, align 8, !tbaa !9
  %116 = load i64, ptr %9, align 8, !tbaa !9
  %117 = add i64 %116, 1
  %118 = mul i64 64, %117
  %119 = icmp ult i64 %115, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %114
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %159

121:                                              ; preds = %114
  %122 = load i64, ptr %13, align 8, !tbaa !9
  %123 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %122)
  %124 = load i8, ptr %123, align 1, !tbaa !18
  %125 = sext i8 %124 to i32
  %126 = and i32 %125, 255
  %127 = shl i32 %126, 24
  %128 = load i64, ptr %13, align 8, !tbaa !9
  %129 = add i64 %128, 1
  %130 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %129)
  %131 = load i8, ptr %130, align 1, !tbaa !18
  %132 = sext i8 %131 to i32
  %133 = and i32 %132, 255
  %134 = shl i32 %133, 16
  %135 = xor i32 %127, %134
  %136 = load i64, ptr %13, align 8, !tbaa !9
  %137 = add i64 %136, 2
  %138 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %137)
  %139 = load i8, ptr %138, align 1, !tbaa !18
  %140 = sext i8 %139 to i32
  %141 = and i32 %140, 255
  %142 = shl i32 %141, 8
  %143 = xor i32 %135, %142
  %144 = load i64, ptr %13, align 8, !tbaa !9
  %145 = add i64 %144, 3
  %146 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %145)
  %147 = load i8, ptr %146, align 1, !tbaa !18
  %148 = sext i8 %147 to i32
  %149 = and i32 %148, 255
  %150 = xor i32 %143, %149
  %151 = load i16, ptr %12, align 2, !tbaa !11
  %152 = sext i16 %151 to i64
  %153 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %152
  store i32 %150, ptr %153, align 4, !tbaa !15
  %154 = load i16, ptr %12, align 2, !tbaa !11
  %155 = add i16 %154, 1
  store i16 %155, ptr %12, align 2, !tbaa !11
  br label %156

156:                                              ; preds = %121
  %157 = load i64, ptr %13, align 8, !tbaa !9
  %158 = add i64 %157, 4
  store i64 %158, ptr %13, align 8, !tbaa !9
  br label %114, !llvm.loop !19

159:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 16, ptr %14, align 4, !tbaa !15
  br label %160

160:                                              ; preds = %251, %159
  %161 = load i32, ptr %14, align 4, !tbaa !15
  %162 = icmp slt i32 %161, 64
  br i1 %162, label %164, label %163

163:                                              ; preds = %160
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %254

164:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %165 = load i32, ptr %14, align 4, !tbaa !15
  %166 = sub nsw i32 %165, 15
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !15
  %170 = lshr i32 %169, 7
  %171 = load i32, ptr %14, align 4, !tbaa !15
  %172 = sub nsw i32 %171, 15
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %173
  %175 = load i32, ptr %174, align 4, !tbaa !15
  %176 = shl i32 %175, 25
  %177 = or i32 %170, %176
  %178 = load i32, ptr %14, align 4, !tbaa !15
  %179 = sub nsw i32 %178, 15
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !15
  %183 = lshr i32 %182, 18
  %184 = load i32, ptr %14, align 4, !tbaa !15
  %185 = sub nsw i32 %184, 15
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !15
  %189 = shl i32 %188, 14
  %190 = or i32 %183, %189
  %191 = xor i32 %177, %190
  %192 = load i32, ptr %14, align 4, !tbaa !15
  %193 = sub nsw i32 %192, 15
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !15
  %197 = lshr i32 %196, 3
  %198 = xor i32 %191, %197
  store i32 %198, ptr %15, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %199 = load i32, ptr %14, align 4, !tbaa !15
  %200 = sub nsw i32 %199, 2
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !15
  %204 = lshr i32 %203, 17
  %205 = load i32, ptr %14, align 4, !tbaa !15
  %206 = sub nsw i32 %205, 2
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %207
  %209 = load i32, ptr %208, align 4, !tbaa !15
  %210 = shl i32 %209, 15
  %211 = or i32 %204, %210
  %212 = load i32, ptr %14, align 4, !tbaa !15
  %213 = sub nsw i32 %212, 2
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !15
  %217 = lshr i32 %216, 19
  %218 = load i32, ptr %14, align 4, !tbaa !15
  %219 = sub nsw i32 %218, 2
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %220
  %222 = load i32, ptr %221, align 4, !tbaa !15
  %223 = shl i32 %222, 13
  %224 = or i32 %217, %223
  %225 = xor i32 %211, %224
  %226 = load i32, ptr %14, align 4, !tbaa !15
  %227 = sub nsw i32 %226, 2
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %228
  %230 = load i32, ptr %229, align 4, !tbaa !15
  %231 = lshr i32 %230, 10
  %232 = xor i32 %225, %231
  store i32 %232, ptr %16, align 4, !tbaa !15
  %233 = load i32, ptr %14, align 4, !tbaa !15
  %234 = sub nsw i32 %233, 16
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !15
  %238 = load i32, ptr %15, align 4, !tbaa !15
  %239 = add i32 %237, %238
  %240 = load i32, ptr %14, align 4, !tbaa !15
  %241 = sub nsw i32 %240, 7
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %242
  %244 = load i32, ptr %243, align 4, !tbaa !15
  %245 = add i32 %239, %244
  %246 = load i32, ptr %16, align 4, !tbaa !15
  %247 = add i32 %245, %246
  %248 = load i32, ptr %14, align 4, !tbaa !15
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %249
  store i32 %247, ptr %250, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %251

251:                                              ; preds = %164
  %252 = load i32, ptr %14, align 4, !tbaa !15
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %14, align 4, !tbaa !15
  br label %160, !llvm.loop !20

254:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %255 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
  %256 = load i32, ptr %255, align 16, !tbaa !15
  store i32 %256, ptr %17, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %257 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 1
  %258 = load i32, ptr %257, align 4, !tbaa !15
  store i32 %258, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %259 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 2
  %260 = load i32, ptr %259, align 8, !tbaa !15
  store i32 %260, ptr %19, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %261 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 3
  %262 = load i32, ptr %261, align 4, !tbaa !15
  store i32 %262, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %263 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 4
  %264 = load i32, ptr %263, align 16, !tbaa !15
  store i32 %264, ptr %21, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %265 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 5
  %266 = load i32, ptr %265, align 4, !tbaa !15
  store i32 %266, ptr %22, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %267 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 6
  %268 = load i32, ptr %267, align 8, !tbaa !15
  store i32 %268, ptr %23, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %269 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 7
  %270 = load i32, ptr %269, align 4, !tbaa !15
  store i32 %270, ptr %24, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !15
  br label %271

271:                                              ; preds = %359, %254
  %272 = load i32, ptr %25, align 4, !tbaa !15
  %273 = icmp slt i32 %272, 64
  br i1 %273, label %275, label %274

274:                                              ; preds = %271
  store i32 16, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %362

275:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %276 = load i32, ptr %21, align 4, !tbaa !15
  %277 = lshr i32 %276, 6
  %278 = load i32, ptr %21, align 4, !tbaa !15
  %279 = shl i32 %278, 26
  %280 = or i32 %277, %279
  %281 = load i32, ptr %21, align 4, !tbaa !15
  %282 = lshr i32 %281, 11
  %283 = load i32, ptr %21, align 4, !tbaa !15
  %284 = shl i32 %283, 21
  %285 = or i32 %282, %284
  %286 = xor i32 %280, %285
  %287 = load i32, ptr %21, align 4, !tbaa !15
  %288 = lshr i32 %287, 25
  %289 = load i32, ptr %21, align 4, !tbaa !15
  %290 = shl i32 %289, 7
  %291 = or i32 %288, %290
  %292 = xor i32 %286, %291
  store i32 %292, ptr %26, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %293 = load i32, ptr %21, align 4, !tbaa !15
  %294 = load i32, ptr %22, align 4, !tbaa !15
  %295 = and i32 %293, %294
  %296 = load i32, ptr %21, align 4, !tbaa !15
  %297 = xor i32 %296, -1
  %298 = load i32, ptr %23, align 4, !tbaa !15
  %299 = and i32 %297, %298
  %300 = xor i32 %295, %299
  store i32 %300, ptr %27, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %301 = load i32, ptr %24, align 4, !tbaa !15
  %302 = load i32, ptr %26, align 4, !tbaa !15
  %303 = add i32 %301, %302
  %304 = load i32, ptr %27, align 4, !tbaa !15
  %305 = add i32 %303, %304
  %306 = load i32, ptr %25, align 4, !tbaa !15
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [64 x i32], ptr @_ZN8lbcrypto8HashUtil5k_256E, i64 0, i64 %307
  %309 = load i32, ptr %308, align 4, !tbaa !15
  %310 = add i32 %305, %309
  %311 = load i32, ptr %25, align 4, !tbaa !15
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds [64 x i32], ptr %11, i64 0, i64 %312
  %314 = load i32, ptr %313, align 4, !tbaa !15
  %315 = add i32 %310, %314
  store i32 %315, ptr %28, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %316 = load i32, ptr %17, align 4, !tbaa !15
  %317 = lshr i32 %316, 2
  %318 = load i32, ptr %17, align 4, !tbaa !15
  %319 = shl i32 %318, 30
  %320 = or i32 %317, %319
  %321 = load i32, ptr %17, align 4, !tbaa !15
  %322 = lshr i32 %321, 13
  %323 = load i32, ptr %17, align 4, !tbaa !15
  %324 = shl i32 %323, 19
  %325 = or i32 %322, %324
  %326 = xor i32 %320, %325
  %327 = load i32, ptr %17, align 4, !tbaa !15
  %328 = lshr i32 %327, 22
  %329 = load i32, ptr %17, align 4, !tbaa !15
  %330 = shl i32 %329, 10
  %331 = or i32 %328, %330
  %332 = xor i32 %326, %331
  store i32 %332, ptr %29, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %333 = load i32, ptr %17, align 4, !tbaa !15
  %334 = load i32, ptr %18, align 4, !tbaa !15
  %335 = and i32 %333, %334
  %336 = load i32, ptr %17, align 4, !tbaa !15
  %337 = load i32, ptr %19, align 4, !tbaa !15
  %338 = and i32 %336, %337
  %339 = xor i32 %335, %338
  %340 = load i32, ptr %18, align 4, !tbaa !15
  %341 = load i32, ptr %19, align 4, !tbaa !15
  %342 = and i32 %340, %341
  %343 = xor i32 %339, %342
  store i32 %343, ptr %30, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %344 = load i32, ptr %29, align 4, !tbaa !15
  %345 = load i32, ptr %30, align 4, !tbaa !15
  %346 = add i32 %344, %345
  store i32 %346, ptr %31, align 4, !tbaa !15
  %347 = load i32, ptr %23, align 4, !tbaa !15
  store i32 %347, ptr %24, align 4, !tbaa !15
  %348 = load i32, ptr %22, align 4, !tbaa !15
  store i32 %348, ptr %23, align 4, !tbaa !15
  %349 = load i32, ptr %21, align 4, !tbaa !15
  store i32 %349, ptr %22, align 4, !tbaa !15
  %350 = load i32, ptr %20, align 4, !tbaa !15
  %351 = load i32, ptr %28, align 4, !tbaa !15
  %352 = add i32 %350, %351
  store i32 %352, ptr %21, align 4, !tbaa !15
  %353 = load i32, ptr %19, align 4, !tbaa !15
  store i32 %353, ptr %20, align 4, !tbaa !15
  %354 = load i32, ptr %18, align 4, !tbaa !15
  store i32 %354, ptr %19, align 4, !tbaa !15
  %355 = load i32, ptr %17, align 4, !tbaa !15
  store i32 %355, ptr %18, align 4, !tbaa !15
  %356 = load i32, ptr %28, align 4, !tbaa !15
  %357 = load i32, ptr %31, align 4, !tbaa !15
  %358 = add i32 %356, %357
  store i32 %358, ptr %17, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %359

359:                                              ; preds = %275
  %360 = load i32, ptr %25, align 4, !tbaa !15
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %25, align 4, !tbaa !15
  br label %271, !llvm.loop !21

362:                                              ; preds = %274
  %363 = load i32, ptr %17, align 4, !tbaa !15
  %364 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
  %365 = load i32, ptr %364, align 16, !tbaa !15
  %366 = add i32 %365, %363
  store i32 %366, ptr %364, align 16, !tbaa !15
  %367 = load i32, ptr %18, align 4, !tbaa !15
  %368 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 1
  %369 = load i32, ptr %368, align 4, !tbaa !15
  %370 = add i32 %369, %367
  store i32 %370, ptr %368, align 4, !tbaa !15
  %371 = load i32, ptr %19, align 4, !tbaa !15
  %372 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 2
  %373 = load i32, ptr %372, align 8, !tbaa !15
  %374 = add i32 %373, %371
  store i32 %374, ptr %372, align 8, !tbaa !15
  %375 = load i32, ptr %20, align 4, !tbaa !15
  %376 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 3
  %377 = load i32, ptr %376, align 4, !tbaa !15
  %378 = add i32 %377, %375
  store i32 %378, ptr %376, align 4, !tbaa !15
  %379 = load i32, ptr %21, align 4, !tbaa !15
  %380 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 4
  %381 = load i32, ptr %380, align 16, !tbaa !15
  %382 = add i32 %381, %379
  store i32 %382, ptr %380, align 16, !tbaa !15
  %383 = load i32, ptr %22, align 4, !tbaa !15
  %384 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 5
  %385 = load i32, ptr %384, align 4, !tbaa !15
  %386 = add i32 %385, %383
  store i32 %386, ptr %384, align 4, !tbaa !15
  %387 = load i32, ptr %23, align 4, !tbaa !15
  %388 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 6
  %389 = load i32, ptr %388, align 8, !tbaa !15
  %390 = add i32 %389, %387
  store i32 %390, ptr %388, align 8, !tbaa !15
  %391 = load i32, ptr %24, align 4, !tbaa !15
  %392 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 7
  %393 = load i32, ptr %392, align 4, !tbaa !15
  %394 = add i32 %393, %391
  store i32 %394, ptr %392, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %11) #6
  br label %395

395:                                              ; preds = %362
  %396 = load i64, ptr %9, align 8, !tbaa !9
  %397 = add i64 %396, 1
  store i64 %397, ptr %9, align 8, !tbaa !9
  br label %104, !llvm.loop !22

398:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 392, ptr %32) #6
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %32)
  %399 = load ptr, ptr %32, align 8, !tbaa !23
  %400 = getelementptr i8, ptr %399, i64 -24
  %401 = load i64, ptr %400, align 8
  %402 = getelementptr inbounds i8, ptr %32, i64 %401
  %403 = invoke noundef signext i8 @_ZNSt9basic_iosIcSt11char_traitsIcEE4fillEc(ptr noundef nonnull align 8 dereferenceable(264) %402, i8 noundef signext 48)
          to label %404 unwind label %412

404:                                              ; preds = %398
  %405 = getelementptr inbounds i8, ptr %32, i64 16
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %405, ptr noundef @_ZSt3hexRSt8ios_base)
          to label %407 unwind label %412

407:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store i64 0, ptr %35, align 8, !tbaa !9
  br label %408

408:                                              ; preds = %430, %407
  %409 = load i64, ptr %35, align 8, !tbaa !9
  %410 = icmp ult i64 %409, 8
  br i1 %410, label %416, label %411

411:                                              ; preds = %408
  store i32 19, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %437

412:                                              ; preds = %437, %404, %398
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %33, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %34, align 4
  br label %439

416:                                              ; preds = %408
  %417 = getelementptr inbounds i8, ptr %32, i64 16
  %418 = invoke i32 @_ZSt4setwi(i32 noundef 8)
          to label %419 unwind label %433

419:                                              ; preds = %416
  %420 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  store i32 %418, ptr %420, align 4
  %421 = getelementptr inbounds %"struct.std::_Setw", ptr %36, i32 0, i32 0
  %422 = load i32, ptr %421, align 4
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %417, i32 %422)
          to label %424 unwind label %433

424:                                              ; preds = %419
  %425 = load i64, ptr %35, align 8, !tbaa !9
  %426 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 %425
  %427 = load i32, ptr %426, align 4, !tbaa !15
  %428 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %423, i32 noundef %427)
          to label %429 unwind label %433

429:                                              ; preds = %424
  br label %430

430:                                              ; preds = %429
  %431 = load i64, ptr %35, align 8, !tbaa !9
  %432 = add i64 %431, 1
  store i64 %432, ptr %35, align 8, !tbaa !9
  br label %408, !llvm.loop !25

433:                                              ; preds = %424, %419, %416
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %33, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %439

437:                                              ; preds = %411
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %32)
          to label %438 unwind label %412

438:                                              ; preds = %437
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %32) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  ret void

439:                                              ; preds = %433, %412
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %32) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  br label %440

440:                                              ; preds = %439
  %441 = load ptr, ptr %33, align 8
  %442 = load i32, ptr %34, align 4
  %443 = insertvalue { ptr, i32 } poison, ptr %441, 0
  %444 = insertvalue { ptr, i32 } %443, i32 %442, 1
  resume { ptr, i32 } %444
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef signext i8 @_ZNSt9basic_iosIcSt11char_traitsIcEE4fillEc(ptr noundef nonnull align 8 dereferenceable(264), i8 noundef signext) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3hexRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { inlinehint 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 #5 = { inlinehint 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 #6 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}
!25 = distinct !{!25, !14}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@_ZN8lbcrypto8HashUtil5k_256E = external dso_local local_unnamed_addr constant [64 x i32], align 16
@__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256 = external hidden unnamed_addr constant [8 x i32], align 16

; 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 nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; 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 uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca [64 x i32], align 16
  %4 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %.sroa.0.0.copyload = load i32, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, align 16
  %.sroa.7.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 4), align 4
  %.sroa.10.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 8), align 8
  %.sroa.13.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 12), align 4
  %.sroa.16.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 16), align 16
  %.sroa.19.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 20), align 4
  %.sroa.22.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 24), align 8
  %.sroa.25.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN8lbcrypto8HashUtil10HashStringENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.h_256, i64 28), align 4
  %5 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %6 = shl i64 %5, 3
  br label %7

7:                                                ; preds = %7, %2
  %.0 = phi i16 [ 1, %2 ], [ %11, %7 ]
  %8 = zext i16 %.0 to i64
  %9 = add i64 %6, %8
  %10 = and i64 %9, 511
  %.not = icmp eq i64 %10, 448
  %11 = add i16 %.0, 1
  br i1 %.not, label %12, label %7, !llvm.loop !5

12:                                               ; preds = %7
  %13 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext -128)
  %14 = icmp ugt i16 %.0, 15
  br i1 %14, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %12
  %15 = lshr i16 %.0, 3
  %16 = zext nneg i16 %15 to i32
  %17 = add nsw i32 %16, -2
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %12
  %18 = lshr i64 %6, 56
  %19 = trunc nuw i64 %18 to i8
  %20 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %19)
  %21 = lshr i64 %6, 48
  %22 = trunc i64 %21 to i8
  %23 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %22)
  %24 = lshr i64 %6, 40
  %25 = trunc i64 %24 to i8
  %26 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %25)
  %27 = lshr i64 %6, 32
  %28 = trunc i64 %27 to i8
  %29 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %28)
  %30 = lshr i64 %6, 24
  %31 = trunc i64 %30 to i8
  %32 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %31)
  %33 = lshr i64 %6, 16
  %34 = trunc i64 %33 to i8
  %35 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %34)
  %36 = lshr i64 %6, 8
  %37 = trunc i64 %36 to i8
  %38 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %37)
  %39 = trunc i64 %6 to i8
  %40 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext %39)
  %41 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %42 = and i64 %41, 2305843009213693888
  %.not147 = icmp eq i64 %42, 0
  br i1 %.not147, label %._crit_edge131, label %.lr.ph130

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.099115 = phi i32 [ %44, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %43 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %1, i8 noundef signext 0)
  %44 = add nuw nsw i32 %.099115, 1
  %exitcond.not = icmp eq i32 %.099115, %17
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !7

._crit_edge131:                                   ; preds = %107, %._crit_edge
  %.sroa.25.0 = phi i32 [ %.sroa.25.0.copyload, %._crit_edge ], [ %116, %107 ]
  %.sroa.22.0 = phi i32 [ %.sroa.22.0.copyload, %._crit_edge ], [ %115, %107 ]
  %.sroa.19.0 = phi i32 [ %.sroa.19.0.copyload, %._crit_edge ], [ %114, %107 ]
  %.sroa.16.0 = phi i32 [ %.sroa.16.0.copyload, %._crit_edge ], [ %113, %107 ]
  %.sroa.13.0 = phi i32 [ %.sroa.13.0.copyload, %._crit_edge ], [ %112, %107 ]
  %.sroa.10.0 = phi i32 [ %.sroa.10.0.copyload, %._crit_edge ], [ %111, %107 ]
  %.sroa.7.0 = phi i32 [ %.sroa.7.0.copyload, %._crit_edge ], [ %110, %107 ]
  %.lcssa = phi i32 [ %.sroa.0.0.copyload, %._crit_edge ], [ %109, %107 ]
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %4)
  %45 = load ptr, ptr %4, align 8, !tbaa !8
  %46 = getelementptr i8, ptr %45, i64 -24
  %47 = load i64, ptr %46, align 8
  %48 = getelementptr inbounds i8, ptr %4, i64 %47
  %49 = invoke noundef signext i8 @_ZNSt9basic_iosIcSt11char_traitsIcEE4fillEc(ptr noundef nonnull align 8 dereferenceable(264) %48, i8 noundef signext 48)
          to label %150 unwind label %155

.lr.ph130:                                        ; preds = %._crit_edge, %107
  %50 = phi i32 [ %116, %107 ], [ %.sroa.25.0.copyload, %._crit_edge ]
  %51 = phi i32 [ %115, %107 ], [ %.sroa.22.0.copyload, %._crit_edge ]
  %52 = phi i32 [ %114, %107 ], [ %.sroa.19.0.copyload, %._crit_edge ]
  %53 = phi i32 [ %113, %107 ], [ %.sroa.16.0.copyload, %._crit_edge ]
  %54 = phi i32 [ %112, %107 ], [ %.sroa.13.0.copyload, %._crit_edge ]
  %55 = phi i32 [ %111, %107 ], [ %.sroa.10.0.copyload, %._crit_edge ]
  %56 = phi i32 [ %110, %107 ], [ %.sroa.7.0.copyload, %._crit_edge ]
  %.0100128 = phi i64 [ %108, %107 ], [ 0, %._crit_edge ]
  %57 = phi i32 [ %109, %107 ], [ %.sroa.0.0.copyload, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %3) #6
  %58 = shl nuw nsw i64 %.0100128, 6
  br label %59

59:                                               ; preds = %.lr.ph130, %59
  %indvars.iv = phi i64 [ 0, %.lr.ph130 ], [ %indvars.iv.next, %59 ]
  %.0102116 = phi i64 [ %58, %.lr.ph130 ], [ %82, %59 ]
  %60 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %.0102116)
  %61 = load i8, ptr %60, align 1, !tbaa !11
  %62 = zext i8 %61 to i32
  %63 = shl nuw i32 %62, 24
  %64 = or disjoint i64 %.0102116, 1
  %65 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %64)
  %66 = load i8, ptr %65, align 1, !tbaa !11
  %67 = zext i8 %66 to i32
  %68 = shl nuw nsw i32 %67, 16
  %69 = or disjoint i32 %68, %63
  %70 = or disjoint i64 %.0102116, 2
  %71 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %70)
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = zext i8 %72 to i32
  %74 = shl nuw nsw i32 %73, 8
  %75 = or disjoint i32 %69, %74
  %76 = or disjoint i64 %.0102116, 3
  %77 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE2atEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %76)
  %78 = load i8, ptr %77, align 1, !tbaa !11
  %79 = zext i8 %78 to i32
  %80 = or disjoint i32 %75, %79
  %81 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %indvars.iv
  store i32 %80, ptr %81, align 4, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %82 = add nuw nsw i64 %.0102116, 4
  %exitcond161.not = icmp eq i64 %indvars.iv.next, 16
  br i1 %exitcond161.not, label %.preheader114.preheader, label %59, !llvm.loop !15

.preheader114.preheader:                          ; preds = %59
  %.pre = load i32, ptr %3, align 16, !tbaa !13
  br label %.preheader114

.preheader114:                                    ; preds = %.preheader114.preheader, %.preheader114
  %83 = phi i32 [ %.pre, %.preheader114.preheader ], [ %86, %.preheader114 ]
  %indvars.iv162 = phi i64 [ 16, %.preheader114.preheader ], [ %indvars.iv.next163, %.preheader114 ]
  %84 = add nsw i64 %indvars.iv162, -15
  %85 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !13
  %87 = tail call i32 @llvm.fshl.i32(i32 %86, i32 %86, i32 25)
  %88 = tail call i32 @llvm.fshl.i32(i32 %86, i32 %86, i32 14)
  %89 = xor i32 %87, %88
  %90 = lshr i32 %86, 3
  %91 = xor i32 %89, %90
  %92 = add nsw i64 %indvars.iv162, -2
  %93 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !13
  %95 = tail call i32 @llvm.fshl.i32(i32 %94, i32 %94, i32 15)
  %96 = tail call i32 @llvm.fshl.i32(i32 %94, i32 %94, i32 13)
  %97 = xor i32 %95, %96
  %98 = lshr i32 %94, 10
  %99 = xor i32 %97, %98
  %100 = add i32 %91, %83
  %101 = add nsw i64 %indvars.iv162, -7
  %102 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !13
  %104 = add i32 %100, %103
  %105 = add i32 %104, %99
  %106 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %indvars.iv162
  store i32 %105, ptr %106, align 4, !tbaa !13
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next163, 64
  br i1 %exitcond165.not, label %.preheader148, label %.preheader114, !llvm.loop !16

107:                                              ; preds = %.preheader148
  %108 = add nuw nsw i64 %.0100128, 1
  %109 = add i32 %149, %57
  %110 = add i32 %.0112119, %56
  %111 = add i32 %.0111120, %55
  %112 = add i32 %.0110121, %54
  %113 = add i32 %148, %53
  %114 = add i32 %.0108123, %52
  %115 = add i32 %.0107124, %51
  %116 = add i32 %.0106125, %50
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %3) #6
  %117 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %118 = lshr i64 %117, 6
  %119 = and i64 %118, 36028797018963967
  %120 = icmp ult i64 %108, %119
  br i1 %120, label %.lr.ph130, label %._crit_edge131, !llvm.loop !17

.preheader148:                                    ; preds = %.preheader114, %.preheader148
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %.preheader148 ], [ 0, %.preheader114 ]
  %.0105126 = phi i32 [ %.0106125, %.preheader148 ], [ %50, %.preheader114 ]
  %.0106125 = phi i32 [ %.0107124, %.preheader148 ], [ %51, %.preheader114 ]
  %.0107124 = phi i32 [ %.0108123, %.preheader148 ], [ %52, %.preheader114 ]
  %.0108123 = phi i32 [ %148, %.preheader148 ], [ %53, %.preheader114 ]
  %.0109122 = phi i32 [ %.0110121, %.preheader148 ], [ %54, %.preheader114 ]
  %.0110121 = phi i32 [ %.0111120, %.preheader148 ], [ %55, %.preheader114 ]
  %.0111120 = phi i32 [ %.0112119, %.preheader148 ], [ %56, %.preheader114 ]
  %.0112119 = phi i32 [ %149, %.preheader148 ], [ %57, %.preheader114 ]
  %121 = tail call i32 @llvm.fshl.i32(i32 %.0108123, i32 %.0108123, i32 26)
  %122 = tail call i32 @llvm.fshl.i32(i32 %.0108123, i32 %.0108123, i32 21)
  %123 = xor i32 %121, %122
  %124 = tail call i32 @llvm.fshl.i32(i32 %.0108123, i32 %.0108123, i32 7)
  %125 = xor i32 %123, %124
  %126 = and i32 %.0107124, %.0108123
  %127 = xor i32 %.0108123, -1
  %128 = and i32 %.0106125, %127
  %129 = or i32 %128, %126
  %130 = add i32 %.0105126, %125
  %131 = add i32 %130, %129
  %132 = getelementptr inbounds [64 x i32], ptr @_ZN8lbcrypto8HashUtil5k_256E, i64 0, i64 %indvars.iv166
  %133 = load i32, ptr %132, align 4, !tbaa !13
  %134 = add i32 %131, %133
  %135 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %indvars.iv166
  %136 = load i32, ptr %135, align 4, !tbaa !13
  %137 = add i32 %134, %136
  %138 = tail call i32 @llvm.fshl.i32(i32 %.0112119, i32 %.0112119, i32 30)
  %139 = tail call i32 @llvm.fshl.i32(i32 %.0112119, i32 %.0112119, i32 19)
  %140 = xor i32 %138, %139
  %141 = tail call i32 @llvm.fshl.i32(i32 %.0112119, i32 %.0112119, i32 10)
  %142 = xor i32 %140, %141
  %143 = xor i32 %.0110121, %.0111120
  %144 = and i32 %143, %.0112119
  %145 = and i32 %.0110121, %.0111120
  %146 = xor i32 %144, %145
  %147 = add i32 %146, %142
  %148 = add i32 %137, %.0109122
  %149 = add i32 %147, %137
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %exitcond169.not = icmp eq i64 %indvars.iv.next167, 64
  br i1 %exitcond169.not, label %107, label %.preheader148, !llvm.loop !18

150:                                              ; preds = %._crit_edge131
  %151 = getelementptr inbounds i8, ptr %4, i64 16
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @_ZSt3hexRSt8ios_base)
          to label %.preheader.preheader unwind label %155

.preheader.preheader:                             ; preds = %150
  %153 = call i32 @_ZSt4setwi(i32 noundef 8)
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %153)
          to label %157 unwind label %188

155:                                              ; preds = %187, %150, %._crit_edge131
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %191

157:                                              ; preds = %.preheader.preheader
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %154, i32 noundef %.lcssa)
          to label %.preheader.1 unwind label %188

.preheader.1:                                     ; preds = %157
  %159 = call i32 @_ZSt4setwi(i32 noundef 8)
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %159)
          to label %161 unwind label %188

161:                                              ; preds = %.preheader.1
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %160, i32 noundef %.sroa.7.0)
          to label %.preheader.2 unwind label %188

.preheader.2:                                     ; preds = %161
  %163 = call i32 @_ZSt4setwi(i32 noundef 8)
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %163)
          to label %165 unwind label %188

165:                                              ; preds = %.preheader.2
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %164, i32 noundef %.sroa.10.0)
          to label %.preheader.3 unwind label %188

.preheader.3:                                     ; preds = %165
  %167 = call i32 @_ZSt4setwi(i32 noundef 8)
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %167)
          to label %169 unwind label %188

169:                                              ; preds = %.preheader.3
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %168, i32 noundef %.sroa.13.0)
          to label %.preheader.4 unwind label %188

.preheader.4:                                     ; preds = %169
  %171 = call i32 @_ZSt4setwi(i32 noundef 8)
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %171)
          to label %173 unwind label %188

173:                                              ; preds = %.preheader.4
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %172, i32 noundef %.sroa.16.0)
          to label %.preheader.5 unwind label %188

.preheader.5:                                     ; preds = %173
  %175 = call i32 @_ZSt4setwi(i32 noundef 8)
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %175)
          to label %177 unwind label %188

177:                                              ; preds = %.preheader.5
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %176, i32 noundef %.sroa.19.0)
          to label %.preheader.6 unwind label %188

.preheader.6:                                     ; preds = %177
  %179 = call i32 @_ZSt4setwi(i32 noundef 8)
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %179)
          to label %181 unwind label %188

181:                                              ; preds = %.preheader.6
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %180, i32 noundef %.sroa.22.0)
          to label %.preheader.7 unwind label %188

.preheader.7:                                     ; preds = %181
  %183 = call i32 @_ZSt4setwi(i32 noundef 8)
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8) %151, i32 %183)
          to label %185 unwind label %188

185:                                              ; preds = %.preheader.7
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %184, i32 noundef %.sroa.25.0)
          to label %187 unwind label %188

187:                                              ; preds = %185
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(128) %4)
          to label %190 unwind label %155

188:                                              ; preds = %185, %.preheader.7, %181, %.preheader.6, %177, %.preheader.5, %173, %.preheader.4, %169, %.preheader.3, %165, %.preheader.2, %161, %.preheader.1, %157, %.preheader.preheader
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %191

190:                                              ; preds = %187
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %4) #6
  ret void

191:                                              ; preds = %188, %155
  %.pn = phi { ptr, i32 } [ %189, %188 ], [ %156, %155 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %4) #6
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef signext i8 @_ZNSt9basic_iosIcSt11char_traitsIcEE4fillEc(ptr noundef nonnull align 8 dereferenceable(264), i8 noundef signext) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3hexRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St5_Setw(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt4setwi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

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

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 = { 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 #3 = { inlinehint 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 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"vtable pointer", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !12, i64 0}
!12 = !{!"omnipotent char", !10, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !12, i64 0}
!15 = distinct !{!15, !6}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}
!18 = distinct !{!18, !6}


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