; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN35Longtail_Longtail_Archive (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.TestAsyncFlushComplete = type <{ %struct.Longtail_AsyncFlushAPI, ptr, i32, [4 x i8] }>
%struct.Longtail_AsyncFlushAPI = type { %struct.Longtail_API, 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_ArchiveIndex = type { ptr, ptr, %struct.Longtail_StoreIndex, ptr, ptr, %struct.Longtail_VersionIndex }
%struct.Longtail_StoreIndex = type { ptr, ptr, ptr, 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 }
%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 }

@.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.232 = 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.256 = external hidden unnamed_addr constant [18 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.292 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.439 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.876 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.877 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.878 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.879 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.880 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.881 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.882 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.883 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.884 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.885 = external hidden unnamed_addr constant [164 x i8], align 1

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

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

declare void @_Z28jc_test_increment_assertionsv() #2

declare void @_Z21jc_test_set_test_faili(i32 noundef) #2

declare void @Longtail_Free(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare 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) #3 align 2

declare void @Longtail_DisposeAPI(ptr noundef) #2

declare ptr @Longtail_CreateBlake3HashAPI() #2

declare ptr @Longtail_CreateHPCDCChunkerAPI() #2

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

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

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

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

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

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) #2

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

declare ptr @Longtail_CreateInMemStorageAPI() #2

declare ptr @Longtail_CreateFullCompressionRegistry() #2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN22TestAsyncFlushComplete4WaitEv(ptr noundef nonnull align 8 dereferenceable(28)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN35Longtail_Longtail_Archive__TestCase8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(8) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %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 i32, align 4
  %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 ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %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 %struct.TestAsyncFlushComplete, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %37 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %38 = call ptr @Longtail_CreateInMemStorageAPI()
  store ptr %38, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %39 = call ptr @Longtail_CreateFullCompressionRegistry()
  store ptr %39, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %40 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %40, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %41 = call ptr @Longtail_CreateHPCDCChunkerAPI()
  store ptr %41, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %42 = call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  store ptr %42, ptr %7, align 8, !tbaa !5
  br label %43

43:                                               ; preds = %1
  %44 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %45 = getelementptr inbounds %struct.jc_test_fixture, ptr %44, i32 0, i32 11
  %46 = load i32, ptr %45, align 8
  %47 = and i32 %46, -16776961
  %48 = or i32 %47, 1857280
  store i32 %48, ptr %45, align 8
  %49 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %50 = getelementptr inbounds %struct.jc_test_fixture, ptr %49, i32 0, i32 4
  store ptr @.str.3, ptr %50, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef %51, ptr noundef @.str.439, i32 noundef 2)
  store i32 %52, ptr %9, align 4, !tbaa !14
  %53 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef @.str.232, ptr noundef @.str.440)
  %54 = icmp eq i32 %53, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br i1 %54, label %55, label %56

55:                                               ; preds = %43
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %403

56:                                               ; preds = %43
  br label %57

57:                                               ; preds = %56
  br label %58

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  br label %59

59:                                               ; preds = %58
  %60 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %61 = getelementptr inbounds %struct.jc_test_fixture, ptr %60, i32 0, i32 11
  %62 = load i32, ptr %61, align 8
  %63 = and i32 %62, -16776961
  %64 = or i32 %63, 1858048
  store i32 %64, ptr %61, align 8
  %65 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %66 = getelementptr inbounds %struct.jc_test_fixture, ptr %65, i32 0, i32 4
  store ptr @.str.3, ptr %66, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %67, ptr noundef %68, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.439, ptr noundef %11)
  store i32 %69, ptr %13, align 4, !tbaa !14
  %70 = 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 @.str.46, ptr noundef @.str.876, ptr noundef null)
  %71 = icmp eq i32 %70, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br i1 %71, label %72, label %73

72:                                               ; preds = %59
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %402

73:                                               ; preds = %59
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75
  %77 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %78 = getelementptr inbounds %struct.jc_test_fixture, ptr %77, i32 0, i32 11
  %79 = load i32, ptr %78, align 8
  %80 = and i32 %79, -16776961
  %81 = or i32 %80, 1858304
  store i32 %81, ptr %78, align 8
  %82 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %83 = getelementptr inbounds %struct.jc_test_fixture, ptr %82, i32 0, i32 4
  store ptr @.str.3, ptr %83, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %84, ptr noundef @.str.253, ptr noundef @.str.254)
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %88

87:                                               ; preds = %76
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %402

88:                                               ; preds = %76
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef %91, ptr noundef %92)
  store ptr %93, ptr %14, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %90
  %95 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %96 = getelementptr inbounds %struct.jc_test_fixture, ptr %95, i32 0, i32 11
  %97 = load i32, ptr %96, align 8
  %98 = and i32 %97, -16776961
  %99 = or i32 %98, 1858816
  store i32 %99, ptr %96, align 8
  %100 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %101 = getelementptr inbounds %struct.jc_test_fixture, ptr %100, i32 0, i32 4
  store ptr @.str.3, ptr %101, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  %102 = load ptr, ptr %14, align 8, !tbaa !5
  %103 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %102, ptr noundef @.str.255, ptr noundef @.str.256)
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %106

105:                                              ; preds = %94
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %401

106:                                              ; preds = %94
  br label %107

107:                                              ; preds = %106
  br label %108

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  br label %109

