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

; 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_StorageAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_API = type { ptr }
%struct.jc_test_fixture = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.jc_test_stats, i32, i32, i32, i32 }
%struct.jc_test_stats = type { i32, i32, i32, i32, i64 }
%struct.Longtail_VersionIndex = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr }
%struct.Longtail_BlockStoreAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_JobAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_ChunkerAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_HashAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_CompressionRegistryAPI = type { %struct.Longtail_API, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.388 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.389 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.409 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.507 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.510 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.513 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.526 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.527 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.528 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.529 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.530 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.531 = external hidden unnamed_addr constant [152 x i8], align 1
@.str.532 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.533 = external hidden unnamed_addr constant [173 x i8], align 1
@.str.534 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.535 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.536 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.537 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.538 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.539 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.540 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.541 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.542 = external hidden unnamed_addr constant [16 x i8], align 1
@__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [8 x ptr], align 16
@__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [8 x ptr], align 16

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

declare ptr @Longtail_Alloc(ptr noundef, i64 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @_ZL19jc_test_get_fixturev() #2

declare void @_Z28jc_test_increment_assertionsv() #1

declare void @_Z21jc_test_set_test_faili(i32 noundef) #1

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 noundef i32 @_Z17jc_test_cmp_STREQPKcS0_S0_S0_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef, ptr noundef) #4 align 2

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

declare void @Longtail_DisposeAPI(ptr noundef) #1

declare ptr @Longtail_CreateBlake3HashAPI() #1

; 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) #5

declare ptr @Longtail_CreateHPCDCChunkerAPI() #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare ptr @Longtail_CreateInMemStorageAPI() #1

declare ptr @Longtail_CreateFullCompressionRegistry() #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(8) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca [8 x ptr], align 16
  %12 = alloca [8 x ptr], align 16
  %13 = alloca [8 x i64], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i64, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca ptr, align 8
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %51 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %52 = call ptr @Longtail_CreateInMemStorageAPI()
  store ptr %52, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %53 = call ptr @Longtail_CreateFullCompressionRegistry()
  store ptr %53, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %54 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %54, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %55 = call ptr @Longtail_CreateHPCDCChunkerAPI()
  store ptr %55, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %56 = call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  store ptr %56, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = call ptr @Longtail_CreateFSBlockStoreAPI(ptr noundef %57, ptr noundef %58, ptr noundef @.str.270, ptr noundef null, i32 noundef 0)
  store ptr %59, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = call ptr @Longtail_CreateShareBlockStoreAPI(ptr noundef %60)
  store ptr %61, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 8, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_FILENAMES, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #6
  %62 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 0
  %63 = load ptr, ptr %62, align 16, !tbaa !5
  %64 = call i64 @strlen(ptr noundef %63) #7
  %65 = add i64 %64, 1
  store i64 %65, ptr %13, align 8, !tbaa !11
  %66 = getelementptr inbounds i64, ptr %13, i64 1
  %67 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 1
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = call i64 @strlen(ptr noundef %68) #7
  %70 = add i64 %69, 1
  store i64 %70, ptr %66, align 8, !tbaa !11
  %71 = getelementptr inbounds i64, ptr %13, i64 2
  %72 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 2
  %73 = load ptr, ptr %72, align 16, !tbaa !5
  %74 = call i64 @strlen(ptr noundef %73) #7
  %75 = add i64 %74, 1
  store i64 %75, ptr %71, align 8, !tbaa !11
  %76 = getelementptr inbounds i64, ptr %13, i64 3
  %77 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 3
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = call i64 @strlen(ptr noundef %78) #7
  %80 = add i64 %79, 1
  store i64 %80, ptr %76, align 8, !tbaa !11
  %81 = getelementptr inbounds i64, ptr %13, i64 4
  %82 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 4
  %83 = load ptr, ptr %82, align 16, !tbaa !5
  %84 = call i64 @strlen(ptr noundef %83) #7
  %85 = add i64 %84, 1
  store i64 %85, ptr %81, align 8, !tbaa !11
  %86 = getelementptr inbounds i64, ptr %13, i64 5
  store i64 0, ptr %86, align 8, !tbaa !11
  %87 = getelementptr inbounds i64, ptr %13, i64 6
  %88 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 6
  %89 = load ptr, ptr %88, align 16, !tbaa !5
  %90 = call i64 @strlen(ptr noundef %89) #7
  %91 = add i64 %90, 1
  store i64 %91, ptr %87, align 8, !tbaa !11
  %92 = getelementptr inbounds i64, ptr %13, i64 7
  %93 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 7
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  %95 = call i64 @strlen(ptr noundef %94) #7
  %96 = add i64 %95, 1
  store i64 %96, ptr %92, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %97

97:                                               ; preds = %208, %1
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = icmp ult i32 %98, 8
  br i1 %99, label %101, label %100

100:                                              ; preds = %97
  store i32 2, ptr %15, align 4
  br label %211

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %102, i32 0, i32 12
  %104 = load ptr, ptr %103, align 8, !tbaa !13
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds [8 x ptr], ptr %11, i64 0, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = call noundef ptr %104(ptr noundef %105, ptr noundef @.str.409, ptr noundef %109)
  store ptr %110, ptr %16, align 8, !tbaa !5
  br label %111

111:                                              ; preds = %101
  %112 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %113 = getelementptr inbounds %struct.jc_test_fixture, ptr %112, i32 0, i32 11
  %114 = load i32, ptr %113, align 8
  %115 = and i32 %114, -16776961
  %116 = or i32 %115, 1148416
  store i32 %116, ptr %113, align 8
  %117 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %118 = getelementptr inbounds %struct.jc_test_fixture, ptr %117, i32 0, i32 4
  store ptr @.str.3, ptr %118, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = call noundef i32 @_ZL16CreateParentPathP19Longtail_StorageAPIPKc(ptr noundef %119, ptr noundef %120)
  %122 = call noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %121, ptr noundef @.str.46, ptr noundef @.str.526)
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %111
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %205

125:                                              ; preds = %111
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  br label %128

128:                                              ; preds = %127
  %129 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %130 = getelementptr inbounds %struct.jc_test_fixture, ptr %129, i32 0, i32 11
  %131 = load i32, ptr %130, align 8
  %132 = and i32 %131, -16776961
  %133 = or i32 %132, 1148928
  store i32 %133, ptr %130, align 8
  %134 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %135 = getelementptr inbounds %struct.jc_test_fixture, ptr %134, i32 0, i32 4
  store ptr @.str.3, ptr %135, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %136, i32 0, i32 4
  %138 = load ptr, ptr %137, align 8, !tbaa !19
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = load ptr, ptr %16, align 8, !tbaa !5
  %141 = call noundef i32 %138(ptr noundef %139, ptr noundef %140, i64 noundef 0, ptr noundef %17)
  store i32 %141, ptr %19, align 4, !tbaa !9
  %142 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef @.str.46, ptr noundef @.str.527, ptr noundef null)
  %143 = icmp eq i32 %142, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br i1 %143, label %144, label %145

144:                                              ; preds = %128
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %204

145:                                              ; preds = %128
  br label %146

146:                                              ; preds = %145
  br label %147

147:                                              ; preds = %146
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %148)
  br label %149

149:                                              ; preds = %147
  %150 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %151 = getelementptr inbounds %struct.jc_test_fixture, ptr %150, i32 0, i32 11
  %152 = load i32, ptr %151, align 8
  %153 = and i32 %152, -16776961
  %154 = or i32 %153, 1149440
  store i32 %154, ptr %151, align 8
  %155 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %156 = getelementptr inbounds %struct.jc_test_fixture, ptr %155, i32 0, i32 4
  store ptr @.str.3, ptr %156, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %157 = load ptr, ptr %17, align 8, !tbaa !5
  %158 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %157, ptr noundef @.str.388, ptr noundef @.str.389)
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %161

160:                                              ; preds = %149
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %204

161:                                              ; preds = %149
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = zext i32 %164 to i64
  %166 = getelementptr inbounds [8 x i64], ptr %13, i64 0, i64 %165
  %167 = load i64, ptr %166, align 8, !tbaa !11
  %168 = icmp ne i64 %167, 0
  br i1 %168, label %169, label %198

