; LLVM IR from DanEngelbrecht/longtail :: test/test.ll (ZN19TestAsyncBlockStore6WorkerEPv)

; 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.Longtail_LogFieldFmt_Private = type { ptr, ptr, ptr }
%struct.Longtail_LogContextFmt_Private = type { ptr, ptr, i64 }
%class.TestAsyncBlockStore = type { %struct.Longtail_BlockStoreAPI, ptr, ptr, i32, ptr, ptr, ptr, [8 x ptr], i32, ptr, i64, ptr, i64, ptr, i64, ptr, ptr, ptr }
%struct.Longtail_BlockStoreAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_API = type { ptr }
%struct.stbds_array_header = type { i64, i64, ptr, i64 }
%struct.TestPutBlockRequest = type { i64, ptr, ptr }
%struct.TestStoredBlockLookup = type { i64, ptr }
%struct.Longtail_StoredBlock = type { ptr, ptr, ptr, i32 }
%struct.Longtail_BlockIndex = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_AsyncPutStoredBlockAPI = type { %struct.Longtail_API, ptr }
%struct.TestGetBlockRequest = type { i64, ptr }
%struct.Longtail_AsyncGetStoredBlockAPI = type { %struct.Longtail_API, ptr }
%struct.TestGetExistingContentRequest = type { ptr, i32, ptr }
%struct.Longtail_AsyncGetExistingContentAPI = type { %struct.Longtail_API, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.586 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.587 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.588 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.589 = external hidden unnamed_addr constant [13 x i8], align 1
@__func__._ZN19TestAsyncBlockStore6WorkerEPv = external hidden unnamed_addr constant [7 x i8], align 1

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

declare void @Longtail_Free(ptr noundef) #1

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

declare i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef, ptr noundef, ptr noundef) #1

declare i32 @Longtail_MergeStoreIndex(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @Longtail_GetExistingStoreIndex(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef) #2 align 2

declare void @Longtail_CallLogger(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

declare void @Longtail_LockSpinLock(ptr noundef) #1

declare void @Longtail_UnlockSpinLock(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN19TestAsyncBlockStore6WorkerEPv(ptr noundef %0) #2 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [1 x %struct.Longtail_LogFieldFmt_Private], align 16
  %5 = alloca %struct.Longtail_LogContextFmt_Private, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #3
  %39 = getelementptr inbounds %struct.Longtail_LogFieldFmt_Private, ptr %4, i32 0, i32 0
  store ptr @.str.589, ptr %39, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.Longtail_LogFieldFmt_Private, ptr %4, i32 0, i32 1
  store ptr @.str.586, ptr %40, align 8, !tbaa !11
  %41 = getelementptr inbounds %struct.Longtail_LogFieldFmt_Private, ptr %4, i32 0, i32 2
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = ptrtoint ptr %42 to i64
  %44 = inttoptr i64 %43 to ptr
  store ptr %44, ptr %41, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #3
  %45 = getelementptr inbounds %struct.Longtail_LogContextFmt_Private, ptr %5, i32 0, i32 0
  store ptr null, ptr %45, align 8, !tbaa !13
  %46 = getelementptr inbounds %struct.Longtail_LogContextFmt_Private, ptr %5, i32 0, i32 1
  %47 = getelementptr inbounds [1 x %struct.Longtail_LogFieldFmt_Private], ptr %4, i64 0, i64 0
  store ptr %47, ptr %46, align 8, !tbaa !16
  %48 = getelementptr inbounds %struct.Longtail_LogContextFmt_Private, ptr %5, i32 0, i32 2
  store i64 1, ptr %48, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store ptr %5, ptr %6, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @Longtail_CallLogger(ptr noundef @.str.3, ptr noundef @__func__._ZN19TestAsyncBlockStore6WorkerEPv, i32 noundef 3895, ptr noundef %49, i32 noundef 0, ptr noundef @.str.587, ptr noundef @.str.588)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %50, ptr %7, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %388, %386, %1
  br label %52

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %53, i32 0, i32 6
  %55 = load ptr, ptr %54, align 8, !tbaa !18
  %56 = call i32 @Longtail_WaitSema(ptr noundef %55, i64 noundef -1)
  store i32 %56, ptr %8, align 4, !tbaa !23
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %57, i32 0, i32 4
  %59 = load ptr, ptr %58, align 8, !tbaa !24
  call void @Longtail_LockSpinLock(ptr noundef %59)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %60, i32 0, i32 11
  %62 = load ptr, ptr %61, align 8, !tbaa !25
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %71

64:                                               ; preds = %52
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %65, i32 0, i32 11
  %67 = load ptr, ptr %66, align 8, !tbaa !25
  %68 = getelementptr inbounds %struct.stbds_array_header, ptr %67, i64 -1
  %69 = getelementptr inbounds %struct.stbds_array_header, ptr %68, i32 0, i32 0
  %70 = load i64, ptr %69, align 8, !tbaa !26
  br label %72

71:                                               ; preds = %52
  br label %72

72:                                               ; preds = %71, %64
  %73 = phi i64 [ %70, %64 ], [ 0, %71 ]
  store i64 %73, ptr %9, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %74, i32 0, i32 10
  %76 = load i64, ptr %75, align 8, !tbaa !29
  store i64 %76, ptr %10, align 8, !tbaa !28
  %77 = load i64, ptr %9, align 8, !tbaa !28
  %78 = load i64, ptr %10, align 8, !tbaa !28
  %79 = icmp sgt i64 %77, %78
  br i1 %79, label %80, label %196

80:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %81, i32 0, i32 10
  %83 = load i64, ptr %82, align 8, !tbaa !29
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %82, align 8, !tbaa !29
  store i64 %83, ptr %11, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %85, i32 0, i32 11
  %87 = load ptr, ptr %86, align 8, !tbaa !25
  %88 = load i64, ptr %11, align 8, !tbaa !28
  %89 = getelementptr inbounds %struct.TestPutBlockRequest, ptr %87, i64 %88
  store ptr %89, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.TestPutBlockRequest, ptr %90, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !30
  store ptr %92, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.TestPutBlockRequest, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !32
  store ptr %95, ptr %14, align 8, !tbaa !5
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %96, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !24
  call void @Longtail_UnlockSpinLock(ptr noundef %98)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = call noundef i32 @_ZL16WorkerPutRequestP20Longtail_StoredBlockPPh(ptr noundef %99, ptr noundef %15)
  store i32 %100, ptr %16, align 4, !tbaa !23
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %101, i32 0, i32 5
  %103 = load ptr, ptr %102, align 8, !tbaa !33
  call void @Longtail_LockSpinLock(ptr noundef %103)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %104, i32 0, i32 17
  %106 = load ptr, ptr %105, align 8, !tbaa !34
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %117

108:                                              ; preds = %80
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %109, i32 0, i32 17
  %111 = load ptr, ptr %110, align 8, !tbaa !34
  %112 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %111, i64 -1
  %113 = getelementptr inbounds %struct.stbds_array_header, ptr %112, i64 -1
  %114 = getelementptr inbounds %struct.stbds_array_header, ptr %113, i32 0, i32 0
  %115 = load i64, ptr %114, align 8, !tbaa !26
  %116 = sub nsw i64 %115, 1
  br label %118

117:                                              ; preds = %80
  br label %118

118:                                              ; preds = %117, %108
  %119 = phi i64 [ %116, %108 ], [ 0, %117 ]
  store i64 %119, ptr %17, align 8, !tbaa !28
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %120, i32 0, i32 17
  %122 = load ptr, ptr %121, align 8, !tbaa !34
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.Longtail_StoredBlock, ptr %123, i32 0, i32 1
  %125 = load ptr, ptr %124, align 8, !tbaa !35
  %126 = getelementptr inbounds %struct.Longtail_BlockIndex, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !37
  %128 = call noundef ptr @_ZL23stbds_hmput_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef %122, i64 noundef 16, ptr noundef %127, i64 noundef 8, i32 noundef 0)
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %129, i32 0, i32 17
  store ptr %128, ptr %130, align 8, !tbaa !34
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.Longtail_StoredBlock, ptr %131, i32 0, i32 1
  %133 = load ptr, ptr %132, align 8, !tbaa !35
  %134 = getelementptr inbounds %struct.Longtail_BlockIndex, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !37
  %136 = load i64, ptr %135, align 8, !tbaa !28
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %137, i32 0, i32 17
  %139 = load ptr, ptr %138, align 8, !tbaa !34
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %140, i32 0, i32 17
  %142 = load ptr, ptr %141, align 8, !tbaa !34
  %143 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %142, i64 -1
  %144 = getelementptr inbounds %struct.stbds_array_header, ptr %143, i64 -1
  %145 = getelementptr inbounds %struct.stbds_array_header, ptr %144, i32 0, i32 3
  %146 = load i64, ptr %145, align 8, !tbaa !39
  %147 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %139, i64 %146
  %148 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %147, i32 0, i32 0
  store i64 %136, ptr %148, align 8, !tbaa !40
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %150, i32 0, i32 17
  %152 = load ptr, ptr %151, align 8, !tbaa !34
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %153, i32 0, i32 17
  %155 = load ptr, ptr %154, align 8, !tbaa !34
  %156 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %155, i64 -1
  %157 = getelementptr inbounds %struct.stbds_array_header, ptr %156, i64 -1
  %158 = getelementptr inbounds %struct.stbds_array_header, ptr %157, i32 0, i32 3
  %159 = load i64, ptr %158, align 8, !tbaa !39
  %160 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %152, i64 %159
  %161 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %160, i32 0, i32 1
  store ptr %149, ptr %161, align 8, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %162 = load ptr, ptr %13, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.Longtail_StoredBlock, ptr %162, i32 0, i32 1
  %164 = call i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef 1, ptr noundef %163, ptr noundef %18)
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %165, i32 0, i32 16
  %167 = load ptr, ptr %166, align 8, !tbaa !43
  %168 = icmp eq ptr %167, null
  br i1 %168, label %169, label %173

169:                                              ; preds = %118
  %170 = load ptr, ptr %18, align 8, !tbaa !5
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %171, i32 0, i32 16
  store ptr %170, ptr %172, align 8, !tbaa !43
  br label %186

173:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  %174 = load ptr, ptr %18, align 8, !tbaa !5
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %175, i32 0, i32 16
  %177 = load ptr, ptr %176, align 8, !tbaa !43
  %178 = call i32 @Longtail_MergeStoreIndex(ptr noundef %174, ptr noundef %177, ptr noundef %19)
  %179 = load ptr, ptr %18, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %179)
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %180, i32 0, i32 16
  %182 = load ptr, ptr %181, align 8, !tbaa !43
  call void @Longtail_Free(ptr noundef %182)
  %183 = load ptr, ptr %19, align 8, !tbaa !5
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %184, i32 0, i32 16
  store ptr %183, ptr %185, align 8, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  br label %186

186:                                              ; preds = %173, %169
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %187, i32 0, i32 5
  %189 = load ptr, ptr %188, align 8, !tbaa !33
  call void @Longtail_UnlockSpinLock(ptr noundef %189)
  %190 = load ptr, ptr %14, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.Longtail_AsyncPutStoredBlockAPI, ptr %190, i32 0, i32 1
  %192 = load ptr, ptr %191, align 8, !tbaa !44
  %193 = load ptr, ptr %14, align 8, !tbaa !5
  %194 = load i32, ptr %16, align 4, !tbaa !23
  call void %192(ptr noundef %193, i32 noundef %194)
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef %195)
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %386

196:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %197, i32 0, i32 13
  %199 = load ptr, ptr %198, align 8, !tbaa !46
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %208

201:                                              ; preds = %196
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %202, i32 0, i32 13
  %204 = load ptr, ptr %203, align 8, !tbaa !46
  %205 = getelementptr inbounds %struct.stbds_array_header, ptr %204, i64 -1
  %206 = getelementptr inbounds %struct.stbds_array_header, ptr %205, i32 0, i32 0
  %207 = load i64, ptr %206, align 8, !tbaa !26
  br label %209

208:                                              ; preds = %196
  br label %209

209:                                              ; preds = %208, %201
  %210 = phi i64 [ %207, %201 ], [ 0, %208 ]
  store i64 %210, ptr %21, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %211, i32 0, i32 12
  %213 = load i64, ptr %212, align 8, !tbaa !47
  store i64 %213, ptr %22, align 8, !tbaa !28
  %214 = load i64, ptr %21, align 8, !tbaa !28
  %215 = load i64, ptr %22, align 8, !tbaa !28
  %216 = icmp sgt i64 %214, %215
  br i1 %216, label %217, label %301

217:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %218 = load ptr, ptr %7, align 8, !tbaa !5
  %219 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %218, i32 0, i32 12
  %220 = load i64, ptr %219, align 8, !tbaa !47
  %221 = add nsw i64 %220, 1
  store i64 %221, ptr %219, align 8, !tbaa !47
  store i64 %220, ptr %23, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %222, i32 0, i32 13
  %224 = load ptr, ptr %223, align 8, !tbaa !46
  %225 = load i64, ptr %23, align 8, !tbaa !28
  %226 = getelementptr inbounds %struct.TestGetBlockRequest, ptr %224, i64 %225
  store ptr %226, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  %227 = load ptr, ptr %24, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.TestGetBlockRequest, ptr %227, i32 0, i32 0
  %229 = load i64, ptr %228, align 8, !tbaa !48
  store i64 %229, ptr %25, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %230 = load ptr, ptr %24, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.TestGetBlockRequest, ptr %230, i32 0, i32 1
  %232 = load ptr, ptr %231, align 8, !tbaa !50
  store ptr %232, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  store ptr null, ptr %27, align 8, !tbaa !5
  %233 = load ptr, ptr %7, align 8, !tbaa !5
  %234 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %233, i32 0, i32 4
  %235 = load ptr, ptr %234, align 8, !tbaa !24
  call void @Longtail_UnlockSpinLock(ptr noundef %235)
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %236, i32 0, i32 5
  %238 = load ptr, ptr %237, align 8, !tbaa !33
  call void @Longtail_LockSpinLock(ptr noundef %238)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %239 = load ptr, ptr %7, align 8, !tbaa !5
  %240 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %239, i32 0, i32 17
  %241 = load ptr, ptr %240, align 8, !tbaa !34
  %242 = icmp ne ptr %241, null
  br i1 %242, label %243, label %252

243:                                              ; preds = %217
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %244, i32 0, i32 17
  %246 = load ptr, ptr %245, align 8, !tbaa !34
  %247 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %246, i64 -1
  %248 = getelementptr inbounds %struct.stbds_array_header, ptr %247, i64 -1
  %249 = getelementptr inbounds %struct.stbds_array_header, ptr %248, i32 0, i32 0
  %250 = load i64, ptr %249, align 8, !tbaa !26
  %251 = sub nsw i64 %250, 1
  br label %253

252:                                              ; preds = %217
  br label %253

253:                                              ; preds = %252, %243
  %254 = phi i64 [ %251, %243 ], [ 0, %252 ]
  store i64 %254, ptr %28, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %255, i32 0, i32 17
  %257 = load ptr, ptr %256, align 8, !tbaa !34
  %258 = call noundef ptr @_ZL23stbds_hmget_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef %257, i64 noundef 16, ptr noundef %25, i64 noundef 8, i32 noundef 0)
  %259 = load ptr, ptr %7, align 8, !tbaa !5
  %260 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %259, i32 0, i32 17
  store ptr %258, ptr %260, align 8, !tbaa !34
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %261, i32 0, i32 17
  %263 = load ptr, ptr %262, align 8, !tbaa !34
  %264 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %263, i64 -1
  %265 = getelementptr inbounds %struct.stbds_array_header, ptr %264, i64 -1
  %266 = getelementptr inbounds %struct.stbds_array_header, ptr %265, i32 0, i32 3
  %267 = load i64, ptr %266, align 8, !tbaa !39
  store i64 %267, ptr %29, align 8, !tbaa !28
  %268 = load i64, ptr %29, align 8, !tbaa !28
  %269 = icmp ne i64 %268, -1
  br i1 %269, label %270, label %278

270:                                              ; preds = %253
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  %272 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %271, i32 0, i32 17
  %273 = load ptr, ptr %272, align 8, !tbaa !34
  %274 = load i64, ptr %29, align 8, !tbaa !28
  %275 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %273, i64 %274
  %276 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %275, i32 0, i32 1
  %277 = load ptr, ptr %276, align 8, !tbaa !42
  store ptr %277, ptr %27, align 8, !tbaa !5
  br label %278

278:                                              ; preds = %270, %253
  %279 = load ptr, ptr %7, align 8, !tbaa !5
  %280 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %279, i32 0, i32 5
  %281 = load ptr, ptr %280, align 8, !tbaa !33
  call void @Longtail_UnlockSpinLock(ptr noundef %281)
  %282 = load ptr, ptr %27, align 8, !tbaa !5
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %294

284:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #3
  store ptr null, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #3
  %285 = load ptr, ptr %27, align 8, !tbaa !5
  %286 = call noundef i32 @_ZL16WorkerGetRequestPhPP20Longtail_StoredBlock(ptr noundef %285, ptr noundef %30)
  store i32 %286, ptr %31, align 4, !tbaa !23
  %287 = load ptr, ptr %26, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.Longtail_AsyncGetStoredBlockAPI, ptr %287, i32 0, i32 1
  %289 = load ptr, ptr %288, align 8, !tbaa !51
  %290 = load ptr, ptr %26, align 8, !tbaa !5
  %291 = load ptr, ptr %30, align 8, !tbaa !5
  %292 = load i32, ptr %31, align 4, !tbaa !23
  call void %289(ptr noundef %290, ptr noundef %291, i32 noundef %292)
  %293 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef %293)
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #3
  br label %300

294:                                              ; preds = %278
  %295 = load ptr, ptr %26, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.Longtail_AsyncGetStoredBlockAPI, ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !51
  %298 = load ptr, ptr %26, align 8, !tbaa !5
  call void %297(ptr noundef %298, ptr noundef null, i32 noundef 2)
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef %299)
  store i32 2, ptr %20, align 4
  br label %300, !llvm.loop !53

300:                                              ; preds = %294, %284
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  br label %385

301:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #3
  %302 = load ptr, ptr %7, align 8, !tbaa !5
  %303 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %302, i32 0, i32 15
  %304 = load ptr, ptr %303, align 8, !tbaa !55
  %305 = icmp ne ptr %304, null
  br i1 %305, label %306, label %313

306:                                              ; preds = %301
  %307 = load ptr, ptr %7, align 8, !tbaa !5
  %308 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %307, i32 0, i32 15
  %309 = load ptr, ptr %308, align 8, !tbaa !55
  %310 = getelementptr inbounds %struct.stbds_array_header, ptr %309, i64 -1
  %311 = getelementptr inbounds %struct.stbds_array_header, ptr %310, i32 0, i32 0
  %312 = load i64, ptr %311, align 8, !tbaa !26
  br label %314

313:                                              ; preds = %301
  br label %314

314:                                              ; preds = %313, %306
  %315 = phi i64 [ %312, %306 ], [ 0, %313 ]
  store i64 %315, ptr %32, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #3
  %316 = load ptr, ptr %7, align 8, !tbaa !5
  %317 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %316, i32 0, i32 14
  %318 = load i64, ptr %317, align 8, !tbaa !56
  store i64 %318, ptr %33, align 8, !tbaa !28
  %319 = load i64, ptr %32, align 8, !tbaa !28
  %320 = load i64, ptr %33, align 8, !tbaa !28
  %321 = icmp sgt i64 %319, %320
  br i1 %321, label %322, label %374

322:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #3
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %323, i32 0, i32 14
  %325 = load i64, ptr %324, align 8, !tbaa !56
  %326 = add nsw i64 %325, 1
  store i64 %326, ptr %324, align 8, !tbaa !56
  store i64 %325, ptr %34, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #3
  %327 = load ptr, ptr %7, align 8, !tbaa !5
  %328 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %327, i32 0, i32 15
  %329 = load ptr, ptr %328, align 8, !tbaa !55
  %330 = load i64, ptr %34, align 8, !tbaa !28
  %331 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %329, i64 %330
  store ptr %331, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #3
  %332 = load ptr, ptr %35, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %332, i32 0, i32 0
  %334 = load ptr, ptr %333, align 8, !tbaa !57
  store ptr %334, ptr %36, align 8, !tbaa !5
  %335 = load ptr, ptr %7, align 8, !tbaa !5
  %336 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %335, i32 0, i32 4
  %337 = load ptr, ptr %336, align 8, !tbaa !24
  call void @Longtail_UnlockSpinLock(ptr noundef %337)
  %338 = load ptr, ptr %7, align 8, !tbaa !5
  %339 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %338, i32 0, i32 5
  %340 = load ptr, ptr %339, align 8, !tbaa !33
  call void @Longtail_LockSpinLock(ptr noundef %340)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #3
  %341 = load ptr, ptr %7, align 8, !tbaa !5
  %342 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %341, i32 0, i32 16
  %343 = load ptr, ptr %342, align 8, !tbaa !43
  %344 = load ptr, ptr %35, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %344, i32 0, i32 1
  %346 = load i32, ptr %345, align 8, !tbaa !59
  %347 = load ptr, ptr %35, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %347, i32 0, i32 2
  %349 = load ptr, ptr %348, align 8, !tbaa !60
  %350 = call i32 @Longtail_GetExistingStoreIndex(ptr noundef %343, i32 noundef %346, ptr noundef %349, i32 noundef 0, ptr noundef %37)
  store i32 %350, ptr %38, align 4, !tbaa !23
  %351 = load ptr, ptr %7, align 8, !tbaa !5
  %352 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %351, i32 0, i32 5
  %353 = load ptr, ptr %352, align 8, !tbaa !33
  call void @Longtail_UnlockSpinLock(ptr noundef %353)
  %354 = load ptr, ptr %35, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %354, i32 0, i32 2
  %356 = load ptr, ptr %355, align 8, !tbaa !60
  call void @Longtail_Free(ptr noundef %356)
  %357 = load i32, ptr %38, align 4, !tbaa !23
  %358 = icmp ne i32 %357, 0
  br i1 %358, label %359, label %366

359:                                              ; preds = %322
  %360 = load ptr, ptr %36, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.Longtail_AsyncGetExistingContentAPI, ptr %360, i32 0, i32 1
  %362 = load ptr, ptr %361, align 8, !tbaa !61
  %363 = load ptr, ptr %36, align 8, !tbaa !5
  %364 = load i32, ptr %38, align 4, !tbaa !23
  call void %362(ptr noundef %363, ptr noundef null, i32 noundef %364)
  %365 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef %365)
  store i32 2, ptr %20, align 4
  br label %373, !llvm.loop !53

366:                                              ; preds = %322
  %367 = load ptr, ptr %36, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.Longtail_AsyncGetExistingContentAPI, ptr %367, i32 0, i32 1
  %369 = load ptr, ptr %368, align 8, !tbaa !61
  %370 = load ptr, ptr %36, align 8, !tbaa !5
  %371 = load ptr, ptr %37, align 8, !tbaa !5
  call void %369(ptr noundef %370, ptr noundef %371, i32 noundef 0)
  %372 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef %372)
  store i32 2, ptr %20, align 4
  br label %373, !llvm.loop !53

373:                                              ; preds = %366, %359
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #3
  br label %384

374:                                              ; preds = %314
  %375 = load ptr, ptr %7, align 8, !tbaa !5
  %376 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %375, i32 0, i32 4
  %377 = load ptr, ptr %376, align 8, !tbaa !24
  call void @Longtail_UnlockSpinLock(ptr noundef %377)
  %378 = load ptr, ptr %7, align 8, !tbaa !5
  %379 = getelementptr inbounds %class.TestAsyncBlockStore, ptr %378, i32 0, i32 3
  %380 = load volatile i32, ptr %379, align 8, !tbaa !63
  %381 = icmp ne i32 %380, 0
  br i1 %381, label %382, label %383

382:                                              ; preds = %374
  store i32 0, ptr %2, align 4
  store i32 1, ptr %20, align 4
  br label %384

383:                                              ; preds = %374
  store i32 0, ptr %20, align 4
  br label %384

384:                                              ; preds = %383, %382, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #3
  br label %385

385:                                              ; preds = %384, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %386

386:                                              ; preds = %385, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %387 = load i32, ptr %20, align 4
  switch i32 %387, label %389 [
    i32 0, label %388
    i32 2, label %51
  ]

388:                                              ; preds = %386
  br label %51, !llvm.loop !53

389:                                              ; preds = %386
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #3
  %390 = load i32, ptr %2, align 4
  ret i32 %390
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL23stbds_hmget_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) #2

declare i32 @Longtail_WaitSema(ptr noundef, i64 noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16WorkerPutRequestP20Longtail_StoredBlockPPh(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL23stbds_hmput_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16WorkerGetRequestPhPP20Longtail_StoredBlock(ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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, !6, i64 0}
!10 = !{!"_ZTS28Longtail_LogFieldFmt_Private", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!10, !6, i64 8}
!12 = !{!10, !6, i64 16}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTS30Longtail_LogContextFmt_Private", !6, i64 0, !6, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !15, i64 16}
!18 = !{!19, !6, i64 104}
!19 = !{!"_ZTS19TestAsyncBlockStore", !20, i64 0, !6, i64 64, !6, i64 72, !22, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !7, i64 112, !22, i64 176, !6, i64 184, !15, i64 192, !6, i64 200, !15, i64 208, !6, i64 216, !15, i64 224, !6, i64 232, !6, i64 240, !6, i64 248}
!20 = !{!"_ZTS22Longtail_BlockStoreAPI", !21, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!21 = !{!"_ZTS12Longtail_API", !6, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!22, !22, i64 0}
!24 = !{!19, !6, i64 88}
!25 = !{!19, !6, i64 200}
!26 = !{!27, !15, i64 0}
!27 = !{!"_ZTS18stbds_array_header", !15, i64 0, !15, i64 8, !6, i64 16, !15, i64 24}
!28 = !{!15, !15, i64 0}
!29 = !{!19, !15, i64 192}
!30 = !{!31, !6, i64 8}
!31 = !{!"_ZTS19TestPutBlockRequest", !15, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!31, !6, i64 16}
!33 = !{!19, !6, i64 96}
!34 = !{!19, !6, i64 248}
!35 = !{!36, !6, i64 8}
!36 = !{!"_ZTS20Longtail_StoredBlock", !6, i64 0, !6, i64 8, !6, i64 16, !22, i64 24}
!37 = !{!38, !6, i64 0}
!38 = !{!"_ZTS19Longtail_BlockIndex", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!39 = !{!27, !15, i64 24}
!40 = !{!41, !15, i64 0}
!41 = !{!"_ZTS21TestStoredBlockLookup", !15, i64 0, !6, i64 8}
!42 = !{!41, !6, i64 8}
!43 = !{!19, !6, i64 240}
!44 = !{!45, !6, i64 8}
!45 = !{!"_ZTS31Longtail_AsyncPutStoredBlockAPI", !21, i64 0, !6, i64 8}
!46 = !{!19, !6, i64 216}
!47 = !{!19, !15, i64 208}
!48 = !{!49, !15, i64 0}
!49 = !{!"_ZTS19TestGetBlockRequest", !15, i64 0, !6, i64 8}
!50 = !{!49, !6, i64 8}
!51 = !{!52, !6, i64 8}
!52 = !{!"_ZTS31Longtail_AsyncGetStoredBlockAPI", !21, i64 0, !6, i64 8}
!53 = distinct !{!53, !54}
!54 = !{!"llvm.loop.mustprogress"}
!55 = !{!19, !6, i64 232}
!56 = !{!19, !15, i64 224}
!57 = !{!58, !6, i64 0}
!58 = !{!"_ZTS29TestGetExistingContentRequest", !6, i64 0, !22, i64 8, !6, i64 16}
!59 = !{!58, !22, i64 8}
!60 = !{!58, !6, i64 16}
!61 = !{!62, !6, i64 8}
!62 = !{!"_ZTS35Longtail_AsyncGetExistingContentAPI", !21, i64 0, !6, i64 8}
!63 = !{!19, !22, i64 80}


; 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.Longtail_LogFieldFmt_Private = type { ptr, ptr, ptr }
%struct.Longtail_LogContextFmt_Private = type { ptr, ptr, i64 }
%struct.TestPutBlockRequest = type { i64, ptr, ptr }
%struct.TestStoredBlockLookup = type { i64, ptr }
%struct.TestGetBlockRequest = type { i64, ptr }
%struct.TestGetExistingContentRequest = type { ptr, i32, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.586 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.587 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.588 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.589 = external hidden unnamed_addr constant [13 x i8], align 1
@__func__._ZN19TestAsyncBlockStore6WorkerEPv = external hidden unnamed_addr constant [7 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

declare void @Longtail_Free(ptr noundef) local_unnamed_addr #1

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

declare i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @Longtail_MergeStoreIndex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @Longtail_GetExistingStoreIndex(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef) local_unnamed_addr #2 align 2

declare void @Longtail_CallLogger(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

declare void @Longtail_LockSpinLock(ptr noundef) local_unnamed_addr #1

declare void @Longtail_UnlockSpinLock(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN19TestAsyncBlockStore6WorkerEPv(ptr noundef %0) local_unnamed_addr #2 align 2 {
  %2 = alloca [1 x %struct.Longtail_LogFieldFmt_Private], align 16
  %3 = alloca %struct.Longtail_LogContextFmt_Private, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3
  store ptr @.str.589, ptr %2, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %2, i64 8
  store ptr @.str.586, ptr %10, align 8, !tbaa !10
  %11 = getelementptr inbounds i8, ptr %2, i64 16
  store ptr %0, ptr %11, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3
  store ptr null, ptr %3, align 8, !tbaa !12
  %12 = getelementptr inbounds i8, ptr %3, i64 8
  store ptr %2, ptr %12, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %3, i64 16
  store i64 1, ptr %13, align 8, !tbaa !16
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @Longtail_CallLogger(ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__._ZN19TestAsyncBlockStore6WorkerEPv, i32 noundef 3895, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull @.str.587, ptr noundef nonnull @.str.588)
  %14 = getelementptr inbounds i8, ptr %0, i64 104
  %15 = getelementptr inbounds i8, ptr %0, i64 88
  %16 = getelementptr inbounds i8, ptr %0, i64 200
  %17 = getelementptr inbounds i8, ptr %0, i64 192
  %18 = getelementptr inbounds i8, ptr %0, i64 216
  %19 = getelementptr inbounds i8, ptr %0, i64 208
  %20 = getelementptr inbounds i8, ptr %0, i64 232
  %21 = getelementptr inbounds i8, ptr %0, i64 224
  %22 = getelementptr inbounds i8, ptr %0, i64 80
  %23 = getelementptr inbounds i8, ptr %0, i64 96
  %24 = getelementptr inbounds i8, ptr %0, i64 240
  %25 = getelementptr inbounds i8, ptr %0, i64 248
  br label %select.unfold

select.unfold:                                    ; preds = %select.unfold.backedge, %1
  %26 = load ptr, ptr %14, align 8, !tbaa !17
  %27 = call i32 @Longtail_WaitSema(ptr noundef %26, i64 noundef -1)
  %28 = load ptr, ptr %15, align 8, !tbaa !22
  call void @Longtail_LockSpinLock(ptr noundef %28)
  %29 = load ptr, ptr %16, align 8, !tbaa !23
  %.not = icmp eq ptr %29, null
  br i1 %.not, label %33, label %30

30:                                               ; preds = %select.unfold
  %31 = getelementptr inbounds i8, ptr %29, i64 -32
  %32 = load i64, ptr %31, align 8, !tbaa !24
  br label %33

33:                                               ; preds = %select.unfold, %30
  %34 = phi i64 [ %32, %30 ], [ 0, %select.unfold ]
  %35 = load i64, ptr %17, align 8, !tbaa !26
  %36 = icmp sgt i64 %34, %35
  br i1 %36, label %37, label %75

37:                                               ; preds = %33
  %38 = add nsw i64 %35, 1
  store i64 %38, ptr %17, align 8, !tbaa !26
  %39 = getelementptr inbounds %struct.TestPutBlockRequest, ptr %29, i64 %35
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load ptr, ptr %40, align 8, !tbaa !27
  %42 = getelementptr inbounds i8, ptr %39, i64 16
  %43 = load ptr, ptr %42, align 8, !tbaa !29
  %44 = load ptr, ptr %15, align 8, !tbaa !22
  call void @Longtail_UnlockSpinLock(ptr noundef %44)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %45 = call noundef i32 @_ZL16WorkerPutRequestP20Longtail_StoredBlockPPh(ptr noundef %41, ptr noundef nonnull %4)
  %46 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_LockSpinLock(ptr noundef %46)
  %47 = load ptr, ptr %25, align 8, !tbaa !31
  %48 = getelementptr inbounds i8, ptr %41, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !32
  %50 = load ptr, ptr %49, align 8, !tbaa !34
  %51 = call noundef ptr @_ZL23stbds_hmput_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef %47, i64 noundef 16, ptr noundef %50, i64 noundef 8, i32 noundef 0)
  store ptr %51, ptr %25, align 8, !tbaa !31
  %52 = load ptr, ptr %48, align 8, !tbaa !32
  %53 = load ptr, ptr %52, align 8, !tbaa !34
  %54 = load i64, ptr %53, align 8, !tbaa !36
  %55 = getelementptr inbounds i8, ptr %51, i64 -24
  %56 = load i64, ptr %55, align 8, !tbaa !37
  %57 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %51, i64 %56
  store i64 %54, ptr %57, align 8, !tbaa !38
  %58 = load ptr, ptr %4, align 8, !tbaa !40
  %59 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %51, i64 %56, i32 1
  store ptr %58, ptr %59, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %60 = call i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef 1, ptr noundef nonnull %48, ptr noundef nonnull %5)
  %61 = load ptr, ptr %24, align 8, !tbaa !42
  %62 = icmp eq ptr %61, null
  br i1 %62, label %63, label %65

63:                                               ; preds = %37
  %64 = load ptr, ptr %5, align 8, !tbaa !40
  br label %71

65:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %66 = load ptr, ptr %5, align 8, !tbaa !40
  %67 = call i32 @Longtail_MergeStoreIndex(ptr noundef %66, ptr noundef nonnull %61, ptr noundef nonnull %6)
  %68 = load ptr, ptr %5, align 8, !tbaa !40
  call void @Longtail_Free(ptr noundef %68)
  %69 = load ptr, ptr %24, align 8, !tbaa !42
  call void @Longtail_Free(ptr noundef %69)
  %70 = load ptr, ptr %6, align 8, !tbaa !40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  br label %71

71:                                               ; preds = %65, %63
  %.sink = phi ptr [ %64, %63 ], [ %70, %65 ]
  store ptr %.sink, ptr %24, align 8
  %72 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_UnlockSpinLock(ptr noundef %72)
  %73 = getelementptr inbounds i8, ptr %43, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !43
  call void %74(ptr noundef %43, i32 noundef %45)
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef nonnull %0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  br label %select.unfold.backedge

75:                                               ; preds = %33
  %76 = load ptr, ptr %18, align 8, !tbaa !45
  %.not106 = icmp eq ptr %76, null
  br i1 %.not106, label %80, label %77

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %76, i64 -32
  %79 = load i64, ptr %78, align 8, !tbaa !24
  br label %80

80:                                               ; preds = %75, %77
  %81 = phi i64 [ %79, %77 ], [ 0, %75 ]
  %82 = load i64, ptr %19, align 8, !tbaa !46
  %83 = icmp sgt i64 %81, %82
  br i1 %83, label %84, label %110

84:                                               ; preds = %80
  %85 = add nsw i64 %82, 1
  store i64 %85, ptr %19, align 8, !tbaa !46
  %86 = getelementptr inbounds %struct.TestGetBlockRequest, ptr %76, i64 %82
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %87 = load i64, ptr %86, align 8, !tbaa !47
  store i64 %87, ptr %7, align 8, !tbaa !36
  %88 = getelementptr inbounds i8, ptr %86, i64 8
  %89 = load ptr, ptr %88, align 8, !tbaa !49
  %90 = load ptr, ptr %15, align 8, !tbaa !22
  call void @Longtail_UnlockSpinLock(ptr noundef %90)
  %91 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_LockSpinLock(ptr noundef %91)
  %92 = load ptr, ptr %25, align 8, !tbaa !31
  %93 = call noundef ptr @_ZL23stbds_hmget_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef %92, i64 noundef 16, ptr noundef nonnull %7, i64 noundef 8, i32 noundef 0)
  store ptr %93, ptr %25, align 8, !tbaa !31
  %94 = getelementptr inbounds i8, ptr %93, i64 -24
  %95 = load i64, ptr %94, align 8, !tbaa !37
  %.not111 = icmp eq i64 %95, -1
  br i1 %.not111, label %.thread, label %97

.thread:                                          ; preds = %84
  %96 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_UnlockSpinLock(ptr noundef %96)
  br label %106

97:                                               ; preds = %84
  %98 = getelementptr inbounds %struct.TestStoredBlockLookup, ptr %93, i64 %95, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !41
  %100 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_UnlockSpinLock(ptr noundef %100)
  %.not112 = icmp eq ptr %99, null
  br i1 %.not112, label %106, label %101

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  store ptr null, ptr %8, align 8, !tbaa !40
  %102 = call noundef i32 @_ZL16WorkerGetRequestPhPP20Longtail_StoredBlock(ptr noundef nonnull %99, ptr noundef nonnull %8)
  %103 = getelementptr inbounds i8, ptr %89, i64 8
  %104 = load ptr, ptr %103, align 8, !tbaa !50
  %105 = load ptr, ptr %8, align 8, !tbaa !40
  call void %104(ptr noundef %89, ptr noundef %105, i32 noundef %102)
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef nonnull %0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  br label %109

106:                                              ; preds = %.thread, %97
  %107 = getelementptr inbounds i8, ptr %89, i64 8
  %108 = load ptr, ptr %107, align 8, !tbaa !50
  call void %108(ptr noundef %89, ptr noundef null, i32 noundef 2)
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef nonnull %0)
  br label %109, !llvm.loop !52

109:                                              ; preds = %106, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br label %select.unfold.backedge

110:                                              ; preds = %80
  %111 = load ptr, ptr %20, align 8, !tbaa !54
  %.not107 = icmp eq ptr %111, null
  br i1 %.not107, label %115, label %112

112:                                              ; preds = %110
  %113 = getelementptr inbounds i8, ptr %111, i64 -32
  %114 = load i64, ptr %113, align 8, !tbaa !24
  br label %115

115:                                              ; preds = %110, %112
  %116 = phi i64 [ %114, %112 ], [ 0, %110 ]
  %117 = load i64, ptr %21, align 8, !tbaa !55
  %118 = icmp sgt i64 %116, %117
  br i1 %118, label %119, label %139

119:                                              ; preds = %115
  %120 = add nsw i64 %117, 1
  store i64 %120, ptr %21, align 8, !tbaa !55
  %121 = getelementptr inbounds %struct.TestGetExistingContentRequest, ptr %111, i64 %117
  %122 = load ptr, ptr %121, align 8, !tbaa !56
  %123 = load ptr, ptr %15, align 8, !tbaa !22
  call void @Longtail_UnlockSpinLock(ptr noundef %123)
  %124 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_LockSpinLock(ptr noundef %124)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %125 = load ptr, ptr %24, align 8, !tbaa !42
  %126 = getelementptr inbounds i8, ptr %121, i64 8
  %127 = load i32, ptr %126, align 8, !tbaa !58
  %128 = getelementptr inbounds i8, ptr %121, i64 16
  %129 = load ptr, ptr %128, align 8, !tbaa !59
  %130 = call i32 @Longtail_GetExistingStoreIndex(ptr noundef %125, i32 noundef %127, ptr noundef %129, i32 noundef 0, ptr noundef nonnull %9)
  %131 = load ptr, ptr %23, align 8, !tbaa !30
  call void @Longtail_UnlockSpinLock(ptr noundef %131)
  %132 = load ptr, ptr %128, align 8, !tbaa !59
  call void @Longtail_Free(ptr noundef %132)
  %.not109 = icmp eq i32 %130, 0
  %133 = getelementptr inbounds i8, ptr %122, i64 8
  %134 = load ptr, ptr %133, align 8, !tbaa !60
  br i1 %.not109, label %136, label %135

135:                                              ; preds = %119
  call void %134(ptr noundef %122, ptr noundef null, i32 noundef %130)
  br label %138, !llvm.loop !52

136:                                              ; preds = %119
  %137 = load ptr, ptr %9, align 8, !tbaa !40
  call void %134(ptr noundef %122, ptr noundef %137, i32 noundef 0)
  br label %138, !llvm.loop !52

138:                                              ; preds = %136, %135
  call void @_ZN19TestAsyncBlockStore15CompleteRequestEPS_(ptr noundef nonnull %0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  br label %select.unfold.backedge

139:                                              ; preds = %115
  %140 = load ptr, ptr %15, align 8, !tbaa !22
  call void @Longtail_UnlockSpinLock(ptr noundef %140)
  %141 = load volatile i32, ptr %22, align 8, !tbaa !62
  %.not108 = icmp eq i32 %141, 0
  br i1 %.not108, label %select.unfold.backedge, label %142

select.unfold.backedge:                           ; preds = %139, %109, %138, %71
  br label %select.unfold

142:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
  ret i32 0
}

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL23stbds_hmget_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @Longtail_WaitSema(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16WorkerPutRequestP20Longtail_StoredBlockPPh(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL23stbds_hmput_key_wrapperI21TestStoredBlockLookupEPT_S2_mPvmi(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL16WorkerGetRequestPhPP20Longtail_StoredBlock(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 = !{!"_ZTS28Longtail_LogFieldFmt_Private", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTS30Longtail_LogContextFmt_Private", !7, i64 0, !7, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!13, !7, i64 8}
!16 = !{!13, !14, i64 16}
!17 = !{!18, !7, i64 104}
!18 = !{!"_ZTS19TestAsyncBlockStore", !19, i64 0, !7, i64 64, !7, i64 72, !21, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !8, i64 112, !21, i64 176, !7, i64 184, !14, i64 192, !7, i64 200, !14, i64 208, !7, i64 216, !14, i64 224, !7, i64 232, !7, i64 240, !7, i64 248}
!19 = !{!"_ZTS22Longtail_BlockStoreAPI", !20, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!20 = !{!"_ZTS12Longtail_API", !7, i64 0}
!21 = !{!"int", !8, i64 0}
!22 = !{!18, !7, i64 88}
!23 = !{!18, !7, i64 200}
!24 = !{!25, !14, i64 0}
!25 = !{!"_ZTS18stbds_array_header", !14, i64 0, !14, i64 8, !7, i64 16, !14, i64 24}
!26 = !{!18, !14, i64 192}
!27 = !{!28, !7, i64 8}
!28 = !{!"_ZTS19TestPutBlockRequest", !14, i64 0, !7, i64 8, !7, i64 16}
!29 = !{!28, !7, i64 16}
!30 = !{!18, !7, i64 96}
!31 = !{!18, !7, i64 248}
!32 = !{!33, !7, i64 8}
!33 = !{!"_ZTS20Longtail_StoredBlock", !7, i64 0, !7, i64 8, !7, i64 16, !21, i64 24}
!34 = !{!35, !7, i64 0}
!35 = !{!"_ZTS19Longtail_BlockIndex", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!36 = !{!14, !14, i64 0}
!37 = !{!25, !14, i64 24}
!38 = !{!39, !14, i64 0}
!39 = !{!"_ZTS21TestStoredBlockLookup", !14, i64 0, !7, i64 8}
!40 = !{!7, !7, i64 0}
!41 = !{!39, !7, i64 8}
!42 = !{!18, !7, i64 240}
!43 = !{!44, !7, i64 8}
!44 = !{!"_ZTS31Longtail_AsyncPutStoredBlockAPI", !20, i64 0, !7, i64 8}
!45 = !{!18, !7, i64 216}
!46 = !{!18, !14, i64 208}
!47 = !{!48, !14, i64 0}
!48 = !{!"_ZTS19TestGetBlockRequest", !14, i64 0, !7, i64 8}
!49 = !{!48, !7, i64 8}
!50 = !{!51, !7, i64 8}
!51 = !{!"_ZTS31Longtail_AsyncGetStoredBlockAPI", !20, i64 0, !7, i64 8}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!18, !7, i64 232}
!55 = !{!18, !14, i64 224}
!56 = !{!57, !7, i64 0}
!57 = !{!"_ZTS29TestGetExistingContentRequest", !7, i64 0, !21, i64 8, !7, i64 16}
!58 = !{!57, !21, i64 8}
!59 = !{!57, !7, i64 16}
!60 = !{!61, !7, i64 8}
!61 = !{!"_ZTS35Longtail_AsyncGetExistingContentAPI", !20, i64 0, !7, i64 8}
!62 = !{!18, !21, i64 80}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopUnrollPass,MergedLoadStoreMotionPass,SROAPass,SimplifyCFGPass