109:                                              ; preds = %108
  %110 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %111 = getelementptr inbounds %struct.jc_test_fixture, ptr %110, i32 0, i32 11
  %112 = load i32, ptr %111, align 8
  %113 = and i32 %112, -16776961
  %114 = or i32 %113, 1862656
  store i32 %114, ptr %111, align 8
  %115 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %116 = getelementptr inbounds %struct.jc_test_fixture, ptr %115, i32 0, i32 4
  store ptr @.str.3, ptr %116, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = call i32 @Longtail_CreateVersionIndex(ptr noundef %117, ptr noundef %118, ptr noundef %119, ptr noundef %120, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.439, ptr noundef %121, ptr noundef %122, i32 noundef 8192, i32 noundef 0, ptr noundef %15)
  store i32 %123, ptr %17, align 4, !tbaa !14
  %124 = 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) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef @.str.46, ptr noundef @.str.877, ptr noundef null)
  %125 = icmp eq i32 %124, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br i1 %125, label %126, label %127

126:                                              ; preds = %109
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %400

127:                                              ; preds = %109
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129
  %131 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %132 = getelementptr inbounds %struct.jc_test_fixture, ptr %131, i32 0, i32 11
  %133 = load i32, ptr %132, align 8
  %134 = and i32 %133, -16776961
  %135 = or i32 %134, 1862912
  store i32 %135, ptr %132, align 8
  %136 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %137 = getelementptr inbounds %struct.jc_test_fixture, ptr %136, i32 0, i32 4
  store ptr @.str.3, ptr %137, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  %138 = load ptr, ptr %15, align 8, !tbaa !5
  %139 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %138, ptr noundef @.str.259, ptr noundef @.str.260)
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %141, label %142

141:                                              ; preds = %130
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %400

142:                                              ; preds = %130
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  br label %145

145:                                              ; preds = %144
  %146 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %147 = getelementptr inbounds %struct.jc_test_fixture, ptr %146, i32 0, i32 11
  %148 = load i32, ptr %147, align 8
  %149 = and i32 %148, -16776961
  %150 = or i32 %149, 1865728
  store i32 %150, ptr %147, align 8
  %151 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %152 = getelementptr inbounds %struct.jc_test_fixture, ptr %151, i32 0, i32 4
  store ptr @.str.3, ptr %152, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load ptr, ptr %15, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %154, i32 0, i32 4
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  %157 = load i32, ptr %156, align 4, !tbaa !14
  %158 = load ptr, ptr %15, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %158, i32 0, i32 12
  %160 = load ptr, ptr %159, align 8, !tbaa !17
  %161 = load ptr, ptr %15, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %161, i32 0, i32 13
  %163 = load ptr, ptr %162, align 8, !tbaa !18
  %164 = load ptr, ptr %15, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %164, i32 0, i32 14
  %166 = load ptr, ptr %165, align 8, !tbaa !19
  %167 = call i32 @Longtail_CreateStoreIndex(ptr noundef %153, i32 noundef %157, ptr noundef %160, ptr noundef %163, ptr noundef %166, i32 noundef 26973, i32 noundef 11, ptr noundef %18)
  store i32 %167, ptr %20, align 4, !tbaa !14
  %168 = 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) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef @.str.46, ptr noundef @.str.878, ptr noundef null)
  %169 = icmp eq i32 %168, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br i1 %169, label %170, label %171

170:                                              ; preds = %145
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %399

171:                                              ; preds = %145
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  br label %174

174:                                              ; preds = %173
  %175 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %176 = getelementptr inbounds %struct.jc_test_fixture, ptr %175, i32 0, i32 11
  %177 = load i32, ptr %176, align 8
  %178 = and i32 %177, -16776961
  %179 = or i32 %178, 1867520
  store i32 %179, ptr %176, align 8
  %180 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %181 = getelementptr inbounds %struct.jc_test_fixture, ptr %180, i32 0, i32 4
  store ptr @.str.3, ptr %181, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %182 = load ptr, ptr %18, align 8, !tbaa !5
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = call i32 @Longtail_CreateArchiveIndex(ptr noundef %182, ptr noundef %183, ptr noundef %21)
  store i32 %184, ptr %23, align 4, !tbaa !14
  %185 = 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 @.str.46, ptr noundef @.str.879, ptr noundef null)
  %186 = icmp eq i32 %185, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br i1 %186, label %187, label %188

187:                                              ; preds = %174
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %398

188:                                              ; preds = %174
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = load ptr, ptr %21, align 8, !tbaa !5
  %193 = call ptr @Longtail_CreateArchiveBlockStore(ptr noundef %191, ptr noundef @.str.880, ptr noundef %192, i32 noundef 1, i32 noundef 0)
  store ptr %193, ptr %24, align 8, !tbaa !5
  br label %194

194:                                              ; preds = %190
  %195 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %196 = getelementptr inbounds %struct.jc_test_fixture, ptr %195, i32 0, i32 11
  %197 = load i32, ptr %196, align 8
  %198 = and i32 %197, -16776961
  %199 = or i32 %198, 1872128
  store i32 %199, ptr %196, align 8
  %200 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %201 = getelementptr inbounds %struct.jc_test_fixture, ptr %200, i32 0, i32 4
  store ptr @.str.3, ptr %201, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = load ptr, ptr %24, align 8, !tbaa !5
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = load ptr, ptr %18, align 8, !tbaa !5
  %206 = load ptr, ptr %15, align 8, !tbaa !5
  %207 = call i32 @Longtail_WriteContent(ptr noundef %202, ptr noundef %203, ptr noundef %204, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %205, ptr noundef %206, ptr noundef @.str.439)
  store i32 %207, ptr %26, align 4, !tbaa !14
  %208 = 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 @.str.46, ptr noundef @.str.881, ptr noundef null)
  %209 = icmp eq i32 %208, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br i1 %209, label %210, label %211

210:                                              ; preds = %194
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %397

211:                                              ; preds = %194
  br label %212

212:                                              ; preds = %211
  br label %213

213:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  call void @_ZN22TestAsyncFlushCompleteC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %27)
  br label %214

214:                                              ; preds = %213
  %215 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %216 unwind label %237

216:                                              ; preds = %214
  %217 = getelementptr inbounds %struct.jc_test_fixture, ptr %215, i32 0, i32 11
  %218 = load i32, ptr %217, align 8
  %219 = and i32 %218, -16776961
  %220 = or i32 %219, 1872896
  store i32 %220, ptr %217, align 8
  %221 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %222 unwind label %237

222:                                              ; preds = %216
  %223 = getelementptr inbounds %struct.jc_test_fixture, ptr %221, i32 0, i32 4
  store ptr @.str.3, ptr %223, align 8, !tbaa !9
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %224 unwind label %237

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %225 = load ptr, ptr %24, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %225, i32 0, i32 7
  %227 = load ptr, ptr %226, align 8, !tbaa !20
  %228 = load ptr, ptr %24, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.TestAsyncFlushComplete, ptr %27, i32 0, i32 0
  %230 = invoke noundef i32 %227(ptr noundef %228, ptr noundef %229)
          to label %231 unwind label %241

231:                                              ; preds = %224
  store i32 %230, ptr %31, align 4, !tbaa !14
  %232 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef @.str.46, ptr noundef @.str.882, ptr noundef null)
          to label %233 unwind label %241

233:                                              ; preds = %231
  %234 = icmp eq i32 %232, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br i1 %234, label %235, label %245

235:                                              ; preds = %233
  invoke void @_Z21jc_test_set_test_faili(i32 noundef 1)
          to label %236 unwind label %237

236:                                              ; preds = %235
  store i32 1, ptr %10, align 4
  br label %396

237:                                              ; preds = %391, %384, %377, %370, %363, %358, %354, %343, %328, %322, %320, %315, %307, %298, %292, %290, %287, %285, %283, %281, %279, %275, %264, %257, %251, %249, %247, %235, %222, %216, %214
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %28, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %29, align 4
  br label %406

241:                                              ; preds = %231, %224
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %28, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %406

245:                                              ; preds = %233
  br label %246

246:                                              ; preds = %245
  br label %247

247:                                              ; preds = %246
  invoke void @_ZN22TestAsyncFlushComplete4WaitEv(ptr noundef nonnull align 8 dereferenceable(28) %27)
          to label %248 unwind label %237

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248
  %250 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %251 unwind label %237

251:                                              ; preds = %249
  %252 = getelementptr inbounds %struct.jc_test_fixture, ptr %250, i32 0, i32 11
  %253 = load i32, ptr %252, align 8
  %254 = and i32 %253, -16776961
  %255 = or i32 %254, 1873408
  store i32 %255, ptr %252, align 8
  %256 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %257 unwind label %237

257:                                              ; preds = %251
  %258 = getelementptr inbounds %struct.jc_test_fixture, ptr %256, i32 0, i32 4
  store ptr @.str.3, ptr %258, align 8, !tbaa !9
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %259 unwind label %237

259:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !14
  %260 = getelementptr inbounds %struct.TestAsyncFlushComplete, ptr %27, i32 0, i32 2
  %261 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %260, ptr noundef @.str.46, ptr noundef @.str.292, ptr noundef null)
          to label %262 unwind label %266

262:                                              ; preds = %259
  %263 = icmp eq i32 %261, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br i1 %263, label %264, label %270

264:                                              ; preds = %262
  invoke void @_Z21jc_test_set_test_faili(i32 noundef 1)
          to label %265 unwind label %237

265:                                              ; preds = %264
  store i32 1, ptr %10, align 4
  br label %396

266:                                              ; preds = %259
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %28, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %406

270:                                              ; preds = %262
  br label %271

271:                                              ; preds = %270
  br label %272

272:                                              ; preds = %271
  %273 = load ptr, ptr %24, align 8, !tbaa !5
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %279

275:                                              ; preds = %272
  %276 = load ptr, ptr %24, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %276, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %277)
          to label %278 unwind label %237

278:                                              ; preds = %275
  br label %279

279:                                              ; preds = %278, %272
  %280 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %280)
          to label %281 unwind label %237

281:                                              ; preds = %279
  store ptr null, ptr %21, align 8, !tbaa !5
  %282 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %282)
          to label %283 unwind label %237

283:                                              ; preds = %281
  store ptr null, ptr %18, align 8, !tbaa !5
  %284 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %284)
          to label %285 unwind label %237

285:                                              ; preds = %283
  %286 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %286)
          to label %287 unwind label %237

287:                                              ; preds = %285
  %288 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %288)
          to label %289 unwind label %237

289:                                              ; preds = %287
  br label %290

290:                                              ; preds = %289
  %291 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %292 unwind label %237

292:                                              ; preds = %290
  %293 = getelementptr inbounds %struct.jc_test_fixture, ptr %291, i32 0, i32 11
  %294 = load i32, ptr %293, align 8
  %295 = and i32 %294, -16776961
  %296 = or i32 %295, 1877760
  store i32 %296, ptr %293, align 8
  %297 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %298 unwind label %237

298:                                              ; preds = %292
  %299 = getelementptr inbounds %struct.jc_test_fixture, ptr %297, i32 0, i32 4
  store ptr @.str.3, ptr %299, align 8, !tbaa !9
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %300 unwind label %237

300:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %301 = load ptr, ptr %3, align 8, !tbaa !5
  %302 = invoke i32 @Longtail_ReadArchiveIndex(ptr noundef %301, ptr noundef @.str.880, ptr noundef %21)
          to label %303 unwind label %309

303:                                              ; preds = %300
  store i32 %302, ptr %34, align 4, !tbaa !14
  %304 = invoke 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.883, ptr noundef null)
          to label %305 unwind label %309

305:                                              ; preds = %303
  %306 = icmp eq i32 %304, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br i1 %306, label %307, label %313

307:                                              ; preds = %305
  invoke void @_Z21jc_test_set_test_faili(i32 noundef 1)
          to label %308 unwind label %237

308:                                              ; preds = %307
  store i32 1, ptr %10, align 4
  br label %396

309:                                              ; preds = %303, %300
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %28, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %406

313:                                              ; preds = %305
  br label %314

314:                                              ; preds = %313
  br label %315

315:                                              ; preds = %314
  %316 = load ptr, ptr %3, align 8, !tbaa !5
  %317 = load ptr, ptr %21, align 8, !tbaa !5
  %318 = invoke ptr @Longtail_CreateArchiveBlockStore(ptr noundef %316, ptr noundef @.str.880, ptr noundef %317, i32 noundef 0, i32 noundef 0)
          to label %319 unwind label %237

319:                                              ; preds = %315
  store ptr %318, ptr %24, align 8, !tbaa !5
  br label %320

320:                                              ; preds = %319
  %321 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %322 unwind label %237

322:                                              ; preds = %320
  %323 = getelementptr inbounds %struct.jc_test_fixture, ptr %321, i32 0, i32 11
  %324 = load i32, ptr %323, align 8
  %325 = and i32 %324, -16776961
  %326 = or i32 %325, 1882624
  store i32 %326, ptr %323, align 8
  %327 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %328 unwind label %237

328:                                              ; preds = %322
  %329 = getelementptr inbounds %struct.jc_test_fixture, ptr %327, i32 0, i32 4
  store ptr @.str.3, ptr %329, align 8, !tbaa !9
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %330 unwind label %237

330:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %331 = load ptr, ptr %24, align 8, !tbaa !5
  %332 = load ptr, ptr %3, align 8, !tbaa !5
  %333 = load ptr, ptr %7, align 8, !tbaa !5
  %334 = load ptr, ptr %21, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.Longtail_ArchiveIndex, ptr %334, i32 0, i32 2
  %336 = load ptr, ptr %21, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.Longtail_ArchiveIndex, ptr %336, i32 0, i32 5
  %338 = invoke i32 @Longtail_WriteVersion(ptr noundef %331, ptr noundef %332, ptr noundef %333, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %335, ptr noundef %337, ptr noundef @.str.884, i32 noundef 1)
          to label %339 unwind label %345

339:                                              ; preds = %330
  store i32 %338, ptr %36, align 4, !tbaa !14
  %340 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef @.str.46, ptr noundef @.str.885, ptr noundef null)
          to label %341 unwind label %345

341:                                              ; preds = %339
  %342 = icmp eq i32 %340, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br i1 %342, label %343, label %349

343:                                              ; preds = %341
  invoke void @_Z21jc_test_set_test_faili(i32 noundef 1)
          to label %344 unwind label %237

344:                                              ; preds = %343
  store i32 1, ptr %10, align 4
  br label %396

345:                                              ; preds = %339, %330
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %28, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %406

349:                                              ; preds = %341
  br label %350

350:                                              ; preds = %349
  br label %351

351:                                              ; preds = %350
  %352 = load ptr, ptr %24, align 8, !tbaa !5
  %353 = icmp ne ptr %352, null
  br i1 %353, label %354, label %358

354:                                              ; preds = %351
  %355 = load ptr, ptr %24, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %355, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %356)
          to label %357 unwind label %237

357:                                              ; preds = %354
  br label %358

358:                                              ; preds = %357, %351
  %359 = load ptr, ptr %21, align 8, !tbaa !5
  invoke void @Longtail_Free(ptr noundef %359)
          to label %360 unwind label %237

360:                                              ; preds = %358
  store ptr null, ptr %21, align 8, !tbaa !5
  %361 = load ptr, ptr %7, align 8, !tbaa !5
  %362 = icmp ne ptr %361, null
  br i1 %362, label %363, label %367

363:                                              ; preds = %360
  %364 = load ptr, ptr %7, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %364, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %365)
          to label %366 unwind label %237

366:                                              ; preds = %363
  br label %367

367:                                              ; preds = %366, %360
  %368 = load ptr, ptr %6, align 8, !tbaa !5
  %369 = icmp ne ptr %368, null
  br i1 %369, label %370, label %374

370:                                              ; preds = %367
  %371 = load ptr, ptr %6, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.Longtail_ChunkerAPI, ptr %371, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %372)
          to label %373 unwind label %237

373:                                              ; preds = %370
  br label %374

374:                                              ; preds = %373, %367
  %375 = load ptr, ptr %5, align 8, !tbaa !5
  %376 = icmp ne ptr %375, null
  br i1 %376, label %377, label %381

377:                                              ; preds = %374
  %378 = load ptr, ptr %5, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %378, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %379)
          to label %380 unwind label %237

380:                                              ; preds = %377
  br label %381

381:                                              ; preds = %380, %374
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  %383 = icmp ne ptr %382, null
  br i1 %383, label %384, label %388

384:                                              ; preds = %381
  %385 = load ptr, ptr %4, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.Longtail_CompressionRegistryAPI, ptr %385, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %386)
          to label %387 unwind label %237

387:                                              ; preds = %384
  br label %388

388:                                              ; preds = %387, %381
  %389 = load ptr, ptr %3, align 8, !tbaa !5
  %390 = icmp ne ptr %389, null
  br i1 %390, label %391, label %395

391:                                              ; preds = %388
  %392 = load ptr, ptr %3, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %392, i32 0, i32 0
  invoke void @Longtail_DisposeAPI(ptr noundef %393)
          to label %394 unwind label %237

394:                                              ; preds = %391
  br label %395

395:                                              ; preds = %394, %388
  store i32 0, ptr %10, align 4
  br label %396

396:                                              ; preds = %395, %344, %308, %265, %236
  call void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  br label %397

397:                                              ; preds = %396, %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %398

398:                                              ; preds = %397, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %399

399:                                              ; preds = %398, %170
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %400

400:                                              ; preds = %399, %141, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %401

401:                                              ; preds = %400, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %402

402:                                              ; preds = %401, %87, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %403

403:                                              ; preds = %402, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %404 = load i32, ptr %10, align 4
  switch i32 %404, label %412 [
    i32 0, label %405
    i32 1, label %405
  ]

405:                                              ; preds = %403, %403
  ret void

406:                                              ; preds = %345, %309, %266, %241, %237
  call void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %27) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %407

407:                                              ; preds = %406
  %408 = load ptr, ptr %28, align 8
  %409 = load i32, ptr %29, align 4
  %410 = insertvalue { ptr, i32 } poison, ptr %408, 0
  %411 = insertvalue { ptr, i32 } %410, i32 %409, 1
  resume { ptr, i32 } %411

412:                                              ; preds = %403
  unreachable
}

declare i32 @Longtail_CreateArchiveIndex(ptr noundef, ptr noundef, ptr noundef) #2

declare ptr @Longtail_CreateArchiveBlockStore(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare i32 @Longtail_ReadArchiveIndex(ptr noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !12, i64 88, !12, i64 91, !12, i64 91, !12, i64 91, !12, i64 91, !12, i64 92, !12, i64 96, !12, i64 97, !12, i64 99, !12, i64 100}
!11 = !{!"_ZTS13jc_test_stats", !12, i64 0, !12, i64 4, !12, i64 6, !12, i64 8, !12, i64 12, !13, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !6, i64 32}
!16 = !{!"_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, !12, i64 128, !6, i64 136, !6, i64 144}
!17 = !{!16, !6, i64 96}
!18 = !{!16, !6, i64 104}
!19 = !{!16, !6, i64 112}
!20 = !{!21, !6, i64 56}
!21 = !{!"_ZTS22Longtail_BlockStoreAPI", !22, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!22 = !{!"_ZTS12Longtail_API", !6, i64 0}


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

%struct.TestAsyncFlushComplete = type <{ %struct.Longtail_AsyncFlushAPI, ptr, i32, [4 x i8] }>
%struct.Longtail_AsyncFlushAPI = type { %struct.Longtail_API, ptr }
%struct.Longtail_API = type { 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.232 = 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.256 = external hidden unnamed_addr constant [18 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.292 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.439 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.876 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.877 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.878 = external hidden unnamed_addr constant [178 x i8], align 1
@.str.879 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.880 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.881 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.882 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.883 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.884 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.885 = external hidden unnamed_addr constant [164 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

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

declare void @_Z28jc_test_increment_assertionsv() local_unnamed_addr #2

declare void @_Z21jc_test_set_test_faili(i32 noundef) local_unnamed_addr #2

declare void @Longtail_Free(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare 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 #3 align 2

declare void @Longtail_DisposeAPI(ptr noundef) local_unnamed_addr #2

declare ptr @Longtail_CreateBlake3HashAPI() local_unnamed_addr #2

declare ptr @Longtail_CreateHPCDCChunkerAPI() local_unnamed_addr #2

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

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

; 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 #3

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

; 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 #3

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 #2

; 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 #3

declare ptr @Longtail_CreateInMemStorageAPI() local_unnamed_addr #2

declare ptr @Longtail_CreateFullCompressionRegistry() local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN22TestAsyncFlushComplete4WaitEv(ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4 align 2

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 #2

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

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

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 #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN35Longtail_Longtail_Archive__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.TestAsyncFlushComplete, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = tail call ptr @Longtail_CreateInMemStorageAPI()
  %27 = tail call ptr @Longtail_CreateFullCompressionRegistry()
  %28 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %29 = tail call ptr @Longtail_CreateHPCDCChunkerAPI()
  %30 = tail call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  %31 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %32 = getelementptr inbounds i8, ptr %31, i64 96
  %33 = load i32, ptr %32, align 8
  %34 = and i32 %33, -16776961
  %35 = or disjoint i32 %34, 1857280
  store i32 %35, ptr %32, align 8
  %36 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %37 = getelementptr inbounds i8, ptr %36, i64 32
  store ptr @.str.3, ptr %37, align 8, !tbaa !5
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  store i32 1, ptr %2, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %38 = tail call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef %26, ptr noundef nonnull @.str.439, i32 noundef 2)
  store i32 %38, ptr %3, align 4, !tbaa !13
  %39 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull @.str.232, ptr noundef nonnull @.str.440)
  %40 = icmp eq i32 %39, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  br i1 %40, label %41, label %42

41:                                               ; preds = %1
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %267

42:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %43 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %44 = getelementptr inbounds i8, ptr %43, i64 96
  %45 = load i32, ptr %44, align 8
  %46 = and i32 %45, -16776961
  %47 = or disjoint i32 %46, 1858048
  store i32 %47, ptr %44, align 8
  %48 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %49 = getelementptr inbounds i8, ptr %48, i64 32
  store ptr @.str.3, ptr %49, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 0, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %50 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %26, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.439, ptr noundef nonnull %4)
  store i32 %50, ptr %6, align 4, !tbaa !13
  %51 = 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) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.876, ptr noundef null)
  %52 = icmp eq i32 %51, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br i1 %52, label %53, label %54

53:                                               ; preds = %42
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %266

54:                                               ; preds = %42
  %55 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %56 = getelementptr inbounds i8, ptr %55, i64 96
  %57 = load i32, ptr %56, align 8
  %58 = and i32 %57, -16776961
  %59 = or disjoint i32 %58, 1858304
  store i32 %59, ptr %56, align 8
  %60 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %61 = getelementptr inbounds i8, ptr %60, i64 32
  store ptr @.str.3, ptr %61, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %62 = load ptr, ptr %4, align 8, !tbaa !14
  %63 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %62, ptr noundef nonnull @.str.253, ptr noundef nonnull @.str.254)
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %66

65:                                               ; preds = %54
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %266

66:                                               ; preds = %54
  %67 = load ptr, ptr %4, align 8, !tbaa !14
  %68 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef %26, ptr noundef %67)
  %69 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %70 = getelementptr inbounds i8, ptr %69, i64 96
  %71 = load i32, ptr %70, align 8
  %72 = and i32 %71, -16776961
  %73 = or disjoint i32 %72, 1858816
  store i32 %73, ptr %70, align 8
  %74 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %75 = getelementptr inbounds i8, ptr %74, i64 32
  store ptr @.str.3, ptr %75, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %76 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %68, ptr noundef nonnull @.str.255, ptr noundef nonnull @.str.256)
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %66
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %266

79:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %80 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %81 = getelementptr inbounds i8, ptr %80, i64 96
  %82 = load i32, ptr %81, align 8
  %83 = and i32 %82, -16776961
  %84 = or disjoint i32 %83, 1862656
  store i32 %84, ptr %81, align 8
  %85 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %86 = getelementptr inbounds i8, ptr %85, i64 32
  store ptr @.str.3, ptr %86, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 0, ptr %8, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %87 = load ptr, ptr %4, align 8, !tbaa !14
  %88 = call i32 @Longtail_CreateVersionIndex(ptr noundef %26, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.439, ptr noundef %87, ptr noundef %68, i32 noundef 8192, i32 noundef 0, ptr noundef nonnull %7)
  store i32 %88, ptr %9, align 4, !tbaa !13
  %89 = 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) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.877, ptr noundef null)
  %90 = icmp eq i32 %89, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br i1 %90, label %91, label %92

91:                                               ; preds = %79
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %265

92:                                               ; preds = %79
  %93 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %94 = getelementptr inbounds i8, ptr %93, i64 96
  %95 = load i32, ptr %94, align 8
  %96 = and i32 %95, -16776961
  %97 = or disjoint i32 %96, 1862912
  store i32 %97, ptr %94, align 8
  %98 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %99 = getelementptr inbounds i8, ptr %98, i64 32
  store ptr @.str.3, ptr %99, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %100 = load ptr, ptr %7, align 8, !tbaa !14
  %101 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %100, ptr noundef nonnull @.str.259, ptr noundef nonnull @.str.260)
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %103, label %104

103:                                              ; preds = %92
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %265

104:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %105 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %106 = getelementptr inbounds i8, ptr %105, i64 96
  %107 = load i32, ptr %106, align 8
  %108 = and i32 %107, -16776961
  %109 = or disjoint i32 %108, 1865728
  store i32 %109, ptr %106, align 8
  %110 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %111 = getelementptr inbounds i8, ptr %110, i64 32
  store ptr @.str.3, ptr %111, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 0, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %112 = load ptr, ptr %7, align 8, !tbaa !14
  %113 = getelementptr inbounds i8, ptr %112, i64 32
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = load i32, ptr %114, align 4, !tbaa !13
  %116 = getelementptr inbounds i8, ptr %112, i64 96
  %117 = load ptr, ptr %116, align 8, !tbaa !17
  %118 = getelementptr inbounds i8, ptr %112, i64 104
  %119 = load ptr, ptr %118, align 8, !tbaa !18
  %120 = getelementptr inbounds i8, ptr %112, i64 112
  %121 = load ptr, ptr %120, align 8, !tbaa !19
  %122 = call i32 @Longtail_CreateStoreIndex(ptr noundef %28, i32 noundef %115, ptr noundef %117, ptr noundef %119, ptr noundef %121, i32 noundef 26973, i32 noundef 11, ptr noundef nonnull %10)
  store i32 %122, ptr %12, align 4, !tbaa !13
  %123 = 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) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.878, ptr noundef null)
  %124 = icmp eq i32 %123, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br i1 %124, label %125, label %126

125:                                              ; preds = %104
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %264

126:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %127 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %128 = getelementptr inbounds i8, ptr %127, i64 96
  %129 = load i32, ptr %128, align 8
  %130 = and i32 %129, -16776961
  %131 = or disjoint i32 %130, 1867520
  store i32 %131, ptr %128, align 8
  %132 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %133 = getelementptr inbounds i8, ptr %132, i64 32
  store ptr @.str.3, ptr %133, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  store i32 0, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  %134 = load ptr, ptr %10, align 8, !tbaa !14
  %135 = load ptr, ptr %7, align 8, !tbaa !14
  %136 = call i32 @Longtail_CreateArchiveIndex(ptr noundef %134, ptr noundef %135, ptr noundef nonnull %13)
  store i32 %136, ptr %15, align 4, !tbaa !13
  %137 = 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) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.879, ptr noundef null)
  %138 = icmp eq i32 %137, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  br i1 %138, label %139, label %140

139:                                              ; preds = %126
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %263

140:                                              ; preds = %126
  %141 = load ptr, ptr %13, align 8, !tbaa !14
  %142 = call ptr @Longtail_CreateArchiveBlockStore(ptr noundef %26, ptr noundef nonnull @.str.880, ptr noundef %141, i32 noundef 1, i32 noundef 0)
  %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, 1872128
  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 !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  store i32 0, ptr %16, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  %150 = load ptr, ptr %10, align 8, !tbaa !14
  %151 = load ptr, ptr %7, align 8, !tbaa !14
  %152 = call i32 @Longtail_WriteContent(ptr noundef %26, ptr noundef %142, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %150, ptr noundef %151, ptr noundef nonnull @.str.439)
  store i32 %152, ptr %17, align 4, !tbaa !13
  %153 = 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) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.881, ptr noundef null)
  %154 = icmp eq i32 %153, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  br i1 %154, label %155, label %156

155:                                              ; preds = %140
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %263

156:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #5
  call void @_ZN22TestAsyncFlushCompleteC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %18)
  %157 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %158 unwind label %174

158:                                              ; preds = %156
  %159 = getelementptr inbounds i8, ptr %157, i64 96
  %160 = load i32, ptr %159, align 8
  %161 = and i32 %160, -16776961
  %162 = or disjoint i32 %161, 1872896
  store i32 %162, ptr %159, align 8
  %163 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %164 unwind label %174

164:                                              ; preds = %158
  %165 = getelementptr inbounds i8, ptr %163, i64 32
  store ptr @.str.3, ptr %165, align 8, !tbaa !5
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %166 unwind label %174

166:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  store i32 0, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #5
  %167 = getelementptr inbounds i8, ptr %142, i64 56
  %168 = load ptr, ptr %167, align 8, !tbaa !20
  %169 = invoke noundef i32 %168(ptr noundef nonnull %142, ptr noundef nonnull %18)
          to label %170 unwind label %176

170:                                              ; preds = %166
  store i32 %169, ptr %20, align 4, !tbaa !13
  %171 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.882, ptr noundef null)
          to label %172 unwind label %176

172:                                              ; preds = %170
  %173 = icmp eq i32 %171, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  br i1 %173, label %.invoke, label %178

174:                                              ; preds = %.invoke, %261, %259, %257, %255, %253, %250, %249, %235, %229, %227, %224, %214, %208, %206, %204, %203, %201, %199, %197, %196, %187, %181, %179, %178, %164, %158, %156
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %268

176:                                              ; preds = %170, %166
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  br label %268

178:                                              ; preds = %172
  invoke void @_ZN22TestAsyncFlushComplete4WaitEv(ptr noundef nonnull align 8 dereferenceable(28) %18)
          to label %179 unwind label %174

179:                                              ; preds = %178
  %180 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %181 unwind label %174

181:                                              ; preds = %179
  %182 = getelementptr inbounds i8, ptr %180, i64 96
  %183 = load i32, ptr %182, align 8
  %184 = and i32 %183, -16776961
  %185 = or disjoint i32 %184, 1873408
  store i32 %185, ptr %182, align 8
  %186 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %187 unwind label %174

187:                                              ; preds = %181
  %188 = getelementptr inbounds i8, ptr %186, i64 32
  store ptr @.str.3, ptr %188, align 8, !tbaa !5
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %189 unwind label %174

189:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #5
  store i32 0, ptr %21, align 4, !tbaa !13
  %190 = getelementptr inbounds i8, ptr %18, i64 24
  %191 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %190, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.292, ptr noundef null)
          to label %192 unwind label %194

192:                                              ; preds = %189
  %193 = icmp eq i32 %191, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  br i1 %193, label %.invoke, label %196

194:                                              ; preds = %189
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #5
  br label %268

196:                                              ; preds = %192
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %142)
          to label %197 unwind label %174

197:                                              ; preds = %196
  %198 = load ptr, ptr %13, align 8, !tbaa !14
  invoke void @Longtail_Free(ptr noundef %198)
          to label %199 unwind label %174

199:                                              ; preds = %197
  store ptr null, ptr %13, align 8, !tbaa !14
  %200 = load ptr, ptr %10, align 8, !tbaa !14
  invoke void @Longtail_Free(ptr noundef %200)
          to label %201 unwind label %174

201:                                              ; preds = %199
  store ptr null, ptr %10, align 8, !tbaa !14
  %202 = load ptr, ptr %7, align 8, !tbaa !14
  invoke void @Longtail_Free(ptr noundef %202)
          to label %203 unwind label %174

203:                                              ; preds = %201
  invoke void @Longtail_Free(ptr noundef %68)
          to label %204 unwind label %174

204:                                              ; preds = %203
  %205 = load ptr, ptr %4, align 8, !tbaa !14
  invoke void @Longtail_Free(ptr noundef %205)
          to label %206 unwind label %174

206:                                              ; preds = %204
  %207 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %208 unwind label %174

208:                                              ; preds = %206
  %209 = getelementptr inbounds i8, ptr %207, i64 96
  %210 = load i32, ptr %209, align 8
  %211 = and i32 %210, -16776961
  %212 = or disjoint i32 %211, 1877760
  store i32 %212, ptr %209, align 8
  %213 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %214 unwind label %174

214:                                              ; preds = %208
  %215 = getelementptr inbounds i8, ptr %213, i64 32
  store ptr @.str.3, ptr %215, align 8, !tbaa !5
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %216 unwind label %174

216:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #5
  store i32 0, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #5
  %217 = invoke i32 @Longtail_ReadArchiveIndex(ptr noundef %26, ptr noundef nonnull @.str.880, ptr noundef nonnull %13)
          to label %218 unwind label %222

218:                                              ; preds = %216
  store i32 %217, ptr %23, align 4, !tbaa !13
  %219 = invoke 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.883, ptr noundef null)
          to label %220 unwind label %222

220:                                              ; preds = %218
  %221 = icmp eq i32 %219, 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 %221, label %.invoke, label %224

222:                                              ; preds = %218, %216
  %223 = landingpad { ptr, i32 }
          cleanup
  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 label %268

224:                                              ; preds = %220
  %225 = load ptr, ptr %13, align 8, !tbaa !14
  %226 = invoke ptr @Longtail_CreateArchiveBlockStore(ptr noundef %26, ptr noundef nonnull @.str.880, ptr noundef %225, i32 noundef 0, i32 noundef 0)
          to label %227 unwind label %174

227:                                              ; preds = %224
  %228 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %229 unwind label %174

229:                                              ; preds = %227
  %230 = getelementptr inbounds i8, ptr %228, i64 96
  %231 = load i32, ptr %230, align 8
  %232 = and i32 %231, -16776961
  %233 = or disjoint i32 %232, 1882624
  store i32 %233, ptr %230, align 8
  %234 = invoke noundef ptr @_ZL19jc_test_get_fixturev()
          to label %235 unwind label %174

235:                                              ; preds = %229
  %236 = getelementptr inbounds i8, ptr %234, i64 32
  store ptr @.str.3, ptr %236, align 8, !tbaa !5
  invoke void @_Z28jc_test_increment_assertionsv()
          to label %237 unwind label %174

237:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #5
  store i32 0, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #5
  %238 = load ptr, ptr %13, align 8, !tbaa !14
  %239 = getelementptr inbounds i8, ptr %238, i64 16
  %240 = getelementptr inbounds i8, ptr %238, i64 112
  %241 = invoke i32 @Longtail_WriteVersion(ptr noundef %226, ptr noundef %26, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull %239, ptr noundef nonnull %240, ptr noundef nonnull @.str.884, i32 noundef 1)
          to label %242 unwind label %246

242:                                              ; preds = %237
  store i32 %241, ptr %25, align 4, !tbaa !13
  %243 = invoke noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.885, ptr noundef null)
          to label %244 unwind label %246

244:                                              ; preds = %242
  %245 = icmp eq i32 %243, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  br i1 %245, label %.invoke, label %248

.invoke:                                          ; preds = %172, %244, %220, %192
  invoke void @_Z21jc_test_set_test_faili(i32 noundef 1)
          to label %262 unwind label %174

246:                                              ; preds = %242, %237
  %247 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  br label %268

248:                                              ; preds = %244
  %.not47 = icmp eq ptr %226, null
  br i1 %.not47, label %250, label %249

249:                                              ; preds = %248
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %226)
          to label %250 unwind label %174

250:                                              ; preds = %249, %248
  %251 = load ptr, ptr %13, align 8, !tbaa !14
  invoke void @Longtail_Free(ptr noundef %251)
          to label %252 unwind label %174

252:                                              ; preds = %250
  store ptr null, ptr %13, align 8, !tbaa !14
  %.not48 = icmp eq ptr %30, null
  br i1 %.not48, label %254, label %253

253:                                              ; preds = %252
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %30)
          to label %254 unwind label %174

254:                                              ; preds = %253, %252
  %.not49 = icmp eq ptr %29, null
  br i1 %.not49, label %256, label %255

255:                                              ; preds = %254
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %29)
          to label %256 unwind label %174

256:                                              ; preds = %255, %254
  %.not50 = icmp eq ptr %28, null
  br i1 %.not50, label %258, label %257

257:                                              ; preds = %256
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %28)
          to label %258 unwind label %174

258:                                              ; preds = %257, %256
  %.not51 = icmp eq ptr %27, null
  br i1 %.not51, label %260, label %259

259:                                              ; preds = %258
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %27)
          to label %260 unwind label %174

260:                                              ; preds = %259, %258
  %.not52 = icmp eq ptr %26, null
  br i1 %.not52, label %262, label %261

261:                                              ; preds = %260
  invoke void @Longtail_DisposeAPI(ptr noundef nonnull %26)
          to label %262 unwind label %174

262:                                              ; preds = %.invoke, %260, %261
  call void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  br label %263

263:                                              ; preds = %155, %262, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %264

264:                                              ; preds = %263, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %265

265:                                              ; preds = %264, %103, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %266

266:                                              ; preds = %78, %265, %65, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %267

267:                                              ; preds = %266, %41
  ret void

268:                                              ; preds = %246, %222, %194, %176, %174
  %.pn = phi { ptr, i32 } [ %175, %174 ], [ %247, %246 ], [ %223, %222 ], [ %195, %194 ], [ %177, %176 ]
  call void @_ZN22TestAsyncFlushCompleteD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn
}

declare i32 @Longtail_CreateArchiveIndex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare ptr @Longtail_CreateArchiveBlockStore(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @Longtail_ReadArchiveIndex(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass