; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN40Longtail_Longtail_WriteVersion (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
@__const._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [8 x ptr], align 16
@__const._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [8 x ptr], align 16
@.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

; 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

declare ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef, ptr 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN40Longtail_Longtail_WriteVersion__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 ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca ptr, align 8
  %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 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = call ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef %60, ptr noundef %61)
  store ptr %62, 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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_STRINGS, i64 64, i1 false)
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #6
  %63 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 0
  %64 = load ptr, ptr %63, align 16, !tbaa !5
  %65 = call i64 @strlen(ptr noundef %64) #7
  %66 = add i64 %65, 1
  store i64 %66, ptr %13, align 8, !tbaa !11
  %67 = getelementptr inbounds i64, ptr %13, i64 1
  %68 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 1
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = call i64 @strlen(ptr noundef %69) #7
  %71 = add i64 %70, 1
  store i64 %71, ptr %67, align 8, !tbaa !11
  %72 = getelementptr inbounds i64, ptr %13, i64 2
  %73 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 2
  %74 = load ptr, ptr %73, align 16, !tbaa !5
  %75 = call i64 @strlen(ptr noundef %74) #7
  %76 = add i64 %75, 1
  store i64 %76, ptr %72, align 8, !tbaa !11
  %77 = getelementptr inbounds i64, ptr %13, i64 3
  %78 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 3
  %79 = load ptr, ptr %78, align 8, !tbaa !5
  %80 = call i64 @strlen(ptr noundef %79) #7
  %81 = add i64 %80, 1
  store i64 %81, ptr %77, align 8, !tbaa !11
  %82 = getelementptr inbounds i64, ptr %13, i64 4
  %83 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 4
  %84 = load ptr, ptr %83, align 16, !tbaa !5
  %85 = call i64 @strlen(ptr noundef %84) #7
  %86 = add i64 %85, 1
  store i64 %86, ptr %82, align 8, !tbaa !11
  %87 = getelementptr inbounds i64, ptr %13, i64 5
  store i64 0, ptr %87, align 8, !tbaa !11
  %88 = getelementptr inbounds i64, ptr %13, i64 6
  %89 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 6
  %90 = load ptr, ptr %89, align 16, !tbaa !5
  %91 = call i64 @strlen(ptr noundef %90) #7
  %92 = add i64 %91, 1
  store i64 %92, ptr %88, align 8, !tbaa !11
  %93 = getelementptr inbounds i64, ptr %13, i64 7
  %94 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 7
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = call i64 @strlen(ptr noundef %95) #7
  %97 = add i64 %96, 1
  store i64 %97, ptr %93, 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 %98

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

101:                                              ; preds = %98
  store i32 2, ptr %15, align 4
  br label %212

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

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

125:                                              ; preds = %112
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %206

126:                                              ; preds = %112
  br label %127

127:                                              ; preds = %126
  br label %128

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

129:                                              ; preds = %128
  %130 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %131 = getelementptr inbounds %struct.jc_test_fixture, ptr %130, i32 0, i32 11
  %132 = load i32, ptr %131, align 8
  %133 = and i32 %132, -16776961
  %134 = or i32 %133, 828160
  store i32 %134, ptr %131, align 8
  %135 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %136 = getelementptr inbounds %struct.jc_test_fixture, ptr %135, i32 0, i32 4
  store ptr @.str.3, ptr %136, 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
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %137, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !19
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = load ptr, ptr %16, align 8, !tbaa !5
  %142 = call noundef i32 %139(ptr noundef %140, ptr noundef %141, i64 noundef 0, ptr noundef %17)
  store i32 %142, ptr %19, align 4, !tbaa !9
  %143 = 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)
  %144 = icmp eq i32 %143, 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 %144, label %145, label %146

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

146:                                              ; preds = %129
  br label %147

147:                                              ; preds = %146
  br label %148

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

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

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

162:                                              ; preds = %150
  br label %163

163:                                              ; preds = %162
  br label %164

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

170:                                              ; preds = %164
  br label %171

171:                                              ; preds = %170
  %172 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %173 = getelementptr inbounds %struct.jc_test_fixture, ptr %172, i32 0, i32 11
  %174 = load i32, ptr %173, align 8
  %175 = and i32 %174, -16776961
  %176 = or i32 %175, 829440
  store i32 %176, ptr %173, align 8
  %177 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %178 = getelementptr inbounds %struct.jc_test_fixture, ptr %177, i32 0, i32 4
  store ptr @.str.3, ptr %178, 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
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %179, i32 0, i32 5
  %181 = load ptr, ptr %180, align 8, !tbaa !20
  %182 = load ptr, ptr %3, align 8, !tbaa !5
  %183 = load ptr, ptr %17, align 8, !tbaa !5
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds [8 x i64], ptr %13, i64 0, i64 %185
  %187 = load i64, ptr %186, align 8, !tbaa !11
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = zext i32 %188 to i64
  %190 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 %189
  %191 = load ptr, ptr %190, align 8, !tbaa !5
  %192 = call noundef i32 %181(ptr noundef %182, ptr noundef %183, i64 noundef 0, i64 noundef %187, ptr noundef %191)
  store i32 %192, ptr %21, align 4, !tbaa !9
  %193 = 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)
  %194 = icmp eq i32 %193, 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 %194, label %195, label %196

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

196:                                              ; preds = %171
  br label %197

197:                                              ; preds = %196
  br label %198

198:                                              ; preds = %197
  br label %199

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

205:                                              ; preds = %199, %195, %161, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %206

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

208:                                              ; preds = %206
  br label %209

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

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

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

215:                                              ; preds = %214
  %216 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %217 = getelementptr inbounds %struct.jc_test_fixture, ptr %216, i32 0, i32 11
  %218 = load i32, ptr %217, align 8
  %219 = and i32 %218, -16776961
  %220 = or i32 %219, 831232
  store i32 %220, ptr %217, align 8
  %221 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %222 = getelementptr inbounds %struct.jc_test_fixture, ptr %221, i32 0, i32 4
  store ptr @.str.3, ptr %222, 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
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %223, ptr noundef %224, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %22)
  store i32 %225, ptr %24, align 4, !tbaa !9
  %226 = 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)
  %227 = icmp eq i32 %226, 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 %227, label %228, label %229

228:                                              ; preds = %215
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %616

229:                                              ; preds = %215
  br label %230

230:                                              ; preds = %229
  br label %231

231:                                              ; preds = %230
  br label %232

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

243:                                              ; preds = %232
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %616

244:                                              ; preds = %232
  br label %245

245:                                              ; preds = %244
  br label %246

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

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

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

262:                                              ; preds = %250
  br label %263

263:                                              ; preds = %262
  br label %264

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

265:                                              ; preds = %264
  %266 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %267 = getelementptr inbounds %struct.jc_test_fixture, ptr %266, i32 0, i32 11
  %268 = load i32, ptr %267, align 8
  %269 = and i32 %268, -16776961
  %270 = or i32 %269, 835840
  store i32 %270, ptr %267, align 8
  %271 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %272 = getelementptr inbounds %struct.jc_test_fixture, ptr %271, i32 0, i32 4
  store ptr @.str.3, ptr %272, 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
  %273 = load ptr, ptr %3, align 8, !tbaa !5
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = load ptr, ptr %6, align 8, !tbaa !5
  %276 = load ptr, ptr %7, align 8, !tbaa !5
  %277 = load ptr, ptr %22, align 8, !tbaa !5
  %278 = load ptr, ptr %25, align 8, !tbaa !5
  %279 = call i32 @Longtail_CreateVersionIndex(ptr noundef %273, ptr noundef %274, ptr noundef %275, ptr noundef %276, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %277, ptr noundef %278, i32 noundef 50, i32 noundef 0, ptr noundef %26)
  store i32 %279, ptr %28, align 4, !tbaa !9
  %280 = 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)
  %281 = icmp eq i32 %280, 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 %281, label %282, label %283

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

283:                                              ; preds = %265
  br label %284

284:                                              ; preds = %283
  br label %285

285:                                              ; preds = %284
  br label %286

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

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

298:                                              ; preds = %286
  br label %299

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299
  %301 = load ptr, ptr %25, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %301)
  store ptr null, ptr %25, align 8, !tbaa !5
  %302 = load ptr, ptr %22, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %302)
  store ptr null, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = load ptr, ptr %26, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %304, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !24
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = load ptr, ptr %26, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %308, i32 0, i32 12
  %310 = load ptr, ptr %309, align 8, !tbaa !26
  %311 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %303, i32 noundef %307, ptr noundef %310, i32 noundef 0)
  store ptr %311, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  br label %312

312:                                              ; preds = %300
  %313 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %314 = getelementptr inbounds %struct.jc_test_fixture, ptr %313, i32 0, i32 11
  %315 = load i32, ptr %314, align 8
  %316 = and i32 %315, -16776961
  %317 = or i32 %316, 839936
  store i32 %317, ptr %314, align 8
  %318 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %319 = getelementptr inbounds %struct.jc_test_fixture, ptr %318, i32 0, i32 4
  store ptr @.str.3, ptr %319, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 0, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = load ptr, ptr %29, align 8, !tbaa !5
  %322 = load ptr, ptr %26, align 8, !tbaa !5
  %323 = call i32 @Longtail_CreateMissingContent(ptr noundef %320, ptr noundef %321, ptr noundef %322, i32 noundef 32, i32 noundef 3, ptr noundef %30)
  store i32 %323, ptr %32, align 4, !tbaa !9
  %324 = 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) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef @.str.46, ptr noundef @.str.412, ptr noundef null)
  %325 = icmp eq i32 %324, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br i1 %325, label %326, label %327

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

327:                                              ; preds = %312
  br label %328

328:                                              ; preds = %327
  br label %329

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329
  %331 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %332 = getelementptr inbounds %struct.jc_test_fixture, ptr %331, i32 0, i32 11
  %333 = load i32, ptr %332, align 8
  %334 = and i32 %333, -16776961
  %335 = or i32 %334, 842752
  store i32 %335, ptr %332, align 8
  %336 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %337 = getelementptr inbounds %struct.jc_test_fixture, ptr %336, i32 0, i32 4
  store ptr @.str.3, ptr %337, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 0, ptr %33, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %338 = load ptr, ptr %3, align 8, !tbaa !5
  %339 = load ptr, ptr %9, align 8, !tbaa !5
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = load ptr, ptr %30, align 8, !tbaa !5
  %342 = load ptr, ptr %26, align 8, !tbaa !5
  %343 = call i32 @Longtail_WriteContent(ptr noundef %338, ptr noundef %339, ptr noundef %340, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %341, ptr noundef %342, ptr noundef @.str.409)
  store i32 %343, ptr %34, align 4, !tbaa !9
  %344 = 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) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef @.str.46, ptr noundef @.str.532, ptr noundef null)
  %345 = icmp eq i32 %344, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br i1 %345, label %346, label %347

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

347:                                              ; preds = %330
  br label %348

348:                                              ; preds = %347
  br label %349

349:                                              ; preds = %348
  %350 = load ptr, ptr %30, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %350)
  store ptr null, ptr %30, align 8, !tbaa !5
  %351 = load ptr, ptr %29, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %351)
  store ptr null, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  br label %352

352:                                              ; preds = %349
  %353 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %354 = getelementptr inbounds %struct.jc_test_fixture, ptr %353, i32 0, i32 11
  %355 = load i32, ptr %354, align 8
  %356 = and i32 %355, -16776961
  %357 = or i32 %356, 846592
  store i32 %357, ptr %354, align 8
  %358 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %359 = getelementptr inbounds %struct.jc_test_fixture, ptr %358, i32 0, i32 4
  store ptr @.str.3, ptr %359, 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
  %360 = load ptr, ptr %5, align 8, !tbaa !5
  %361 = load ptr, ptr %26, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %361, i32 0, i32 4
  %363 = load ptr, ptr %362, align 8, !tbaa !24
  %364 = load i32, ptr %363, align 4, !tbaa !9
  %365 = load ptr, ptr %26, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %365, i32 0, i32 12
  %367 = load ptr, ptr %366, align 8, !tbaa !26
  %368 = load ptr, ptr %26, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %368, i32 0, i32 13
  %370 = load ptr, ptr %369, align 8, !tbaa !27
  %371 = load ptr, ptr %26, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %371, i32 0, i32 14
  %373 = load ptr, ptr %372, align 8, !tbaa !28
  %374 = call i32 @Longtail_CreateStoreIndex(ptr noundef %360, i32 noundef %364, ptr noundef %367, ptr noundef %370, ptr noundef %373, i32 noundef 32, i32 noundef 3, ptr noundef %35)
  store i32 %374, ptr %37, align 4, !tbaa !9
  %375 = 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.533, ptr noundef null)
  %376 = icmp eq i32 %375, 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 %376, label %377, label %378

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

378:                                              ; preds = %352
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379
  br label %381

381:                                              ; preds = %380
  %382 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %383 = getelementptr inbounds %struct.jc_test_fixture, ptr %382, i32 0, i32 11
  %384 = load i32, ptr %383, align 8
  %385 = and i32 %384, -16776961
  %386 = or i32 %385, 846848
  store i32 %386, ptr %383, align 8
  %387 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %388 = getelementptr inbounds %struct.jc_test_fixture, ptr %387, i32 0, i32 4
  store ptr @.str.3, ptr %388, align 8, !tbaa !16
  call void @_Z28jc_test_increment_assertionsv()
  %389 = load ptr, ptr %35, align 8, !tbaa !5
  %390 = call noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %389, ptr noundef @.str.534, ptr noundef @.str.535)
  %391 = icmp eq i32 %390, 0
  br i1 %391, label %392, label %393

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

393:                                              ; preds = %381
  br label %394

394:                                              ; preds = %393
  br label %395

395:                                              ; preds = %394
  br label %396

396:                                              ; preds = %395
  %397 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %398 = getelementptr inbounds %struct.jc_test_fixture, ptr %397, i32 0, i32 11
  %399 = load i32, ptr %398, align 8
  %400 = and i32 %399, -16776961
  %401 = or i32 %400, 849920
  store i32 %401, ptr %398, align 8
  %402 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %403 = getelementptr inbounds %struct.jc_test_fixture, ptr %402, i32 0, i32 4
  store ptr @.str.3, ptr %403, 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
  %404 = load ptr, ptr %9, align 8, !tbaa !5
  %405 = load ptr, ptr %3, align 8, !tbaa !5
  %406 = load ptr, ptr %7, align 8, !tbaa !5
  %407 = load ptr, ptr %35, align 8, !tbaa !5
  %408 = load ptr, ptr %26, align 8, !tbaa !5
  %409 = call i32 @Longtail_WriteVersion(ptr noundef %404, ptr noundef %405, ptr noundef %406, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %407, ptr noundef %408, ptr noundef @.str.536, i32 noundef 1)
  store i32 %409, ptr %39, align 4, !tbaa !9
  %410 = 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)
  %411 = icmp eq i32 %410, 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 %411, label %412, label %413

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

413:                                              ; preds = %396
  br label %414

414:                                              ; preds = %413
  br label %415

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

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

419:                                              ; preds = %416
  store i32 33, ptr %15, align 4
  br label %565

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

430:                                              ; preds = %420
  %431 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %432 = getelementptr inbounds %struct.jc_test_fixture, ptr %431, i32 0, i32 11
  %433 = load i32, ptr %432, align 8
  %434 = and i32 %433, -16776961
  %435 = or i32 %434, 851456
  store i32 %435, ptr %432, align 8
  %436 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %437 = getelementptr inbounds %struct.jc_test_fixture, ptr %436, i32 0, i32 4
  store ptr @.str.3, ptr %437, 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
  %438 = load ptr, ptr %3, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %438, i32 0, i32 1
  %440 = load ptr, ptr %439, align 8, !tbaa !29
  %441 = load ptr, ptr %3, align 8, !tbaa !5
  %442 = load ptr, ptr %41, align 8, !tbaa !5
  %443 = call noundef i32 %440(ptr noundef %441, ptr noundef %442, ptr noundef %42)
  store i32 %443, ptr %44, align 4, !tbaa !9
  %444 = 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)
  %445 = icmp eq i32 %444, 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 %445, label %446, label %447

446:                                              ; preds = %430
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %559

447:                                              ; preds = %430
  br label %448

448:                                              ; preds = %447
  br label %449

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

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

462:                                              ; preds = %451
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %15, align 4
  br label %559

463:                                              ; preds = %451
  br label %464

464:                                              ; preds = %463
  br label %465

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

466:                                              ; preds = %465
  %467 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %468 = getelementptr inbounds %struct.jc_test_fixture, ptr %467, i32 0, i32 11
  %469 = load i32, ptr %468, align 8
  %470 = and i32 %469, -16776961
  %471 = or i32 %470, 852480
  store i32 %471, ptr %468, align 8
  %472 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %473 = getelementptr inbounds %struct.jc_test_fixture, ptr %472, i32 0, i32 4
  store ptr @.str.3, ptr %473, 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
  %474 = load ptr, ptr %3, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %474, i32 0, i32 2
  %476 = load ptr, ptr %475, align 8, !tbaa !30
  %477 = load ptr, ptr %3, align 8, !tbaa !5
  %478 = load ptr, ptr %42, align 8, !tbaa !5
  %479 = call noundef i32 %476(ptr noundef %477, ptr noundef %478, ptr noundef %45)
  store i32 %479, ptr %47, align 4, !tbaa !9
  %480 = 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)
  %481 = icmp eq i32 %480, 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 %481, label %482, label %483

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

483:                                              ; preds = %466
  br label %484

484:                                              ; preds = %483
  br label %485

485:                                              ; preds = %484
  br label %486

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

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

500:                                              ; preds = %486
  br label %501

501:                                              ; preds = %500
  br label %502

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

508:                                              ; preds = %502
  br label %509

509:                                              ; preds = %508
  %510 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %511 = getelementptr inbounds %struct.jc_test_fixture, ptr %510, i32 0, i32 11
  %512 = load i32, ptr %511, align 8
  %513 = and i32 %512, -16776961
  %514 = or i32 %513, 853760
  store i32 %514, ptr %511, align 8
  %515 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %516 = getelementptr inbounds %struct.jc_test_fixture, ptr %515, i32 0, i32 4
  store ptr @.str.3, ptr %516, 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
  %517 = load ptr, ptr %3, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %517, i32 0, i32 3
  %519 = load ptr, ptr %518, align 8, !tbaa !31
  %520 = load ptr, ptr %3, align 8, !tbaa !5
  %521 = load ptr, ptr %42, align 8, !tbaa !5
  %522 = load i64, ptr %45, align 8, !tbaa !11
  %523 = load ptr, ptr %48, align 8, !tbaa !5
  %524 = call noundef i32 %519(ptr noundef %520, ptr noundef %521, i64 noundef 0, i64 noundef %522, ptr noundef %523)
  store i32 %524, ptr %50, align 4, !tbaa !9
  %525 = 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)
  %526 = icmp eq i32 %525, 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 %526, label %527, label %528

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

528:                                              ; preds = %509
  br label %529

529:                                              ; preds = %528
  br label %530

530:                                              ; preds = %529
  br label %531

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

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

547:                                              ; preds = %531
  br label %548

548:                                              ; preds = %547
  br label %549

549:                                              ; preds = %548
  br label %550

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

557:                                              ; preds = %550, %546, %527
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %558

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

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

561:                                              ; preds = %559
  br label %562

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

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

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

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

575:                                              ; preds = %572, %567
  %576 = load ptr, ptr %9, align 8, !tbaa !5
  %577 = icmp ne ptr %576, null
  br i1 %577, label %578, label %581

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

581:                                              ; preds = %578, %575
  %582 = load ptr, ptr %7, align 8, !tbaa !5
  %583 = icmp ne ptr %582, null
  br i1 %583, label %584, label %587

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

587:                                              ; preds = %584, %581
  %588 = load ptr, ptr %6, align 8, !tbaa !5
  %589 = icmp ne ptr %588, null
  br i1 %589, label %590, label %593

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

593:                                              ; preds = %590, %587
  %594 = load ptr, ptr %5, align 8, !tbaa !5
  %595 = icmp ne ptr %594, null
  br i1 %595, label %596, label %599

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

599:                                              ; preds = %596, %593
  %600 = load ptr, ptr %4, align 8, !tbaa !5
  %601 = icmp ne ptr %600, null
  br i1 %601, label %602, label %605

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

605:                                              ; preds = %602, %599
  %606 = load ptr, ptr %3, align 8, !tbaa !5
  %607 = icmp ne ptr %606, null
  br i1 %607, label %608, label %611

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

611:                                              ; preds = %608, %605
  store i32 0, ptr %15, align 4
  br label %612

612:                                              ; preds = %611, %565, %412, %392, %377
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %613

613:                                              ; preds = %612, %346, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %614

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

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

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

617:                                              ; preds = %616, %212
  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
  %618 = load i32, ptr %15, align 4
  switch i32 %618, label %620 [
    i32 0, label %619
    i32 1, label %619
  ]

619:                                              ; preds = %617, %617
  ret void

620:                                              ; preds = %617
  unreachable
}

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

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
@__const._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [8 x ptr], align 16
@__const._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [8 x ptr], align 16
@.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

; 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

declare ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef, ptr 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN40Longtail_Longtail_WriteVersion__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 i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %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_CreateCompressBlockStoreAPI(ptr noundef %37, ptr noundef %33)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #5
  %39 = load ptr, ptr @__const._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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._ZN40Longtail_Longtail_WriteVersion__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, 827648
  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, 828160
  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 %.thread105, 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, 828672
  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 %.thread105, 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, 829440
  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._ZN40Longtail_Longtail_WriteVersion__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 %.thread105, label %128

.thread105:                                       ; 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, 831232
  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, 831488
  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, 832000
  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, 835840
  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, 836096
  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
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds i8, ptr %194, i64 32
  %196 = load ptr, ptr %195, align 8, !tbaa !24
  %197 = load i32, ptr %196, align 4, !tbaa !18
  %198 = getelementptr inbounds i8, ptr %194, i64 96
  %199 = load ptr, ptr %198, align 8, !tbaa !26
  %200 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %38, i32 noundef %197, ptr noundef %199, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %201 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %202 = getelementptr inbounds i8, ptr %201, i64 96
  %203 = load i32, ptr %202, align 8
  %204 = and i32 %203, -16776961
  %205 = or disjoint i32 %204, 839936
  store i32 %205, ptr %202, align 8
  %206 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %207 = getelementptr inbounds i8, ptr %206, i64 32
  store ptr @.str.3, ptr %207, 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
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = call i32 @Longtail_CreateMissingContent(ptr noundef %34, ptr noundef %200, ptr noundef %208, i32 noundef 32, i32 noundef 3, ptr noundef nonnull %14)
  store i32 %209, ptr %16, align 4, !tbaa !18
  %210 = 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.412, ptr noundef null)
  %211 = icmp eq i32 %210, 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 %211, label %212, label %213

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

213:                                              ; preds = %192
  %214 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %215 = getelementptr inbounds i8, ptr %214, i64 96
  %216 = load i32, ptr %215, align 8
  %217 = and i32 %216, -16776961
  %218 = or disjoint i32 %217, 842752
  store i32 %218, ptr %215, align 8
  %219 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %220 = getelementptr inbounds i8, ptr %219, i64 32
  store ptr @.str.3, ptr %220, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  store i32 0, ptr %17, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = load ptr, ptr %11, align 8, !tbaa !5
  %223 = 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 %221, ptr noundef %222, ptr noundef nonnull @.str.409)
  store i32 %223, ptr %18, align 4, !tbaa !18
  %224 = 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) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.532, ptr noundef null)
  %225 = icmp eq i32 %224, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  br i1 %225, label %226, label %227

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

227:                                              ; preds = %213
  %228 = load ptr, ptr %14, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %228)
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %200)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %229 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %230 = getelementptr inbounds i8, ptr %229, i64 96
  %231 = load i32, ptr %230, align 8
  %232 = and i32 %231, -16776961
  %233 = or disjoint i32 %232, 846592
  store i32 %233, ptr %230, align 8
  %234 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %235 = getelementptr inbounds i8, ptr %234, i64 32
  store ptr @.str.3, ptr %235, 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
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = getelementptr inbounds i8, ptr %236, i64 32
  %238 = load ptr, ptr %237, align 8, !tbaa !24
  %239 = load i32, ptr %238, align 4, !tbaa !18
  %240 = getelementptr inbounds i8, ptr %236, i64 96
  %241 = load ptr, ptr %240, align 8, !tbaa !26
  %242 = getelementptr inbounds i8, ptr %236, i64 104
  %243 = load ptr, ptr %242, align 8, !tbaa !27
  %244 = getelementptr inbounds i8, ptr %236, i64 112
  %245 = load ptr, ptr %244, align 8, !tbaa !28
  %246 = call i32 @Longtail_CreateStoreIndex(ptr noundef %34, i32 noundef %239, ptr noundef %241, ptr noundef %243, ptr noundef %245, i32 noundef 32, i32 noundef 3, ptr noundef nonnull %19)
  store i32 %246, ptr %21, align 4, !tbaa !18
  %247 = 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.533, ptr noundef null)
  %248 = icmp eq i32 %247, 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 %248, label %249, label %250

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

250:                                              ; preds = %227
  %251 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %252 = getelementptr inbounds i8, ptr %251, i64 96
  %253 = load i32, ptr %252, align 8
  %254 = and i32 %253, -16776961
  %255 = or disjoint i32 %254, 846848
  store i32 %255, ptr %252, align 8
  %256 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %257 = getelementptr inbounds i8, ptr %256, i64 32
  store ptr @.str.3, ptr %257, align 8, !tbaa !14
  call void @_Z28jc_test_increment_assertionsv()
  %258 = load ptr, ptr %19, align 8, !tbaa !5
  %259 = call noundef i32 @_Z14jc_test_cmp_NEIP19Longtail_StoreIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %258, ptr noundef nonnull @.str.534, ptr noundef nonnull @.str.535)
  %260 = icmp eq i32 %259, 0
  br i1 %260, label %261, label %262

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

262:                                              ; preds = %250
  %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, 849920
  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 %19, 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 = %262
  %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 = %262
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %377

279:                                              ; preds = %.preheader, %360
  %indvars.iv119 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next120, %360 ]
  %280 = load ptr, ptr %67, align 8, !tbaa !11
  %281 = getelementptr inbounds [8 x ptr], ptr @__const._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_FILENAMES, i64 0, i64 %indvars.iv119
  %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, 851456
  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 %.thread109, 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, 851968
  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 %.thread109, 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, 852480
  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 %.thread113, 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, 852736
  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.iv119
  %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 %.thread113, 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
  %.not93 = icmp eq i64 %333, 0
  br i1 %.not93, 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, 853760
  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 %.thread113, 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, 854016
  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._ZN40Longtail_Longtail_WriteVersion__TestCase8TestBodyEv.TEST_STRINGS, i64 0, i64 %indvars.iv119
  %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 %.thread113, label %360

.thread109:                                       ; 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

.thread113:                                       ; 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.next120 = add nuw nsw i64 %indvars.iv119, 1
  %exitcond122 = icmp eq i64 %indvars.iv.next120, 8
  br i1 %exitcond122, label %.critedge102, label %279, !llvm.loop !32

.critedge102:                                     ; 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 %19, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %364)
  store ptr null, ptr %19, align 8, !tbaa !5
  %.not94 = icmp eq ptr %37, null
  br i1 %.not94, label %366, label %365

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

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

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

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

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

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

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

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

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

374:                                              ; preds = %373, %372
  %.not99 = icmp eq ptr %33, null
  br i1 %.not99, 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 = %.thread109, %.thread113, %376, %278, %261, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %378

378:                                              ; preds = %377, %226, %212
  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, %.thread105, %380
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #5
  ret void
}

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

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