169:                                              ; preds = %163
  br label %170

170:                                              ; preds = %169
  %171 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %172 = getelementptr inbounds %struct.jc_test_fixture, ptr %171, i32 0, i32 11
  %173 = load i32, ptr %172, align 8
  %174 = and i32 %173, -16776961
  %175 = or i32 %174, 1150208
  store i32 %175, ptr %172, align 8
  %176 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %177 = getelementptr inbounds %struct.jc_test_fixture, ptr %176, i32 0, i32 4
  store ptr @.str.3, ptr %177, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %178 = load ptr, ptr %3, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %178, i32 0, i32 5
  %180 = load ptr, ptr %179, align 8, !tbaa !20
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = load ptr, ptr %17, align 8, !tbaa !5
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = getelementptr inbounds [8 x i64], ptr %13, i64 0, i64 %184
  %186 = load i64, ptr %185, align 8, !tbaa !11
  %187 = load i32, ptr %14, align 4, !tbaa !9
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 %188
  %190 = load ptr, ptr %189, align 8, !tbaa !5
  %191 = call noundef i32 %180(ptr noundef %181, ptr noundef %182, i64 noundef 0, i64 noundef %186, ptr noundef %190)
  store i32 %191, ptr %21, align 4, !tbaa !9
  %192 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef @.str.46, ptr noundef @.str.528, ptr noundef null)
  %193 = icmp eq i32 %192, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br i1 %193, label %194, label %195

194:                                              ; preds = %170
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %204

195:                                              ; preds = %170
  br label %196

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196
  br label %198

198:                                              ; preds = %197, %163
  %199 = load ptr, ptr %3, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %199, i32 0, i32 9
  %201 = load ptr, ptr %200, align 8, !tbaa !21
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = load ptr, ptr %17, align 8, !tbaa !5
  call void %201(ptr noundef %202, ptr noundef %203)
  store ptr null, ptr %17, align 8, !tbaa !5
  store i32 0, ptr %15, align 4
  br label %204

204:                                              ; preds = %198, %194, %160, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %205

205:                                              ; preds = %204, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %206 = load i32, ptr %15, align 4
  switch i32 %206, label %211 [
    i32 0, label %207
  ]

207:                                              ; preds = %205
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = add i32 %209, 1
  store i32 %210, ptr %14, align 4, !tbaa !9
  br label %97, !llvm.loop !22

211:                                              ; preds = %205, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %212 = load i32, ptr %15, align 4
  switch i32 %212, label %616 [
    i32 2, label %213
  ]

213:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  br label %214

214:                                              ; preds = %213
  %215 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %216 = getelementptr inbounds %struct.jc_test_fixture, ptr %215, i32 0, i32 11
  %217 = load i32, ptr %216, align 8
  %218 = and i32 %217, -16776961
  %219 = or i32 %218, 1152000
  store i32 %219, ptr %216, align 8
  %220 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %221 = getelementptr inbounds %struct.jc_test_fixture, ptr %220, i32 0, i32 4
  store ptr @.str.3, ptr %221, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %222 = load ptr, ptr %3, align 8, !tbaa !5
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %222, ptr noundef %223, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %22)
  store i32 %224, ptr %24, align 4, !tbaa !9
  %225 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef @.str.46, ptr noundef @.str.529, ptr noundef null)
  %226 = icmp eq i32 %225, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br i1 %226, label %227, label %228

227:                                              ; preds = %214
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %615

228:                                              ; preds = %214
  br label %229

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  %232 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %233 = getelementptr inbounds %struct.jc_test_fixture, ptr %232, i32 0, i32 11
  %234 = load i32, ptr %233, align 8
  %235 = and i32 %234, -16776961
  %236 = or i32 %235, 1152256
  store i32 %236, ptr %233, align 8
  %237 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %238 = getelementptr inbounds %struct.jc_test_fixture, ptr %237, i32 0, i32 4
  store ptr @.str.3, ptr %238, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %239 = load ptr, ptr %22, align 8, !tbaa !5
  %240 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %239, ptr noundef @.str.253, ptr noundef @.str.254)
  %241 = icmp eq i32 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %231
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %615

243:                                              ; preds = %231
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  %247 = load ptr, ptr %22, align 8, !tbaa !5
  %248 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef %246, ptr noundef %247)
  store ptr %248, ptr %25, align 8, !tbaa !5
  br label %249

249:                                              ; preds = %245
  %250 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %251 = getelementptr inbounds %struct.jc_test_fixture, ptr %250, i32 0, i32 11
  %252 = load i32, ptr %251, align 8
  %253 = and i32 %252, -16776961
  %254 = or i32 %253, 1152768
  store i32 %254, ptr %251, align 8
  %255 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %256 = getelementptr inbounds %struct.jc_test_fixture, ptr %255, i32 0, i32 4
  store ptr @.str.3, ptr %256, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %257 = load ptr, ptr %25, align 8, !tbaa !5
  %258 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %257, ptr noundef @.str.255, ptr noundef @.str.530)
  %259 = icmp eq i32 %258, 0
  br i1 %259, label %260, label %261

260:                                              ; preds = %249
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %614

261:                                              ; preds = %249
  br label %262

262:                                              ; preds = %261
  br label %263

263:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  br label %264

264:                                              ; preds = %263
  %265 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %266 = getelementptr inbounds %struct.jc_test_fixture, ptr %265, i32 0, i32 11
  %267 = load i32, ptr %266, align 8
  %268 = and i32 %267, -16776961
  %269 = or i32 %268, 1156608
  store i32 %269, ptr %266, align 8
  %270 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %271 = getelementptr inbounds %struct.jc_test_fixture, ptr %270, i32 0, i32 4
  store ptr @.str.3, ptr %271, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %272 = load ptr, ptr %3, align 8, !tbaa !5
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load ptr, ptr %22, align 8, !tbaa !5
  %277 = load ptr, ptr %25, align 8, !tbaa !5
  %278 = call i32 @Longtail_CreateVersionIndex(ptr noundef %272, ptr noundef %273, ptr noundef %274, ptr noundef %275, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %276, ptr noundef %277, i32 noundef 50, i32 noundef 0, ptr noundef %26)
  store i32 %278, ptr %28, align 4, !tbaa !9
  %279 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef @.str.46, ptr noundef @.str.531, ptr noundef null)
  %280 = icmp eq i32 %279, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br i1 %280, label %281, label %282

281:                                              ; preds = %264
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %613

282:                                              ; preds = %264
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  %286 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %287 = getelementptr inbounds %struct.jc_test_fixture, ptr %286, i32 0, i32 11
  %288 = load i32, ptr %287, align 8
  %289 = and i32 %288, -16776961
  %290 = or i32 %289, 1156864
  store i32 %290, ptr %287, align 8
  %291 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %292 = getelementptr inbounds %struct.jc_test_fixture, ptr %291, i32 0, i32 4
  store ptr @.str.3, ptr %292, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %293 = load ptr, ptr %26, align 8, !tbaa !5
  %294 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %293, ptr noundef @.str.259, ptr noundef @.str.260)
  %295 = icmp eq i32 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %285
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %613

297:                                              ; preds = %285
  br label %298

298:                                              ; preds = %297
  br label %299

299:                                              ; preds = %298
  %300 = load ptr, ptr %25, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %300)
  store ptr null, ptr %25, align 8, !tbaa !5
  %301 = load ptr, ptr %22, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %301)
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  br label %302

302:                                              ; preds = %299
  %303 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %304 = getelementptr inbounds %struct.jc_test_fixture, ptr %303, i32 0, i32 11
  %305 = load i32, ptr %304, align 8
  %306 = and i32 %305, -16776961
  %307 = or i32 %306, 1160704
  store i32 %307, ptr %304, align 8
  %308 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %309 = getelementptr inbounds %struct.jc_test_fixture, ptr %308, i32 0, i32 4
  store ptr @.str.3, ptr %309, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 0, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %310 = load ptr, ptr %5, align 8, !tbaa !5
  %311 = load ptr, ptr %26, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %311, i32 0, i32 4
  %313 = load ptr, ptr %312, align 8, !tbaa !24
  %314 = load i32, ptr %313, align 4, !tbaa !9
  %315 = load ptr, ptr %26, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %315, i32 0, i32 12
  %317 = load ptr, ptr %316, align 8, !tbaa !26
  %318 = load ptr, ptr %26, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %318, i32 0, i32 13
  %320 = load ptr, ptr %319, align 8, !tbaa !27
  %321 = load ptr, ptr %26, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %321, i32 0, i32 14
  %323 = load ptr, ptr %322, align 8, !tbaa !28
  %324 = call i32 @Longtail_CreateStoreIndex(ptr noundef %310, i32 noundef %314, ptr noundef %317, ptr noundef %320, ptr noundef %323, i32 noundef 32, i32 noundef 3, ptr noundef %29)
  store i32 %324, ptr %31, align 4, !tbaa !9
  %325 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef @.str.46, ptr noundef @.str.533, ptr noundef null)
  %326 = icmp eq i32 %325, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br i1 %326, label %327, label %328

327:                                              ; preds = %302
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %612

328:                                              ; preds = %302
  br label %329

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  %332 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %333 = getelementptr inbounds %struct.jc_test_fixture, ptr %332, i32 0, i32 11
  %334 = load i32, ptr %333, align 8
  %335 = and i32 %334, -16776961
  %336 = or i32 %335, 1160960
  store i32 %336, ptr %333, align 8
  %337 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %338 = getelementptr inbounds %struct.jc_test_fixture, ptr %337, i32 0, i32 4
  store ptr @.str.3, ptr %338, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %339 = load ptr, ptr %29, align 8, !tbaa !5
  %340 = call noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %339, ptr noundef @.str.534, ptr noundef @.str.535)
  %341 = icmp eq i32 %340, 0
  br i1 %341, label %342, label %343

342:                                              ; preds = %331
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %612

343:                                              ; preds = %331
  br label %344

344:                                              ; preds = %343
  br label %345

345:                                              ; preds = %344
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %346 = load ptr, ptr %9, align 8, !tbaa !5
  %347 = load ptr, ptr %26, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %347, i32 0, i32 4
  %349 = load ptr, ptr %348, align 8, !tbaa !24
  %350 = load i32, ptr %349, align 4, !tbaa !9
  %351 = load ptr, ptr %26, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %351, i32 0, i32 12
  %353 = load ptr, ptr %352, align 8, !tbaa !26
  %354 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %346, i32 noundef %350, ptr noundef %353, i32 noundef 0)
  store ptr %354, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  br label %355

355:                                              ; preds = %345
  %356 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %357 = getelementptr inbounds %struct.jc_test_fixture, ptr %356, i32 0, i32 11
  %358 = load i32, ptr %357, align 8
  %359 = and i32 %358, -16776961
  %360 = or i32 %359, 1163776
  store i32 %360, ptr %357, align 8
  %361 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %362 = getelementptr inbounds %struct.jc_test_fixture, ptr %361, i32 0, i32 4
  store ptr @.str.3, ptr %362, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %363 = load ptr, ptr %5, align 8, !tbaa !5
  %364 = load ptr, ptr %32, align 8, !tbaa !5
  %365 = load ptr, ptr %26, align 8, !tbaa !5
  %366 = call i32 @Longtail_CreateMissingContent(ptr noundef %363, ptr noundef %364, ptr noundef %365, i32 noundef 32, i32 noundef 3, ptr noundef %33)
  store i32 %366, ptr %35, align 4, !tbaa !9
  %367 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef @.str.46, ptr noundef @.str.412, ptr noundef null)
  %368 = icmp eq i32 %367, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br i1 %368, label %369, label %370

369:                                              ; preds = %355
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %611

370:                                              ; preds = %355
  br label %371

371:                                              ; preds = %370
  br label %372

372:                                              ; preds = %371
  br label %373

373:                                              ; preds = %372
  %374 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %375 = getelementptr inbounds %struct.jc_test_fixture, ptr %374, i32 0, i32 11
  %376 = load i32, ptr %375, align 8
  %377 = and i32 %376, -16776961
  %378 = or i32 %377, 1166592
  store i32 %378, ptr %375, align 8
  %379 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %380 = getelementptr inbounds %struct.jc_test_fixture, ptr %379, i32 0, i32 4
  store ptr @.str.3, ptr %380, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %381 = load ptr, ptr %3, align 8, !tbaa !5
  %382 = load ptr, ptr %9, align 8, !tbaa !5
  %383 = load ptr, ptr %7, align 8, !tbaa !5
  %384 = load ptr, ptr %33, align 8, !tbaa !5
  %385 = load ptr, ptr %26, align 8, !tbaa !5
  %386 = call i32 @Longtail_WriteContent(ptr noundef %381, ptr noundef %382, ptr noundef %383, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %384, ptr noundef %385, ptr noundef @.str.409)
  store i32 %386, ptr %37, align 4, !tbaa !9
  %387 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef @.str.46, ptr noundef @.str.532, ptr noundef null)
  %388 = icmp eq i32 %387, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br i1 %388, label %389, label %390

389:                                              ; preds = %373
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %611

390:                                              ; preds = %373
  br label %391

391:                                              ; preds = %390
  br label %392

392:                                              ; preds = %391
  %393 = load ptr, ptr %33, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %393)
  store ptr null, ptr %33, align 8, !tbaa !5
  %394 = load ptr, ptr %32, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %394)
  store ptr null, ptr %32, align 8, !tbaa !5
  br label %395

395:                                              ; preds = %392
  %396 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %397 = getelementptr inbounds %struct.jc_test_fixture, ptr %396, i32 0, i32 11
  %398 = load i32, ptr %397, align 8
  %399 = and i32 %398, -16776961
  %400 = or i32 %399, 1170944
  store i32 %400, ptr %397, align 8
  %401 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %402 = getelementptr inbounds %struct.jc_test_fixture, ptr %401, i32 0, i32 4
  store ptr @.str.3, ptr %402, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  store i32 0, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  %403 = load ptr, ptr %9, align 8, !tbaa !5
  %404 = load ptr, ptr %3, align 8, !tbaa !5
  %405 = load ptr, ptr %7, align 8, !tbaa !5
  %406 = load ptr, ptr %29, align 8, !tbaa !5
  %407 = load ptr, ptr %26, align 8, !tbaa !5
  %408 = call i32 @Longtail_WriteVersion(ptr noundef %403, ptr noundef %404, ptr noundef %405, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %406, ptr noundef %407, ptr noundef @.str.536, i32 noundef 1)
  store i32 %408, ptr %39, align 4, !tbaa !9
  %409 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef @.str.46, ptr noundef @.str.537, ptr noundef null)
  %410 = icmp eq i32 %409, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br i1 %410, label %411, label %412

411:                                              ; preds = %395
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %611

412:                                              ; preds = %395
  br label %413

413:                                              ; preds = %412
  br label %414

414:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  store i32 0, ptr %40, align 4, !tbaa !9
  br label %415

415:                                              ; preds = %561, %414
  %416 = load i32, ptr %40, align 4, !tbaa !9
  %417 = icmp ult i32 %416, 8
  br i1 %417, label %419, label %418

418:                                              ; preds = %415
  store i32 33, ptr %15, align 4
  br label %564

419:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %420 = load ptr, ptr %3, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %420, i32 0, i32 12
  %422 = load ptr, ptr %421, align 8, !tbaa !13
  %423 = load ptr, ptr %3, align 8, !tbaa !5
  %424 = load i32, ptr %40, align 4, !tbaa !9
  %425 = zext i32 %424 to i64
  %426 = getelementptr inbounds [8 x ptr], ptr %11, i64 0, i64 %425
  %427 = load ptr, ptr %426, align 8, !tbaa !5
  %428 = call noundef ptr %422(ptr noundef %423, ptr noundef @.str.536, ptr noundef %427)
  store ptr %428, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  br label %429

429:                                              ; preds = %419
  %430 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %431 = getelementptr inbounds %struct.jc_test_fixture, ptr %430, i32 0, i32 11
  %432 = load i32, ptr %431, align 8
  %433 = and i32 %432, -16776961
  %434 = or i32 %433, 1172480
  store i32 %434, ptr %431, align 8
  %435 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %436 = getelementptr inbounds %struct.jc_test_fixture, ptr %435, i32 0, i32 4
  store ptr @.str.3, ptr %436, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #6
  store i32 0, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %437 = load ptr, ptr %3, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %437, i32 0, i32 1
  %439 = load ptr, ptr %438, align 8, !tbaa !29
  %440 = load ptr, ptr %3, align 8, !tbaa !5
  %441 = load ptr, ptr %41, align 8, !tbaa !5
  %442 = call noundef i32 %439(ptr noundef %440, ptr noundef %441, ptr noundef %42)
  store i32 %442, ptr %44, align 4, !tbaa !9
  %443 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef @.str.46, ptr noundef @.str.538, ptr noundef null)
  %444 = icmp eq i32 %443, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #6
  br i1 %444, label %445, label %446

445:                                              ; preds = %429
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %558

446:                                              ; preds = %429
  br label %447

447:                                              ; preds = %446
  br label %448

448:                                              ; preds = %447
  %449 = load ptr, ptr %41, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %449)
  br label %450

450:                                              ; preds = %448
  %451 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %452 = getelementptr inbounds %struct.jc_test_fixture, ptr %451, i32 0, i32 11
  %453 = load i32, ptr %452, align 8
  %454 = and i32 %453, -16776961
  %455 = or i32 %454, 1172992
  store i32 %455, ptr %452, align 8
  %456 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %457 = getelementptr inbounds %struct.jc_test_fixture, ptr %456, i32 0, i32 4
  store ptr @.str.3, ptr %457, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %458 = load ptr, ptr %42, align 8, !tbaa !5
  %459 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %458, ptr noundef @.str.388, ptr noundef @.str.507)
  %460 = icmp eq i32 %459, 0
  br i1 %460, label %461, label %462

461:                                              ; preds = %450
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %558

462:                                              ; preds = %450
  br label %463

463:                                              ; preds = %462
  br label %464

464:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  br label %465

465:                                              ; preds = %464
  %466 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %467 = getelementptr inbounds %struct.jc_test_fixture, ptr %466, i32 0, i32 11
  %468 = load i32, ptr %467, align 8
  %469 = and i32 %468, -16776961
  %470 = or i32 %469, 1173504
  store i32 %470, ptr %467, align 8
  %471 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %472 = getelementptr inbounds %struct.jc_test_fixture, ptr %471, i32 0, i32 4
  store ptr @.str.3, ptr %472, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store i32 0, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %473 = load ptr, ptr %3, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %473, i32 0, i32 2
  %475 = load ptr, ptr %474, align 8, !tbaa !30
  %476 = load ptr, ptr %3, align 8, !tbaa !5
  %477 = load ptr, ptr %42, align 8, !tbaa !5
  %478 = call noundef i32 %475(ptr noundef %476, ptr noundef %477, ptr noundef %45)
  store i32 %478, ptr %47, align 4, !tbaa !9
  %479 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef @.str.46, ptr noundef @.str.539, ptr noundef null)
  %480 = icmp eq i32 %479, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br i1 %480, label %481, label %482

481:                                              ; preds = %465
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %557

482:                                              ; preds = %465
  br label %483

483:                                              ; preds = %482
  br label %484

484:                                              ; preds = %483
  br label %485

485:                                              ; preds = %484
  %486 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %487 = getelementptr inbounds %struct.jc_test_fixture, ptr %486, i32 0, i32 11
  %488 = load i32, ptr %487, align 8
  %489 = and i32 %488, -16776961
  %490 = or i32 %489, 1173760
  store i32 %490, ptr %487, align 8
  %491 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %492 = getelementptr inbounds %struct.jc_test_fixture, ptr %491, i32 0, i32 4
  store ptr @.str.3, ptr %492, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %493 = load i32, ptr %40, align 4, !tbaa !9
  %494 = zext i32 %493 to i64
  %495 = getelementptr inbounds [8 x i64], ptr %13, i64 0, i64 %494
  %496 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %495, ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @.str.540, ptr noundef @.str.510)
  %497 = icmp eq i32 %496, 0
  br i1 %497, label %498, label %499

498:                                              ; preds = %485
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %557

499:                                              ; preds = %485
  br label %500

500:                                              ; preds = %499
  br label %501

501:                                              ; preds = %500
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %502 = load i64, ptr %45, align 8, !tbaa !11
  %503 = mul i64 1, %502
  %504 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %503)
  store ptr %504, ptr %48, align 8, !tbaa !5
  %505 = load i64, ptr %45, align 8, !tbaa !11
  %506 = icmp ne i64 %505, 0
  br i1 %506, label %507, label %549

507:                                              ; preds = %501
  br label %508

508:                                              ; preds = %507
  %509 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %510 = getelementptr inbounds %struct.jc_test_fixture, ptr %509, i32 0, i32 11
  %511 = load i32, ptr %510, align 8
  %512 = and i32 %511, -16776961
  %513 = or i32 %512, 1174784
  store i32 %513, ptr %510, align 8
  %514 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %515 = getelementptr inbounds %struct.jc_test_fixture, ptr %514, i32 0, i32 4
  store ptr @.str.3, ptr %515, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #6
  store i32 0, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #6
  %516 = load ptr, ptr %3, align 8, !tbaa !5
  %517 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %516, i32 0, i32 3
  %518 = load ptr, ptr %517, align 8, !tbaa !31
  %519 = load ptr, ptr %3, align 8, !tbaa !5
  %520 = load ptr, ptr %42, align 8, !tbaa !5
  %521 = load i64, ptr %45, align 8, !tbaa !11
  %522 = load ptr, ptr %48, align 8, !tbaa !5
  %523 = call noundef i32 %518(ptr noundef %519, ptr noundef %520, i64 noundef 0, i64 noundef %521, ptr noundef %522)
  store i32 %523, ptr %50, align 4, !tbaa !9
  %524 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef @.str.46, ptr noundef @.str.541, ptr noundef null)
  %525 = icmp eq i32 %524, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #6
  br i1 %525, label %526, label %527

526:                                              ; preds = %508
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %556

527:                                              ; preds = %508
  br label %528

528:                                              ; preds = %527
  br label %529

529:                                              ; preds = %528
  br label %530

530:                                              ; preds = %529
  %531 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %532 = getelementptr inbounds %struct.jc_test_fixture, ptr %531, i32 0, i32 11
  %533 = load i32, ptr %532, align 8
  %534 = and i32 %533, -16776961
  %535 = or i32 %534, 1175040
  store i32 %535, ptr %532, align 8
  %536 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %537 = getelementptr inbounds %struct.jc_test_fixture, ptr %536, i32 0, i32 4
  store ptr @.str.3, ptr %537, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %538 = load i32, ptr %40, align 4, !tbaa !9
  %539 = zext i32 %538 to i64
  %540 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 %539
  %541 = load ptr, ptr %540, align 8, !tbaa !5
  %542 = load ptr, ptr %48, align 8, !tbaa !5
  %543 = call noundef i32 @_Z17jc_test_cmp_STREQPKcS0_S0_S0_(ptr noundef %541, ptr noundef %542, ptr noundef @.str.542, ptr noundef @.str.513)
  %544 = icmp eq i32 %543, 0
  br i1 %544, label %545, label %546

545:                                              ; preds = %530
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %556

546:                                              ; preds = %530
  br label %547

547:                                              ; preds = %546
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548, %501
  %550 = load ptr, ptr %3, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %550, i32 0, i32 9
  %552 = load ptr, ptr %551, align 8, !tbaa !21
  %553 = load ptr, ptr %3, align 8, !tbaa !5
  %554 = load ptr, ptr %42, align 8, !tbaa !5
  call void %552(ptr noundef %553, ptr noundef %554)
  store ptr null, ptr %42, align 8, !tbaa !5
  %555 = load ptr, ptr %48, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %555)
  store ptr null, ptr %48, align 8, !tbaa !5
  store i32 0, ptr %15, align 4
  br label %556

556:                                              ; preds = %549, %545, %526
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %557

557:                                              ; preds = %556, %498, %481
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %558

558:                                              ; preds = %557, %461, %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  %559 = load i32, ptr %15, align 4
  switch i32 %559, label %564 [
    i32 0, label %560
  ]

560:                                              ; preds = %558
  br label %561

561:                                              ; preds = %560
  %562 = load i32, ptr %40, align 4, !tbaa !9
  %563 = add i32 %562, 1
  store i32 %563, ptr %40, align 4, !tbaa !9
  br label %415, !llvm.loop !32

564:                                              ; preds = %558, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  %565 = load i32, ptr %15, align 4
  switch i32 %565, label %611 [
    i32 33, label %566
  ]

566:                                              ; preds = %564
  %567 = load ptr, ptr %26, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %567)
  store ptr null, ptr %26, align 8, !tbaa !5
  %568 = load ptr, ptr %29, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %568)
  store ptr null, ptr %29, align 8, !tbaa !5
  %569 = load ptr, ptr %8, align 8, !tbaa !5
  %570 = icmp ne ptr %569, null
  br i1 %570, label %571, label %574

571:                                              ; preds = %566
  %572 = load ptr, ptr %8, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %572, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %573)
  br label %574

574:                                              ; preds = %571, %566
  %575 = load ptr, ptr %9, align 8, !tbaa !5
  %576 = icmp ne ptr %575, null
  br i1 %576, label %577, label %580

577:                                              ; preds = %574
  %578 = load ptr, ptr %9, align 8, !tbaa !5
  %579 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %578, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %579)
  br label %580

580:                                              ; preds = %577, %574
  %581 = load ptr, ptr %7, align 8, !tbaa !5
  %582 = icmp ne ptr %581, null
  br i1 %582, label %583, label %586

583:                                              ; preds = %580
  %584 = load ptr, ptr %7, align 8, !tbaa !5
  %585 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %584, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %585)
  br label %586

586:                                              ; preds = %583, %580
  %587 = load ptr, ptr %6, align 8, !tbaa !5
  %588 = icmp ne ptr %587, null
  br i1 %588, label %589, label %592

589:                                              ; preds = %586
  %590 = load ptr, ptr %6, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.Longtail_ChunkerAPI, ptr %590, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %591)
  br label %592

592:                                              ; preds = %589, %586
  %593 = load ptr, ptr %5, align 8, !tbaa !5
  %594 = icmp ne ptr %593, null
  br i1 %594, label %595, label %598

595:                                              ; preds = %592
  %596 = load ptr, ptr %5, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %596, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %597)
  br label %598

598:                                              ; preds = %595, %592
  %599 = load ptr, ptr %4, align 8, !tbaa !5
  %600 = icmp ne ptr %599, null
  br i1 %600, label %601, label %604

601:                                              ; preds = %598
  %602 = load ptr, ptr %4, align 8, !tbaa !5
  %603 = getelementptr inbounds %struct.Longtail_CompressionRegistryAPI, ptr %602, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %603)
  br label %604

604:                                              ; preds = %601, %598
  %605 = load ptr, ptr %3, align 8, !tbaa !5
  %606 = icmp ne ptr %605, null
  br i1 %606, label %607, label %610

607:                                              ; preds = %604
  %608 = load ptr, ptr %3, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %608, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %609)
  br label %610

610:                                              ; preds = %607, %604
  store i32 0, ptr %15, align 4
  br label %611

611:                                              ; preds = %610, %564, %411, %389, %369
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %612

612:                                              ; preds = %611, %342, %327
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %613

613:                                              ; preds = %612, %296, %281
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %614

614:                                              ; preds = %613, %260
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %615

615:                                              ; preds = %614, %242, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %616

616:                                              ; preds = %615, %211
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %617 = load i32, ptr %15, align 4
  switch i32 %617, label %619 [
    i32 0, label %618
    i32 1, label %618
  ]

618:                                              ; preds = %616, %616
  ret void

619:                                              ; preds = %616
  unreachable
}

declare ptr @Longtail_CreateShareBlockStoreAPI(ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 96}
!14 = !{!"_ZTS19Longtail_StorageAPI", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!15 = !{!"_ZTS12Longtail_API", !6, i64 0}
!16 = !{!17, !6, i64 32}
!17 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !18, i64 64, !10, i64 88, !10, i64 91, !10, i64 91, !10, i64 91, !10, i64 91, !10, i64 92, !10, i64 96, !10, i64 97, !10, i64 99, !10, i64 100}
!18 = !{!"_ZTS13jc_test_stats", !10, i64 0, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 12, !12, i64 16}
!19 = !{!14, !6, i64 32}
!20 = !{!14, !6, i64 40}
!21 = !{!14, !6, i64 72}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !6, i64 32}
!25 = !{!"_ZTS21Longtail_VersionIndex", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !6, i64 144}
!26 = !{!25, !6, i64 96}
!27 = !{!25, !6, i64 104}
!28 = !{!25, !6, i64 112}
!29 = !{!14, !6, i64 8}
!30 = !{!14, !6, i64 16}
!31 = !{!14, !6, i64 24}
!32 = distinct !{!32, !23}


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

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.388 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.389 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.409 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.507 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.510 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.513 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.526 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.527 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.528 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.529 = external hidden unnamed_addr constant [87 x i8], align 1
@.str.530 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.531 = external hidden unnamed_addr constant [152 x i8], align 1
@.str.532 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.533 = external hidden unnamed_addr constant [173 x i8], align 1
@.str.534 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.535 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.536 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.537 = external hidden unnamed_addr constant [100 x i8], align 1
@.str.538 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.539 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.540 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.541 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.542 = external hidden unnamed_addr constant [16 x i8], align 1
@__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [8 x ptr], align 16
@__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [8 x ptr], align 16

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

declare ptr @Longtail_Alloc(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef ptr @_ZL19jc_test_get_fixturev() local_unnamed_addr #2

declare void @_Z28jc_test_increment_assertionsv() local_unnamed_addr #1

declare void @_Z21jc_test_set_test_faili(i32 noundef) local_unnamed_addr #1

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 noundef i32 @_Z17jc_test_cmp_STREQPKcS0_S0_S0_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

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

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

declare void @Longtail_DisposeAPI(ptr noundef) local_unnamed_addr #1

declare ptr @Longtail_CreateBlake3HashAPI() local_unnamed_addr #1

declare ptr @Longtail_CreateHPCDCChunkerAPI() local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @Longtail_CreateInMemStorageAPI() local_unnamed_addr #1

declare ptr @Longtail_CreateFullCompressionRegistry() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #4 align 2 {
  %2 = alloca [8 x i64], align 16
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %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 ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = tail call ptr @Longtail_CreateInMemStorageAPI()
  %33 = tail call ptr @Longtail_CreateFullCompressionRegistry()
  %34 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %35 = tail call ptr @Longtail_CreateHPCDCChunkerAPI()
  %36 = tail call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  %37 = tail call ptr @Longtail_CreateFSBlockStoreAPI(ptr noundef %36, ptr noundef %32, ptr noundef nonnull @.str.270, ptr noundef null, i32 noundef 0)
  %38 = tail call ptr @Longtail_CreateShareBlockStoreAPI(ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #5
  %39 = load ptr, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, align 16, !tbaa !5
  %40 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %39) #6
  %41 = add i64 %40, 1
  store i64 %41, ptr %2, align 16, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %2, i64 8
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 8), align 8, !tbaa !5
  %44 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %43) #6
  %45 = add i64 %44, 1
  store i64 %45, ptr %42, align 8, !tbaa !9
  %46 = getelementptr inbounds i8, ptr %2, i64 16
  %47 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 16), align 16, !tbaa !5
  %48 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %47) #6
  %49 = add i64 %48, 1
  store i64 %49, ptr %46, align 16, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %2, i64 24
  %51 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 24), align 8, !tbaa !5
  %52 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %51) #6
  %53 = add i64 %52, 1
  store i64 %53, ptr %50, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %2, i64 32
  %55 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 32), align 16, !tbaa !5
  %56 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %55) #6
  %57 = add i64 %56, 1
  store i64 %57, ptr %54, align 16, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %2, i64 40
  store i64 0, ptr %58, align 8, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %2, i64 48
  %60 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 48), align 16, !tbaa !5
  %61 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %60) #6
  %62 = add i64 %61, 1
  store i64 %62, ptr %59, align 16, !tbaa !9
  %63 = getelementptr inbounds i8, ptr %2, i64 56
  %64 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 56), align 8, !tbaa !5
  %65 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %64) #6
  %66 = add i64 %65, 1
  store i64 %66, ptr %63, align 8, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %32, i64 96
  %68 = getelementptr inbounds i8, ptr %32, i64 32
  %69 = getelementptr inbounds i8, ptr %32, i64 40
  %70 = getelementptr inbounds i8, ptr %32, i64 72
  br label %71

71:                                               ; preds = %1, %128
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %128 ]
  %72 = load ptr, ptr %67, align 8, !tbaa !11
  %73 = getelementptr inbounds [8 x ptr], ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_FILENAMES, i64 0, i64 %indvars.iv
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = call noundef ptr %72(ptr noundef %32, ptr noundef nonnull @.str.409, ptr noundef %74)
  %76 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %77 = getelementptr inbounds i8, ptr %76, i64 96
  %78 = load i32, ptr %77, align 8
  %79 = and i32 %78, -16776961
  %80 = or disjoint i32 %79, 1148416
  store i32 %80, ptr %77, align 8
  %81 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %82 = getelementptr inbounds i8, ptr %81, i64 32
  store ptr @.str.3, ptr %82, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %83 = call noundef i32 @_ZL16CreateParentPathP19Longtail_StorageAPIPKc(ptr noundef %32, ptr noundef %75)
  %84 = call noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %83, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.526)
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %.thread, label %86

.thread:                                          ; preds = %71
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %381

86:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %87 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %88 = getelementptr inbounds i8, ptr %87, i64 96
  %89 = load i32, ptr %88, align 8
  %90 = and i32 %89, -16776961
  %91 = or disjoint i32 %90, 1148928
  store i32 %91, ptr %88, align 8
  %92 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %93 = getelementptr inbounds i8, ptr %92, i64 32
  store ptr @.str.3, ptr %93, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  store i32 0, ptr %4, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %94 = load ptr, ptr %68, align 8, !tbaa !19
  %95 = call noundef i32 %94(ptr noundef nonnull %32, ptr noundef %75, i64 noundef 0, ptr noundef nonnull %3)
  store i32 %95, ptr %5, align 4, !tbaa !18
  %96 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.527, ptr noundef null)
  %97 = icmp eq i32 %96, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br i1 %97, label %.thread104, label %98

98:                                               ; preds = %86
  call void @Longtail_Free(ptr noundef %75)
  %99 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %100 = getelementptr inbounds i8, ptr %99, i64 96
  %101 = load i32, ptr %100, align 8
  %102 = and i32 %101, -16776961
  %103 = or disjoint i32 %102, 1149440
  store i32 %103, ptr %100, align 8
  %104 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %105 = getelementptr inbounds i8, ptr %104, i64 32
  store ptr @.str.3, ptr %105, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %106, ptr noundef nonnull @.str.388, ptr noundef nonnull @.str.389)
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %.thread104, label %109

109:                                              ; preds = %98
  %110 = getelementptr inbounds [8 x i64], ptr %2, i64 0, i64 %indvars.iv
  %111 = load i64, ptr %110, align 8, !tbaa !9
  %.not = icmp eq i64 %111, 0
  br i1 %.not, label %128, label %112

112:                                              ; preds = %109
  %113 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %114 = getelementptr inbounds i8, ptr %113, i64 96
  %115 = load i32, ptr %114, align 8
  %116 = and i32 %115, -16776961
  %117 = or disjoint i32 %116, 1150208
  store i32 %117, ptr %114, align 8
  %118 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %119 = getelementptr inbounds i8, ptr %118, i64 32
  store ptr @.str.3, ptr %119, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 0, ptr %6, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %120 = load ptr, ptr %69, align 8, !tbaa !20
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = load i64, ptr %110, align 8, !tbaa !9
  %123 = getelementptr inbounds [8 x ptr], ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 0, i64 %indvars.iv
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = call noundef i32 %120(ptr noundef nonnull %32, ptr noundef %121, i64 noundef 0, i64 noundef %122, ptr noundef %124)
  store i32 %125, ptr %7, align 4, !tbaa !18
  %126 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.528, ptr noundef null)
  %127 = icmp eq i32 %126, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br i1 %127, label %.thread104, label %128

.thread104:                                       ; preds = %112, %98, %86
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %381

128:                                              ; preds = %112, %109
  %129 = load ptr, ptr %70, align 8, !tbaa !21
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  call void %129(ptr noundef nonnull %32, ptr noundef %130)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, 8
  br i1 %exitcond, label %.critedge, label %71, !llvm.loop !22

.critedge:                                        ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %131 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %132 = getelementptr inbounds i8, ptr %131, i64 96
  %133 = load i32, ptr %132, align 8
  %134 = and i32 %133, -16776961
  %135 = or disjoint i32 %134, 1152000
  store i32 %135, ptr %132, align 8
  %136 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %137 = getelementptr inbounds i8, ptr %136, i64 32
  store ptr @.str.3, ptr %137, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 0, ptr %9, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %138 = call i32 @Longtail_GetFilesRecursively2(ptr noundef nonnull %32, ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.409, ptr noundef nonnull %8)
  store i32 %138, ptr %10, align 4, !tbaa !18
  %139 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.529, ptr noundef null)
  %140 = icmp eq i32 %139, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br i1 %140, label %141, label %142

141:                                              ; preds = %.critedge
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %380

142:                                              ; preds = %.critedge
  %143 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %144 = getelementptr inbounds i8, ptr %143, i64 96
  %145 = load i32, ptr %144, align 8
  %146 = and i32 %145, -16776961
  %147 = or disjoint i32 %146, 1152256
  store i32 %147, ptr %144, align 8
  %148 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %149 = getelementptr inbounds i8, ptr %148, i64 32
  store ptr @.str.3, ptr %149, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %150, ptr noundef nonnull @.str.253, ptr noundef nonnull @.str.254)
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %142
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %380

154:                                              ; preds = %142
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef nonnull %32, ptr noundef %155)
  %157 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %158 = getelementptr inbounds i8, ptr %157, i64 96
  %159 = load i32, ptr %158, align 8
  %160 = and i32 %159, -16776961
  %161 = or disjoint i32 %160, 1152768
  store i32 %161, ptr %158, align 8
  %162 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %163 = getelementptr inbounds i8, ptr %162, i64 32
  store ptr @.str.3, ptr %163, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %164 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %156, ptr noundef nonnull @.str.255, ptr noundef nonnull @.str.530)
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %166, label %167

166:                                              ; preds = %154
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %380

167:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %168 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %169 = getelementptr inbounds i8, ptr %168, i64 96
  %170 = load i32, ptr %169, align 8
  %171 = and i32 %170, -16776961
  %172 = or disjoint i32 %171, 1156608
  store i32 %172, ptr %169, align 8
  %173 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %174 = getelementptr inbounds i8, ptr %173, i64 32
  store ptr @.str.3, ptr %174, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  store i32 0, ptr %12, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = call i32 @Longtail_CreateVersionIndex(ptr noundef nonnull %32, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.409, ptr noundef %175, ptr noundef %156, i32 noundef 50, i32 noundef 0, ptr noundef nonnull %11)
  store i32 %176, ptr %13, align 4, !tbaa !18
  %177 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.531, ptr noundef null)
  %178 = icmp eq i32 %177, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br i1 %178, label %179, label %180

179:                                              ; preds = %167
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %379

180:                                              ; preds = %167
  %181 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %182 = getelementptr inbounds i8, ptr %181, i64 96
  %183 = load i32, ptr %182, align 8
  %184 = and i32 %183, -16776961
  %185 = or disjoint i32 %184, 1156864
  store i32 %185, ptr %182, align 8
  %186 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %187 = getelementptr inbounds i8, ptr %186, i64 32
  store ptr @.str.3, ptr %187, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %188 = load ptr, ptr %11, align 8, !tbaa !5
  %189 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %188, ptr noundef nonnull @.str.259, ptr noundef nonnull @.str.260)
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %191, label %192

191:                                              ; preds = %180
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %379

192:                                              ; preds = %180
  call void @Longtail_Free(ptr noundef %156)
  %193 = load ptr, ptr %8, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %193)
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %194 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %195 = getelementptr inbounds i8, ptr %194, i64 96
  %196 = load i32, ptr %195, align 8
  %197 = and i32 %196, -16776961
  %198 = or disjoint i32 %197, 1160704
  store i32 %198, ptr %195, align 8
  %199 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %200 = getelementptr inbounds i8, ptr %199, i64 32
  store ptr @.str.3, ptr %200, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  store i32 0, ptr %15, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 32
  %203 = load ptr, ptr %202, align 8, !tbaa !24
  %204 = load i32, ptr %203, align 4, !tbaa !18
  %205 = getelementptr inbounds i8, ptr %201, i64 96
  %206 = load ptr, ptr %205, align 8, !tbaa !26
  %207 = getelementptr inbounds i8, ptr %201, i64 104
  %208 = load ptr, ptr %207, align 8, !tbaa !27
  %209 = getelementptr inbounds i8, ptr %201, i64 112
  %210 = load ptr, ptr %209, align 8, !tbaa !28
  %211 = call i32 @Longtail_CreateStoreIndex(ptr noundef %34, i32 noundef %204, ptr noundef %206, ptr noundef %208, ptr noundef %210, i32 noundef 32, i32 noundef 3, ptr noundef nonnull %14)
  store i32 %211, ptr %16, align 4, !tbaa !18
  %212 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.533, ptr noundef null)
  %213 = icmp eq i32 %212, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  br i1 %213, label %214, label %215

214:                                              ; preds = %192
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %378

215:                                              ; preds = %192
  %216 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %217 = getelementptr inbounds i8, ptr %216, i64 96
  %218 = load i32, ptr %217, align 8
  %219 = and i32 %218, -16776961
  %220 = or disjoint i32 %219, 1160960
  store i32 %220, ptr %217, align 8
  %221 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %222 = getelementptr inbounds i8, ptr %221, i64 32
  store ptr @.str.3, ptr %222, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %223 = load ptr, ptr %14, align 8, !tbaa !5
  %224 = call noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %223, ptr noundef nonnull @.str.534, ptr noundef nonnull @.str.535)
  %225 = icmp eq i32 %224, 0
  br i1 %225, label %226, label %227

226:                                              ; preds = %215
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %378

227:                                              ; preds = %215
  %228 = load ptr, ptr %11, align 8, !tbaa !5
  %229 = getelementptr inbounds i8, ptr %228, i64 32
  %230 = load ptr, ptr %229, align 8, !tbaa !24
  %231 = load i32, ptr %230, align 4, !tbaa !18
  %232 = getelementptr inbounds i8, ptr %228, i64 96
  %233 = load ptr, ptr %232, align 8, !tbaa !26
  %234 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %38, i32 noundef %231, ptr noundef %233, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %235 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %236 = getelementptr inbounds i8, ptr %235, i64 96
  %237 = load i32, ptr %236, align 8
  %238 = and i32 %237, -16776961
  %239 = or disjoint i32 %238, 1163776
  store i32 %239, ptr %236, align 8
  %240 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %241 = getelementptr inbounds i8, ptr %240, i64 32
  store ptr @.str.3, ptr %241, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  store i32 0, ptr %18, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = call i32 @Longtail_CreateMissingContent(ptr noundef %34, ptr noundef %234, ptr noundef %242, i32 noundef 32, i32 noundef 3, ptr noundef nonnull %17)
  store i32 %243, ptr %19, align 4, !tbaa !18
  %244 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.412, ptr noundef null)
  %245 = icmp eq i32 %244, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  br i1 %245, label %246, label %247

246:                                              ; preds = %227
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %377

247:                                              ; preds = %227
  %248 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %249 = getelementptr inbounds i8, ptr %248, i64 96
  %250 = load i32, ptr %249, align 8
  %251 = and i32 %250, -16776961
  %252 = or disjoint i32 %251, 1166592
  store i32 %252, ptr %249, align 8
  %253 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %254 = getelementptr inbounds i8, ptr %253, i64 32
  store ptr @.str.3, ptr %254, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  store i32 0, ptr %20, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  %255 = load ptr, ptr %17, align 8, !tbaa !5
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  %257 = call i32 @Longtail_WriteContent(ptr noundef nonnull %32, ptr noundef %38, ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %255, ptr noundef %256, ptr noundef nonnull @.str.409)
  store i32 %257, ptr %21, align 4, !tbaa !18
  %258 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.532, ptr noundef null)
  %259 = icmp eq i32 %258, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  br i1 %259, label %260, label %261

260:                                              ; preds = %247
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %377

261:                                              ; preds = %247
  %262 = load ptr, ptr %17, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %262)
  store ptr null, ptr %17, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %234)
  %263 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %264 = getelementptr inbounds i8, ptr %263, i64 96
  %265 = load i32, ptr %264, align 8
  %266 = and i32 %265, -16776961
  %267 = or disjoint i32 %266, 1170944
  store i32 %267, ptr %264, align 8
  %268 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %269 = getelementptr inbounds i8, ptr %268, i64 32
  store ptr @.str.3, ptr %269, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #5
  store i32 0, ptr %22, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #5
  %270 = load ptr, ptr %14, align 8, !tbaa !5
  %271 = load ptr, ptr %11, align 8, !tbaa !5
  %272 = call i32 @Longtail_WriteVersion(ptr noundef %38, ptr noundef nonnull %32, ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %270, ptr noundef %271, ptr noundef nonnull @.str.536, i32 noundef 1)
  store i32 %272, ptr %23, align 4, !tbaa !18
  %273 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.537, ptr noundef null)
  %274 = icmp eq i32 %273, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #5
  br i1 %274, label %278, label %.preheader

.preheader:                                       ; preds = %261
  %275 = getelementptr inbounds i8, ptr %32, i64 8
  %276 = getelementptr inbounds i8, ptr %32, i64 16
  %277 = getelementptr inbounds i8, ptr %32, i64 24
  br label %279

278:                                              ; preds = %261
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %377

279:                                              ; preds = %.preheader, %360
  %indvars.iv118 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next119, %360 ]
  %280 = load ptr, ptr %67, align 8, !tbaa !11
  %281 = getelementptr inbounds [8 x ptr], ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_FILENAMES, i64 0, i64 %indvars.iv118
  %282 = load ptr, ptr %281, align 8, !tbaa !5
  %283 = call noundef ptr %280(ptr noundef nonnull %32, ptr noundef nonnull @.str.536, ptr noundef %282)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #5
  %284 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %285 = getelementptr inbounds i8, ptr %284, i64 96
  %286 = load i32, ptr %285, align 8
  %287 = and i32 %286, -16776961
  %288 = or disjoint i32 %287, 1172480
  store i32 %288, ptr %285, align 8
  %289 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %290 = getelementptr inbounds i8, ptr %289, i64 32
  store ptr @.str.3, ptr %290, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #5
  store i32 0, ptr %25, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #5
  %291 = load ptr, ptr %275, align 8, !tbaa !29
  %292 = call noundef i32 %291(ptr noundef nonnull %32, ptr noundef %283, ptr noundef nonnull %24)
  store i32 %292, ptr %26, align 4, !tbaa !18
  %293 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.538, ptr noundef null)
  %294 = icmp eq i32 %293, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  br i1 %294, label %.thread108, label %295

295:                                              ; preds = %279
  call void @Longtail_Free(ptr noundef %283)
  %296 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %297 = getelementptr inbounds i8, ptr %296, i64 96
  %298 = load i32, ptr %297, align 8
  %299 = and i32 %298, -16776961
  %300 = or disjoint i32 %299, 1172992
  store i32 %300, ptr %297, align 8
  %301 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %302 = getelementptr inbounds i8, ptr %301, i64 32
  store ptr @.str.3, ptr %302, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %303 = load ptr, ptr %24, align 8, !tbaa !5
  %304 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %303, ptr noundef nonnull @.str.388, ptr noundef nonnull @.str.507)
  %305 = icmp eq i32 %304, 0
  br i1 %305, label %.thread108, label %306

306:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %307 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %308 = getelementptr inbounds i8, ptr %307, i64 96
  %309 = load i32, ptr %308, align 8
  %310 = and i32 %309, -16776961
  %311 = or disjoint i32 %310, 1173504
  store i32 %311, ptr %308, align 8
  %312 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %313 = getelementptr inbounds i8, ptr %312, i64 32
  store ptr @.str.3, ptr %313, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #5
  store i32 0, ptr %28, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #5
  %314 = load ptr, ptr %276, align 8, !tbaa !30
  %315 = load ptr, ptr %24, align 8, !tbaa !5
  %316 = call noundef i32 %314(ptr noundef nonnull %32, ptr noundef %315, ptr noundef nonnull %27)
  store i32 %316, ptr %29, align 4, !tbaa !18
  %317 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.539, ptr noundef null)
  %318 = icmp eq i32 %317, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #5
  br i1 %318, label %.thread112, label %319

319:                                              ; preds = %306
  %320 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %321 = getelementptr inbounds i8, ptr %320, i64 96
  %322 = load i32, ptr %321, align 8
  %323 = and i32 %322, -16776961
  %324 = or disjoint i32 %323, 1173760
  store i32 %324, ptr %321, align 8
  %325 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %326 = getelementptr inbounds i8, ptr %325, i64 32
  store ptr @.str.3, ptr %326, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %327 = getelementptr inbounds [8 x i64], ptr %2, i64 0, i64 %indvars.iv118
  %328 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %327, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @.str.540, ptr noundef nonnull @.str.510)
  %329 = icmp eq i32 %328, 0
  br i1 %329, label %.thread112, label %330

330:                                              ; preds = %319
  %331 = load i64, ptr %27, align 8, !tbaa !9
  %332 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %331)
  %333 = load i64, ptr %27, align 8, !tbaa !9
  %.not92 = icmp eq i64 %333, 0
  br i1 %.not92, label %360, label %334

334:                                              ; preds = %330
  %335 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %336 = getelementptr inbounds i8, ptr %335, i64 96
  %337 = load i32, ptr %336, align 8
  %338 = and i32 %337, -16776961
  %339 = or disjoint i32 %338, 1174784
  store i32 %339, ptr %336, align 8
  %340 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %341 = getelementptr inbounds i8, ptr %340, i64 32
  store ptr @.str.3, ptr %341, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #5
  store i32 0, ptr %30, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #5
  %342 = load ptr, ptr %277, align 8, !tbaa !31
  %343 = load ptr, ptr %24, align 8, !tbaa !5
  %344 = load i64, ptr %27, align 8, !tbaa !9
  %345 = call noundef i32 %342(ptr noundef nonnull %32, ptr noundef %343, i64 noundef 0, i64 noundef %344, ptr noundef %332)
  store i32 %345, ptr %31, align 4, !tbaa !18
  %346 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.541, ptr noundef null)
  %347 = icmp eq i32 %346, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  br i1 %347, label %.thread112, label %348

348:                                              ; preds = %334
  %349 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %350 = getelementptr inbounds i8, ptr %349, i64 96
  %351 = load i32, ptr %350, align 8
  %352 = and i32 %351, -16776961
  %353 = or disjoint i32 %352, 1175040
  store i32 %353, ptr %350, align 8
  %354 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %355 = getelementptr inbounds i8, ptr %354, i64 32
  store ptr @.str.3, ptr %355, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %356 = getelementptr inbounds [8 x ptr], ptr @__const._ZN51Longtail_Longtail_WriteVersionShareBlocks__TestCase8TestBodyEv.TEST_STRINGS, i64 0, i64 %indvars.iv118
  %357 = load ptr, ptr %356, align 8, !tbaa !5
  %358 = call noundef i32 @_Z17jc_test_cmp_STREQPKcS0_S0_S0_(ptr noundef %357, ptr noundef %332, ptr noundef nonnull @.str.542, ptr noundef nonnull @.str.513)
  %359 = icmp eq i32 %358, 0
  br i1 %359, label %.thread112, label %360

.thread108:                                       ; preds = %295, %279
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  br label %377

.thread112:                                       ; preds = %348, %334, %319, %306
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  br label %377

360:                                              ; preds = %348, %330
  %361 = load ptr, ptr %70, align 8, !tbaa !21
  %362 = load ptr, ptr %24, align 8, !tbaa !5
  call void %361(ptr noundef nonnull %32, ptr noundef %362)
  store ptr null, ptr %24, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %332)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #5
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond121 = icmp eq i64 %indvars.iv.next119, 8
  br i1 %exitcond121, label %.critedge101, label %279, !llvm.loop !32

.critedge101:                                     ; preds = %360
  %363 = load ptr, ptr %11, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %363)
  store ptr null, ptr %11, align 8, !tbaa !5
  %364 = load ptr, ptr %14, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %364)
  store ptr null, ptr %14, align 8, !tbaa !5
  %.not93 = icmp eq ptr %37, null
  br i1 %.not93, label %366, label %365

365:                                              ; preds = %.critedge101
  call void @Longtail_DisposeAPI(ptr noundef nonnull %37)
  br label %366

366:                                              ; preds = %365, %.critedge101
  %.not94 = icmp eq ptr %38, null
  br i1 %.not94, label %368, label %367

367:                                              ; preds = %366
  call void @Longtail_DisposeAPI(ptr noundef nonnull %38)
  br label %368

368:                                              ; preds = %367, %366
  %.not95 = icmp eq ptr %36, null
  br i1 %.not95, label %370, label %369

369:                                              ; preds = %368
  call void @Longtail_DisposeAPI(ptr noundef nonnull %36)
  br label %370

370:                                              ; preds = %369, %368
  %.not96 = icmp eq ptr %35, null
  br i1 %.not96, label %372, label %371

371:                                              ; preds = %370
  call void @Longtail_DisposeAPI(ptr noundef nonnull %35)
  br label %372

372:                                              ; preds = %371, %370
  %.not97 = icmp eq ptr %34, null
  br i1 %.not97, label %374, label %373

373:                                              ; preds = %372
  call void @Longtail_DisposeAPI(ptr noundef nonnull %34)
  br label %374

374:                                              ; preds = %373, %372
  %.not98 = icmp eq ptr %33, null
  br i1 %.not98, label %376, label %375

375:                                              ; preds = %374
  call void @Longtail_DisposeAPI(ptr noundef nonnull %33)
  br label %376

376:                                              ; preds = %374, %375
  call void @Longtail_DisposeAPI(ptr noundef nonnull %32)
  br label %377

377:                                              ; preds = %.thread108, %.thread112, %376, %278, %260, %246
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br label %378

378:                                              ; preds = %377, %226, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %379

379:                                              ; preds = %378, %191, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %380

380:                                              ; preds = %166, %379, %153, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %381

381:                                              ; preds = %.thread, %.thread104, %380
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #5
  ret void
}

declare ptr @Longtail_CreateShareBlockStoreAPI(ptr noundef) local_unnamed_addr #1

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 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { 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 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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, !6, i64 96}
!12 = !{!"_ZTS19Longtail_StorageAPI", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!13 = !{!"_ZTS12Longtail_API", !6, i64 0}
!14 = !{!15, !6, i64 32}
!15 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !16, i64 64, !17, i64 88, !17, i64 91, !17, i64 91, !17, i64 91, !17, i64 91, !17, i64 92, !17, i64 96, !17, i64 97, !17, i64 99, !17, i64 100}
!16 = !{!"_ZTS13jc_test_stats", !17, i64 0, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 12, !10, i64 16}
!17 = !{!"int", !7, i64 0}
!18 = !{!17, !17, i64 0}
!19 = !{!12, !6, i64 32}
!20 = !{!12, !6, i64 40}
!21 = !{!12, !6, i64 72}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !6, i64 32}
!25 = !{!"_ZTS21Longtail_VersionIndex", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !17, i64 128, !6, i64 136, !6, i64 144}
!26 = !{!25, !6, i64 96}
!27 = !{!25, !6, i64 104}
!28 = !{!25, !6, i64 112}
!29 = !{!12, !6, i64 8}
!30 = !{!12, !6, i64 16}
!31 = !{!12, !6, i64 24}
!32 = distinct !{!32, !23}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass