; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN40Longtail_Longtail_WriteContent (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.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_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.Longtail_VersionIndex = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr }
%struct.Longtail_StoreIndex = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, 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.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.264 = external hidden unnamed_addr constant [22 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
@__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [5 x ptr], align 16
@__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [5 x ptr], align 16
@.str.406 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.407 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.408 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.409 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.410 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.414 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.415 = external hidden unnamed_addr constant [3 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: 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

declare void @Longtail_DisposeAPI(ptr noundef) #2

declare ptr @Longtail_CreateBlake3HashAPI() #2

; 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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef) #4 align 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) #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) #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) #4

declare ptr @Longtail_CreateInMemStorageAPI() #2

declare ptr @Longtail_CreateFullCompressionRegistry() #2

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

declare ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef, ptr noundef) #2

; 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
define dso_local void @_ZN40Longtail_Longtail_WriteContent__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 ptr, align 8
  %11 = alloca [5 x ptr], align 16
  %12 = alloca [5 x ptr], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, 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 ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %36 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %37 = call ptr @Longtail_CreateInMemStorageAPI()
  store ptr %37, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %38 = call ptr @Longtail_CreateInMemStorageAPI()
  store ptr %38, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %39 = call ptr @Longtail_CreateFullCompressionRegistry()
  store ptr %39, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %40 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %40, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %41 = call ptr @Longtail_CreateHPCDCChunkerAPI()
  store ptr %41, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %42 = call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  store ptr %42, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = call ptr @Longtail_CreateFSBlockStoreAPI(ptr noundef %43, ptr noundef %44, ptr noundef @.str.270, ptr noundef null, i32 noundef 0)
  store ptr %45, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = call ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef %46, ptr noundef %47)
  store ptr %48, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_FILENAMES, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_STRINGS, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %150, %1
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = icmp ult i32 %50, 5
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 2, ptr %14, align 4
  br label %153

53:                                               ; preds = %49
  br label %54

54:                                               ; preds = %53
  %55 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %56 = getelementptr inbounds %struct.jc_test_fixture, ptr %55, i32 0, i32 11
  %57 = load i32, ptr %56, align 8
  %58 = and i32 %57, -16776961
  %59 = or i32 %58, 608256
  store i32 %59, ptr %56, align 8
  %60 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %61 = getelementptr inbounds %struct.jc_test_fixture, ptr %60, i32 0, i32 4
  store ptr @.str.3, ptr %61, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds [5 x ptr], ptr %11, i64 0, i64 %64
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = call noundef i32 @_ZL16CreateParentPathP19Longtail_StorageAPIPKc(ptr noundef %62, ptr noundef %66)
  %68 = call noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %67, ptr noundef @.str.46, ptr noundef @.str.406)
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %54
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %153

71:                                               ; preds = %54
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  br label %74

74:                                               ; preds = %73
  %75 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %76 = getelementptr inbounds %struct.jc_test_fixture, ptr %75, i32 0, i32 11
  %77 = load i32, ptr %76, align 8
  %78 = and i32 %77, -16776961
  %79 = or i32 %78, 608768
  store i32 %79, ptr %76, align 8
  %80 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %81 = getelementptr inbounds %struct.jc_test_fixture, ptr %80, i32 0, i32 4
  store ptr @.str.3, ptr %81, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %82, i32 0, i32 4
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds [5 x ptr], ptr %11, i64 0, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = call noundef i32 %84(ptr noundef %85, ptr noundef %89, i64 noundef 0, ptr noundef %15)
  store i32 %90, ptr %17, align 4, !tbaa !9
  %91 = 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.407, ptr noundef null)
  %92 = icmp eq i32 %91, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br i1 %92, label %93, label %94

93:                                               ; preds = %74
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %147

94:                                               ; preds = %74
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  br label %97

97:                                               ; preds = %96
  %98 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %99 = getelementptr inbounds %struct.jc_test_fixture, ptr %98, i32 0, i32 11
  %100 = load i32, ptr %99, align 8
  %101 = and i32 %100, -16776961
  %102 = or i32 %101, 609024
  store i32 %102, ptr %99, align 8
  %103 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %104 = getelementptr inbounds %struct.jc_test_fixture, ptr %103, i32 0, i32 4
  store ptr @.str.3, ptr %104, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %105 = load ptr, ptr %15, align 8, !tbaa !5
  %106 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %105, ptr noundef @.str.388, ptr noundef @.str.389)
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %97
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %147

109:                                              ; preds = %97
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  br label %112

112:                                              ; preds = %111
  %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, 609280
  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 !11
  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
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %120, i32 0, i32 5
  %122 = load ptr, ptr %121, align 8, !tbaa !18
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = load i32, ptr %13, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds [5 x ptr], ptr %12, i64 0, i64 %126
  %128 = load ptr, ptr %127, align 8, !tbaa !5
  %129 = call i64 @strlen(ptr noundef %128) #7
  %130 = add i64 %129, 1
  %131 = load i32, ptr %13, align 4, !tbaa !9
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds [5 x ptr], ptr %12, i64 0, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !5
  %135 = call noundef i32 %122(ptr noundef %123, ptr noundef %124, i64 noundef 0, i64 noundef %130, ptr noundef %134)
  store i32 %135, ptr %19, align 4, !tbaa !9
  %136 = 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.408, ptr noundef null)
  %137 = icmp eq i32 %136, 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 %137, label %138, label %139

138:                                              ; preds = %112
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %147

139:                                              ; preds = %112
  br label %140

140:                                              ; preds = %139
  br label %141

141:                                              ; preds = %140
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %142, i32 0, i32 9
  %144 = load ptr, ptr %143, align 8, !tbaa !19
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = load ptr, ptr %15, align 8, !tbaa !5
  call void %144(ptr noundef %145, ptr noundef %146)
  store ptr null, ptr %15, align 8, !tbaa !5
  store i32 0, ptr %14, align 4
  br label %147

147:                                              ; preds = %141, %138, %108, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %148 = load i32, ptr %14, align 4
  switch i32 %148, label %153 [
    i32 0, label %149
  ]

149:                                              ; preds = %147
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = add i32 %151, 1
  store i32 %152, ptr %13, align 4, !tbaa !9
  br label %49, !llvm.loop !20

153:                                              ; preds = %147, %70, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  %154 = load i32, ptr %14, align 4
  switch i32 %154, label %433 [
    i32 2, label %155
  ]

155:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  br label %156

156:                                              ; preds = %155
  %157 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %158 = getelementptr inbounds %struct.jc_test_fixture, ptr %157, i32 0, i32 11
  %159 = load i32, ptr %158, align 8
  %160 = and i32 %159, -16776961
  %161 = or i32 %160, 610816
  store i32 %161, ptr %158, align 8
  %162 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %163 = getelementptr inbounds %struct.jc_test_fixture, ptr %162, i32 0, i32 4
  store ptr @.str.3, ptr %163, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = load ptr, ptr %8, align 8, !tbaa !5
  %166 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %164, ptr noundef %165, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %20)
  store i32 %166, ptr %22, align 4, !tbaa !9
  %167 = 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) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef @.str.46, ptr noundef @.str.410, ptr noundef null)
  %168 = icmp eq i32 %167, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br i1 %168, label %169, label %170

169:                                              ; preds = %156
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %432

170:                                              ; preds = %156
  br label %171

171:                                              ; preds = %170
  br label %172

172:                                              ; preds = %171
  br label %173

173:                                              ; preds = %172
  %174 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %175 = getelementptr inbounds %struct.jc_test_fixture, ptr %174, i32 0, i32 11
  %176 = load i32, ptr %175, align 8
  %177 = and i32 %176, -16776961
  %178 = or i32 %177, 611072
  store i32 %178, ptr %175, align 8
  %179 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %180 = getelementptr inbounds %struct.jc_test_fixture, ptr %179, i32 0, i32 4
  store ptr @.str.3, ptr %180, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %181 = load ptr, ptr %20, align 8, !tbaa !5
  %182 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %181, ptr noundef @.str.253, ptr noundef @.str.254)
  %183 = icmp eq i32 %182, 0
  br i1 %183, label %184, label %185

184:                                              ; preds = %173
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %432

185:                                              ; preds = %173
  br label %186

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = load ptr, ptr %20, align 8, !tbaa !5
  %190 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef %188, ptr noundef %189)
  store ptr %190, ptr %23, align 8, !tbaa !5
  br label %191

191:                                              ; preds = %187
  %192 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %193 = getelementptr inbounds %struct.jc_test_fixture, ptr %192, i32 0, i32 11
  %194 = load i32, ptr %193, align 8
  %195 = and i32 %194, -16776961
  %196 = or i32 %195, 611584
  store i32 %196, ptr %193, align 8
  %197 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %198 = getelementptr inbounds %struct.jc_test_fixture, ptr %197, i32 0, i32 4
  store ptr @.str.3, ptr %198, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %199 = load ptr, ptr %23, align 8, !tbaa !5
  %200 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %199, ptr noundef @.str.255, ptr noundef @.str.256)
  %201 = icmp eq i32 %200, 0
  br i1 %201, label %202, label %203

202:                                              ; preds = %191
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %431

203:                                              ; preds = %191
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  br label %206

206:                                              ; preds = %205
  %207 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %208 = getelementptr inbounds %struct.jc_test_fixture, ptr %207, i32 0, i32 11
  %209 = load i32, ptr %208, align 8
  %210 = and i32 %209, -16776961
  %211 = or i32 %210, 615424
  store i32 %211, ptr %208, align 8
  %212 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %213 = getelementptr inbounds %struct.jc_test_fixture, ptr %212, i32 0, i32 4
  store ptr @.str.3, ptr %213, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = load ptr, ptr %20, align 8, !tbaa !5
  %219 = load ptr, ptr %23, align 8, !tbaa !5
  %220 = call i32 @Longtail_CreateVersionIndex(ptr noundef %214, ptr noundef %215, ptr noundef %216, ptr noundef %217, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.409, ptr noundef %218, ptr noundef %219, i32 noundef 16, i32 noundef 0, ptr noundef %24)
  store i32 %220, ptr %26, align 4, !tbaa !9
  %221 = 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.411, ptr noundef null)
  %222 = icmp eq i32 %221, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br i1 %222, label %223, label %224

223:                                              ; preds = %206
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %430

224:                                              ; preds = %206
  br label %225

225:                                              ; preds = %224
  br label %226

226:                                              ; preds = %225
  br label %227

227:                                              ; preds = %226
  %228 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %229 = getelementptr inbounds %struct.jc_test_fixture, ptr %228, i32 0, i32 11
  %230 = load i32, ptr %229, align 8
  %231 = and i32 %230, -16776961
  %232 = or i32 %231, 615680
  store i32 %232, ptr %229, align 8
  %233 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %234 = getelementptr inbounds %struct.jc_test_fixture, ptr %233, i32 0, i32 4
  store ptr @.str.3, ptr %234, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %235 = load ptr, ptr %24, align 8, !tbaa !5
  %236 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %235, ptr noundef @.str.259, ptr noundef @.str.260)
  %237 = icmp eq i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %227
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %430

239:                                              ; preds = %227
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  %242 = load ptr, ptr %23, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %242)
  store ptr null, ptr %23, align 8, !tbaa !5
  %243 = load ptr, ptr %20, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %243)
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %244 = load ptr, ptr %10, align 8, !tbaa !5
  %245 = load ptr, ptr %24, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %245, i32 0, i32 4
  %247 = load ptr, ptr %246, align 8, !tbaa !22
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = load ptr, ptr %24, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %249, i32 0, i32 12
  %251 = load ptr, ptr %250, align 8, !tbaa !24
  %252 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %244, i32 noundef %248, ptr noundef %251, i32 noundef 0)
  store ptr %252, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  br label %253

253:                                              ; preds = %241
  %254 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %255 = getelementptr inbounds %struct.jc_test_fixture, ptr %254, i32 0, i32 11
  %256 = load i32, ptr %255, align 8
  %257 = and i32 %256, -16776961
  %258 = or i32 %257, 619520
  store i32 %258, ptr %255, align 8
  %259 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %260 = getelementptr inbounds %struct.jc_test_fixture, ptr %259, i32 0, i32 4
  store ptr @.str.3, ptr %260, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = load ptr, ptr %27, align 8, !tbaa !5
  %263 = load ptr, ptr %24, align 8, !tbaa !5
  %264 = call i32 @Longtail_CreateMissingContent(ptr noundef %261, ptr noundef %262, ptr noundef %263, i32 noundef 32, i32 noundef 3, ptr noundef %28)
  store i32 %264, ptr %30, align 4, !tbaa !9
  %265 = 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) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef @.str.46, ptr noundef @.str.412, ptr noundef null)
  %266 = icmp eq i32 %265, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br i1 %266, label %267, label %268

267:                                              ; preds = %253
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %429

268:                                              ; preds = %253
  br label %269

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %269
  br label %271

271:                                              ; preds = %270
  %272 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %273 = getelementptr inbounds %struct.jc_test_fixture, ptr %272, i32 0, i32 11
  %274 = load i32, ptr %273, align 8
  %275 = and i32 %274, -16776961
  %276 = or i32 %275, 622336
  store i32 %276, ptr %273, align 8
  %277 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %278 = getelementptr inbounds %struct.jc_test_fixture, ptr %277, i32 0, i32 4
  store ptr @.str.3, ptr %278, align 8, !tbaa !11
  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
  %279 = load ptr, ptr %3, align 8, !tbaa !5
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = load ptr, ptr %28, align 8, !tbaa !5
  %283 = load ptr, ptr %24, align 8, !tbaa !5
  %284 = call i32 @Longtail_WriteContent(ptr noundef %279, ptr noundef %280, ptr noundef %281, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %282, ptr noundef %283, ptr noundef @.str.409)
  store i32 %284, ptr %32, align 4, !tbaa !9
  %285 = 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.413, ptr noundef null)
  %286 = icmp eq i32 %285, 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 %286, label %287, label %288

287:                                              ; preds = %271
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %429

288:                                              ; preds = %271
  br label %289

289:                                              ; preds = %288
  br label %290

290:                                              ; preds = %289
  %291 = load ptr, ptr %28, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %291)
  store ptr null, ptr %28, align 8, !tbaa !5
  %292 = load ptr, ptr %27, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %292)
  store ptr null, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %293 = load ptr, ptr %10, align 8, !tbaa !5
  %294 = load ptr, ptr %24, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %294, i32 0, i32 4
  %296 = load ptr, ptr %295, align 8, !tbaa !22
  %297 = load i32, ptr %296, align 4, !tbaa !9
  %298 = load ptr, ptr %24, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %298, i32 0, i32 12
  %300 = load ptr, ptr %299, align 8, !tbaa !24
  %301 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %293, i32 noundef %297, ptr noundef %300, i32 noundef 0)
  store ptr %301, ptr %33, align 8, !tbaa !5
  br label %302

302:                                              ; preds = %290
  %303 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %304 = getelementptr inbounds %struct.jc_test_fixture, ptr %303, i32 0, i32 11
  %305 = load i32, ptr %304, align 8
  %306 = and i32 %305, -16776961
  %307 = or i32 %306, 624384
  store i32 %307, ptr %304, align 8
  %308 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %309 = getelementptr inbounds %struct.jc_test_fixture, ptr %308, i32 0, i32 4
  store ptr @.str.3, ptr %309, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %310 = load ptr, ptr %24, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %310, i32 0, i32 4
  %312 = load ptr, ptr %311, align 8, !tbaa !22
  %313 = load ptr, ptr %33, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %313, i32 0, i32 3
  %315 = load ptr, ptr %314, align 8, !tbaa !25
  %316 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %312, ptr noundef nonnull align 4 dereferenceable(4) %315, ptr noundef @.str.264, ptr noundef @.str.414)
  %317 = icmp eq i32 %316, 0
  br i1 %317, label %318, label %319

318:                                              ; preds = %302
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %428

319:                                              ; preds = %302
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  store i64 0, ptr %34, align 8, !tbaa !27
  br label %322

322:                                              ; preds = %372, %321
  %323 = load i64, ptr %34, align 8, !tbaa !27
  %324 = load ptr, ptr %24, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %324, i32 0, i32 4
  %326 = load ptr, ptr %325, align 8, !tbaa !22
  %327 = load i32, ptr %326, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = icmp ult i64 %323, %328
  br i1 %329, label %331, label %330

330:                                              ; preds = %322
  store i32 29, ptr %14, align 4
  br label %375

331:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store i64 0, ptr %35, align 8, !tbaa !27
  br label %332

332:                                              ; preds = %367, %331
  %333 = load ptr, ptr %24, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %333, i32 0, i32 12
  %335 = load ptr, ptr %334, align 8, !tbaa !24
  %336 = load i64, ptr %34, align 8, !tbaa !27
  %337 = getelementptr inbounds i64, ptr %335, i64 %336
  %338 = load i64, ptr %337, align 8, !tbaa !27
  %339 = load ptr, ptr %33, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %339, i32 0, i32 5
  %341 = load ptr, ptr %340, align 8, !tbaa !28
  %342 = load i64, ptr %35, align 8, !tbaa !27
  %343 = getelementptr inbounds i64, ptr %341, i64 %342
  %344 = load i64, ptr %343, align 8, !tbaa !27
  %345 = icmp ne i64 %338, %344
  br i1 %345, label %346, label %368

346:                                              ; preds = %332
  %347 = load i64, ptr %35, align 8, !tbaa !27
  %348 = add i64 %347, 1
  store i64 %348, ptr %35, align 8, !tbaa !27
  br label %349

349:                                              ; preds = %346
  %350 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %351 = getelementptr inbounds %struct.jc_test_fixture, ptr %350, i32 0, i32 11
  %352 = load i32, ptr %351, align 8
  %353 = and i32 %352, -16776961
  %354 = or i32 %353, 626176
  store i32 %354, ptr %351, align 8
  %355 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %356 = getelementptr inbounds %struct.jc_test_fixture, ptr %355, i32 0, i32 4
  store ptr @.str.3, ptr %356, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %357 = load i64, ptr %35, align 8, !tbaa !27
  %358 = load ptr, ptr %33, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %358, i32 0, i32 3
  %360 = load ptr, ptr %359, align 8, !tbaa !25
  %361 = load i32, ptr %360, align 4, !tbaa !9
  %362 = call noundef i32 @_Z14jc_test_cmp_NEImjEiT_T0_PKcS3_(i64 noundef %357, i32 noundef %361, ptr noundef @.str.415, ptr noundef @.str.414)
  %363 = icmp eq i32 %362, 0
  br i1 %363, label %364, label %365

364:                                              ; preds = %349
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %14, align 4
  br label %369

365:                                              ; preds = %349
  br label %366

366:                                              ; preds = %365
  br label %367

367:                                              ; preds = %366
  br label %332, !llvm.loop !29

368:                                              ; preds = %332
  store i32 0, ptr %14, align 4
  br label %369

369:                                              ; preds = %368, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  %370 = load i32, ptr %14, align 4
  switch i32 %370, label %375 [
    i32 0, label %371
  ]

371:                                              ; preds = %369
  br label %372

372:                                              ; preds = %371
  %373 = load i64, ptr %34, align 8, !tbaa !27
  %374 = add i64 %373, 1
  store i64 %374, ptr %34, align 8, !tbaa !27
  br label %322, !llvm.loop !30

375:                                              ; preds = %369, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  %376 = load i32, ptr %14, align 4
  switch i32 %376, label %428 [
    i32 29, label %377
  ]

377:                                              ; preds = %375
  %378 = load ptr, ptr %33, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %378)
  %379 = load ptr, ptr %24, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %379)
  %380 = load ptr, ptr %10, align 8, !tbaa !5
  %381 = icmp ne ptr %380, null
  br i1 %381, label %382, label %385

382:                                              ; preds = %377
  %383 = load ptr, ptr %10, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %383, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %384)
  br label %385

385:                                              ; preds = %382, %377
  %386 = load ptr, ptr %9, align 8, !tbaa !5
  %387 = icmp ne ptr %386, null
  br i1 %387, label %388, label %391

388:                                              ; preds = %385
  %389 = load ptr, ptr %9, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.Longtail_BlockStoreAPI, ptr %389, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %390)
  br label %391

391:                                              ; preds = %388, %385
  %392 = load ptr, ptr %8, align 8, !tbaa !5
  %393 = icmp ne ptr %392, null
  br i1 %393, label %394, label %397

394:                                              ; preds = %391
  %395 = load ptr, ptr %8, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %395, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %396)
  br label %397

397:                                              ; preds = %394, %391
  %398 = load ptr, ptr %7, align 8, !tbaa !5
  %399 = icmp ne ptr %398, null
  br i1 %399, label %400, label %403

400:                                              ; preds = %397
  %401 = load ptr, ptr %7, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.Longtail_ChunkerAPI, ptr %401, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %402)
  br label %403

403:                                              ; preds = %400, %397
  %404 = load ptr, ptr %6, align 8, !tbaa !5
  %405 = icmp ne ptr %404, null
  br i1 %405, label %406, label %409

406:                                              ; preds = %403
  %407 = load ptr, ptr %6, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %407, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %408)
  br label %409

409:                                              ; preds = %406, %403
  %410 = load ptr, ptr %5, align 8, !tbaa !5
  %411 = icmp ne ptr %410, null
  br i1 %411, label %412, label %415

412:                                              ; preds = %409
  %413 = load ptr, ptr %5, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.Longtail_CompressionRegistryAPI, ptr %413, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %414)
  br label %415

415:                                              ; preds = %412, %409
  %416 = load ptr, ptr %4, align 8, !tbaa !5
  %417 = icmp ne ptr %416, null
  br i1 %417, label %418, label %421

418:                                              ; preds = %415
  %419 = load ptr, ptr %4, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %419, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %420)
  br label %421

421:                                              ; preds = %418, %415
  %422 = load ptr, ptr %3, align 8, !tbaa !5
  %423 = icmp ne ptr %422, null
  br i1 %423, label %424, label %427

424:                                              ; preds = %421
  %425 = load ptr, ptr %3, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %425, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %426)
  br label %427

427:                                              ; preds = %424, %421
  store i32 0, ptr %14, align 4
  br label %428

428:                                              ; preds = %427, %375, %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %429

429:                                              ; preds = %428, %287, %267
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %430

430:                                              ; preds = %429, %238, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %431

431:                                              ; preds = %430, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %432

432:                                              ; preds = %431, %184, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %433

433:                                              ; preds = %432, %153
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, 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
  %434 = load i32, ptr %14, align 4
  switch i32 %434, label %436 [
    i32 0, label %435
    i32 1, label %435
  ]

435:                                              ; preds = %433, %433
  ret void

436:                                              ; preds = %433
  unreachable
}

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

declare i32 @Longtail_WriteContent(ptr noundef, ptr noundef, 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_NEImjEiT_T0_PKcS3_(i64 noundef, i32 noundef, ptr noundef, ptr noundef) #4

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 = { 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, !6, i64 32}
!12 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !13, 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}
!13 = !{!"_ZTS13jc_test_stats", !10, i64 0, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 12, !14, i64 16}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTS19Longtail_StorageAPI", !17, 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}
!17 = !{!"_ZTS12Longtail_API", !6, i64 0}
!18 = !{!16, !6, i64 40}
!19 = !{!16, !6, i64 72}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !6, i64 32}
!23 = !{!"_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}
!24 = !{!23, !6, i64 96}
!25 = !{!26, !6, i64 24}
!26 = !{!"_ZTS19Longtail_StoreIndex", !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}
!27 = !{!14, !14, i64 0}
!28 = !{!26, !6, i64 40}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}


; 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.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.264 = external hidden unnamed_addr constant [22 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
@__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [5 x ptr], align 16
@__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [5 x ptr], align 16
@.str.406 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.407 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.408 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.409 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.410 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.411 = external hidden unnamed_addr constant [146 x i8], align 1
@.str.412 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.413 = external hidden unnamed_addr constant [104 x i8], align 1
@.str.414 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.415 = external hidden unnamed_addr constant [3 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 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

declare void @Longtail_DisposeAPI(ptr noundef) local_unnamed_addr #2

declare ptr @Longtail_CreateBlake3HashAPI() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, ptr noundef) local_unnamed_addr #4 align 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 #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 #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 #4

declare ptr @Longtail_CreateInMemStorageAPI() local_unnamed_addr #2

declare ptr @Longtail_CreateFullCompressionRegistry() local_unnamed_addr #2

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

declare ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef, ptr noundef) local_unnamed_addr #2

; 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
define dso_local void @_ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %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 = tail call ptr @Longtail_CreateInMemStorageAPI()
  %19 = tail call ptr @Longtail_CreateInMemStorageAPI()
  %20 = tail call ptr @Longtail_CreateFullCompressionRegistry()
  %21 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %22 = tail call ptr @Longtail_CreateHPCDCChunkerAPI()
  %23 = tail call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  %24 = tail call ptr @Longtail_CreateFSBlockStoreAPI(ptr noundef %23, ptr noundef %19, ptr noundef nonnull @.str.270, ptr noundef null, i32 noundef 0)
  %25 = tail call ptr @Longtail_CreateCompressBlockStoreAPI(ptr noundef %24, ptr noundef %20)
  %26 = getelementptr inbounds i8, ptr %18, i64 32
  %27 = getelementptr inbounds i8, ptr %18, i64 40
  %28 = getelementptr inbounds i8, ptr %18, i64 72
  br label %29

29:                                               ; preds = %1, %83
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %83 ]
  %30 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %31 = getelementptr inbounds i8, ptr %30, i64 96
  %32 = load i32, ptr %31, align 8
  %33 = and i32 %32, -16776961
  %34 = or disjoint i32 %33, 608256
  store i32 %34, ptr %31, align 8
  %35 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  store ptr @.str.3, ptr %36, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %37 = getelementptr inbounds [5 x ptr], ptr @__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_FILENAMES, i64 0, i64 %indvars.iv
  %38 = load ptr, ptr %37, align 8, !tbaa !13
  %39 = call noundef i32 @_ZL16CreateParentPathP19Longtail_StorageAPIPKc(ptr noundef %18, ptr noundef %38)
  %40 = call noundef i32 @_Z14jc_test_cmp_NEIiiEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %39, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.406)
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %43

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

43:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %44 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %45 = getelementptr inbounds i8, ptr %44, i64 96
  %46 = load i32, ptr %45, align 8
  %47 = and i32 %46, -16776961
  %48 = or disjoint i32 %47, 608768
  store i32 %48, ptr %45, align 8
  %49 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %50 = getelementptr inbounds i8, ptr %49, i64 32
  store ptr @.str.3, ptr %50, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %51 = load ptr, ptr %26, align 8, !tbaa !15
  %52 = call noundef i32 %51(ptr noundef %18, ptr noundef %38, i64 noundef 0, ptr noundef nonnull %2)
  store i32 %52, ptr %4, align 4, !tbaa !14
  %53 = 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) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.407, ptr noundef null)
  %54 = icmp eq i32 %53, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br i1 %54, label %.critedge, label %55

55:                                               ; preds = %43
  %56 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %57 = getelementptr inbounds i8, ptr %56, i64 96
  %58 = load i32, ptr %57, align 8
  %59 = and i32 %58, -16776961
  %60 = or disjoint i32 %59, 609024
  store i32 %60, ptr %57, align 8
  %61 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %62 = getelementptr inbounds i8, ptr %61, i64 32
  store ptr @.str.3, ptr %62, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %63 = load ptr, ptr %2, align 8, !tbaa !13
  %64 = call noundef i32 @_Z14jc_test_cmp_NEIP28Longtail_StorageAPI_OpenFileS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %63, ptr noundef nonnull @.str.388, ptr noundef nonnull @.str.389)
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %.critedge, label %66

66:                                               ; preds = %55
  %67 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %68 = getelementptr inbounds i8, ptr %67, i64 96
  %69 = load i32, ptr %68, align 8
  %70 = and i32 %69, -16776961
  %71 = or disjoint i32 %70, 609280
  store i32 %71, ptr %68, align 8
  %72 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %73 = getelementptr inbounds i8, ptr %72, i64 32
  store ptr @.str.3, ptr %73, 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 !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %74 = load ptr, ptr %27, align 8, !tbaa !18
  %75 = load ptr, ptr %2, align 8, !tbaa !13
  %76 = getelementptr inbounds [5 x ptr], ptr @__const._ZN40Longtail_Longtail_WriteContent__TestCase8TestBodyEv.TEST_STRINGS, i64 0, i64 %indvars.iv
  %77 = load ptr, ptr %76, align 8, !tbaa !13
  %78 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %77) #6
  %79 = add i64 %78, 1
  %80 = call noundef i32 %74(ptr noundef nonnull %18, ptr noundef %75, i64 noundef 0, i64 noundef %79, ptr noundef %77)
  store i32 %80, ptr %6, align 4, !tbaa !14
  %81 = 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.408, ptr noundef null)
  %82 = icmp eq i32 %81, 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 %82, label %.critedge, label %83

83:                                               ; preds = %66
  %84 = load ptr, ptr %28, align 8, !tbaa !19
  %85 = load ptr, ptr %2, align 8, !tbaa !13
  call void %84(ptr noundef nonnull %18, ptr noundef %85)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, 5
  br i1 %exitcond, label %.critedge89, label %29, !llvm.loop !20

.critedge:                                        ; preds = %66, %55, %43
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %258

.critedge89:                                      ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %86 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %87 = getelementptr inbounds i8, ptr %86, i64 96
  %88 = load i32, ptr %87, align 8
  %89 = and i32 %88, -16776961
  %90 = or disjoint i32 %89, 610816
  store i32 %90, ptr %87, align 8
  %91 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %92 = getelementptr inbounds i8, ptr %91, i64 32
  store ptr @.str.3, ptr %92, 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 !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %93 = call i32 @Longtail_GetFilesRecursively2(ptr noundef nonnull %18, ptr noundef %23, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.409, ptr noundef nonnull %7)
  store i32 %93, ptr %9, align 4, !tbaa !14
  %94 = 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.410, ptr noundef null)
  %95 = icmp eq i32 %94, 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 %95, label %96, label %97

96:                                               ; preds = %.critedge89
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %257

97:                                               ; preds = %.critedge89
  %98 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %99 = getelementptr inbounds i8, ptr %98, i64 96
  %100 = load i32, ptr %99, align 8
  %101 = and i32 %100, -16776961
  %102 = or disjoint i32 %101, 611072
  store i32 %102, ptr %99, align 8
  %103 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %104 = getelementptr inbounds i8, ptr %103, i64 32
  store ptr @.str.3, ptr %104, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %105 = load ptr, ptr %7, align 8, !tbaa !13
  %106 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %105, ptr noundef nonnull @.str.253, ptr noundef nonnull @.str.254)
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %97
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %257

109:                                              ; preds = %97
  %110 = load ptr, ptr %7, align 8, !tbaa !13
  %111 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef nonnull %18, ptr noundef %110)
  %112 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %113 = getelementptr inbounds i8, ptr %112, i64 96
  %114 = load i32, ptr %113, align 8
  %115 = and i32 %114, -16776961
  %116 = or disjoint i32 %115, 611584
  store i32 %116, ptr %113, align 8
  %117 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %118 = getelementptr inbounds i8, ptr %117, i64 32
  store ptr @.str.3, ptr %118, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %119 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %111, ptr noundef nonnull @.str.255, ptr noundef nonnull @.str.256)
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %122

121:                                              ; preds = %109
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %257

122:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %123 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %124 = getelementptr inbounds i8, ptr %123, i64 96
  %125 = load i32, ptr %124, align 8
  %126 = and i32 %125, -16776961
  %127 = or disjoint i32 %126, 615424
  store i32 %127, ptr %124, align 8
  %128 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %129 = getelementptr inbounds i8, ptr %128, i64 32
  store ptr @.str.3, ptr %129, 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 !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %130 = load ptr, ptr %7, align 8, !tbaa !13
  %131 = call i32 @Longtail_CreateVersionIndex(ptr noundef nonnull %18, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.409, ptr noundef %130, ptr noundef %111, i32 noundef 16, i32 noundef 0, ptr noundef nonnull %10)
  store i32 %131, ptr %12, align 4, !tbaa !14
  %132 = 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.411, ptr noundef null)
  %133 = icmp eq i32 %132, 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 %133, label %134, label %135

134:                                              ; preds = %122
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %256

135:                                              ; preds = %122
  %136 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %137 = getelementptr inbounds i8, ptr %136, i64 96
  %138 = load i32, ptr %137, align 8
  %139 = and i32 %138, -16776961
  %140 = or disjoint i32 %139, 615680
  store i32 %140, ptr %137, align 8
  %141 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %142 = getelementptr inbounds i8, ptr %141, i64 32
  store ptr @.str.3, ptr %142, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %143 = load ptr, ptr %10, align 8, !tbaa !13
  %144 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %143, ptr noundef nonnull @.str.259, ptr noundef nonnull @.str.260)
  %145 = icmp eq i32 %144, 0
  br i1 %145, label %146, label %147

146:                                              ; preds = %135
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %256

147:                                              ; preds = %135
  call void @Longtail_Free(ptr noundef %111)
  %148 = load ptr, ptr %7, align 8, !tbaa !13
  call void @Longtail_Free(ptr noundef %148)
  store ptr null, ptr %7, align 8, !tbaa !13
  %149 = load ptr, ptr %10, align 8, !tbaa !13
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  %151 = load ptr, ptr %150, align 8, !tbaa !22
  %152 = load i32, ptr %151, align 4, !tbaa !14
  %153 = getelementptr inbounds i8, ptr %149, i64 96
  %154 = load ptr, ptr %153, align 8, !tbaa !24
  %155 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %25, i32 noundef %152, ptr noundef %154, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %156 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %157 = getelementptr inbounds i8, ptr %156, i64 96
  %158 = load i32, ptr %157, align 8
  %159 = and i32 %158, -16776961
  %160 = or disjoint i32 %159, 619520
  store i32 %160, ptr %157, align 8
  %161 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %162 = getelementptr inbounds i8, ptr %161, i64 32
  store ptr @.str.3, ptr %162, 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 !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  %163 = load ptr, ptr %10, align 8, !tbaa !13
  %164 = call i32 @Longtail_CreateMissingContent(ptr noundef %21, ptr noundef %155, ptr noundef %163, i32 noundef 32, i32 noundef 3, ptr noundef nonnull %13)
  store i32 %164, ptr %15, align 4, !tbaa !14
  %165 = 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.412, ptr noundef null)
  %166 = icmp eq i32 %165, 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 %166, label %167, label %168

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

168:                                              ; preds = %147
  %169 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %170 = getelementptr inbounds i8, ptr %169, i64 96
  %171 = load i32, ptr %170, align 8
  %172 = and i32 %171, -16776961
  %173 = or disjoint i32 %172, 622336
  store i32 %173, ptr %170, align 8
  %174 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %175 = getelementptr inbounds i8, ptr %174, i64 32
  store ptr @.str.3, ptr %175, 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 !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  %176 = load ptr, ptr %13, align 8, !tbaa !13
  %177 = load ptr, ptr %10, align 8, !tbaa !13
  %178 = call i32 @Longtail_WriteContent(ptr noundef nonnull %18, ptr noundef %25, ptr noundef %23, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %176, ptr noundef %177, ptr noundef nonnull @.str.409)
  store i32 %178, ptr %17, align 4, !tbaa !14
  %179 = 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.413, ptr noundef null)
  %180 = icmp eq i32 %179, 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 %180, label %181, label %182

181:                                              ; preds = %168
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %255

182:                                              ; preds = %168
  %183 = load ptr, ptr %13, align 8, !tbaa !13
  call void @Longtail_Free(ptr noundef %183)
  store ptr null, ptr %13, align 8, !tbaa !13
  call void @Longtail_Free(ptr noundef %155)
  %184 = load ptr, ptr %10, align 8, !tbaa !13
  %185 = getelementptr inbounds i8, ptr %184, i64 32
  %186 = load ptr, ptr %185, align 8, !tbaa !22
  %187 = load i32, ptr %186, align 4, !tbaa !14
  %188 = getelementptr inbounds i8, ptr %184, i64 96
  %189 = load ptr, ptr %188, align 8, !tbaa !24
  %190 = call noundef ptr @_ZL22SyncGetExistingContentP22Longtail_BlockStoreAPIjPKmj(ptr noundef %25, i32 noundef %187, ptr noundef %189, i32 noundef 0)
  %191 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %192 = getelementptr inbounds i8, ptr %191, i64 96
  %193 = load i32, ptr %192, align 8
  %194 = and i32 %193, -16776961
  %195 = or disjoint i32 %194, 624384
  store i32 %195, ptr %192, align 8
  %196 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %197 = getelementptr inbounds i8, ptr %196, i64 32
  store ptr @.str.3, ptr %197, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %198 = load ptr, ptr %10, align 8, !tbaa !13
  %199 = getelementptr inbounds i8, ptr %198, i64 32
  %200 = load ptr, ptr %199, align 8, !tbaa !22
  %201 = getelementptr inbounds i8, ptr %190, i64 24
  %202 = load ptr, ptr %201, align 8, !tbaa !25
  %203 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %200, ptr noundef nonnull align 4 dereferenceable(4) %202, ptr noundef nonnull @.str.264, ptr noundef nonnull @.str.414)
  %204 = icmp eq i32 %203, 0
  br i1 %204, label %210, label %.preheader94

.preheader94:                                     ; preds = %182
  %205 = load ptr, ptr %10, align 8, !tbaa !13
  %206 = getelementptr inbounds i8, ptr %205, i64 32
  %207 = load ptr, ptr %206, align 8, !tbaa !22
  %208 = load i32, ptr %207, align 4, !tbaa !14
  %.not7996.not = icmp eq i32 %208, 0
  br i1 %.not7996.not, label %.critedge93, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader94
  %209 = getelementptr inbounds i8, ptr %190, i64 40
  br label %.preheader

210:                                              ; preds = %182
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %255

.preheader:                                       ; preds = %.preheader.lr.ph, %.critedge91
  %.06897 = phi i64 [ 0, %.preheader.lr.ph ], [ %233, %.critedge91 ]
  br label %211

211:                                              ; preds = %.preheader, %220
  %.0 = phi i64 [ %221, %220 ], [ 0, %.preheader ]
  %212 = load ptr, ptr %10, align 8, !tbaa !13
  %213 = getelementptr inbounds i8, ptr %212, i64 96
  %214 = load ptr, ptr %213, align 8, !tbaa !24
  %215 = getelementptr inbounds i64, ptr %214, i64 %.06897
  %216 = load i64, ptr %215, align 8, !tbaa !27
  %217 = load ptr, ptr %209, align 8, !tbaa !28
  %218 = getelementptr inbounds i64, ptr %217, i64 %.0
  %219 = load i64, ptr %218, align 8, !tbaa !27
  %.not = icmp eq i64 %216, %219
  br i1 %.not, label %.critedge91, label %220

220:                                              ; preds = %211
  %221 = add i64 %.0, 1
  %222 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %223 = getelementptr inbounds i8, ptr %222, i64 96
  %224 = load i32, ptr %223, align 8
  %225 = and i32 %224, -16776961
  %226 = or disjoint i32 %225, 626176
  store i32 %226, ptr %223, align 8
  %227 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %228 = getelementptr inbounds i8, ptr %227, i64 32
  store ptr @.str.3, ptr %228, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %229 = load ptr, ptr %201, align 8, !tbaa !25
  %230 = load i32, ptr %229, align 4, !tbaa !14
  %231 = call noundef i32 @_Z14jc_test_cmp_NEImjEiT_T0_PKcS3_(i64 noundef %221, i32 noundef %230, ptr noundef nonnull @.str.415, ptr noundef nonnull @.str.414)
  %232 = icmp eq i32 %231, 0
  br i1 %232, label %238, label %211, !llvm.loop !29

.critedge91:                                      ; preds = %211
  %233 = add nuw nsw i64 %.06897, 1
  %234 = getelementptr inbounds i8, ptr %212, i64 32
  %235 = load ptr, ptr %234, align 8, !tbaa !22
  %236 = load i32, ptr %235, align 4, !tbaa !14
  %237 = zext i32 %236 to i64
  %.not79 = icmp ult i64 %233, %237
  br i1 %.not79, label %.preheader, label %.critedge93, !llvm.loop !30

238:                                              ; preds = %220
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %255

.critedge93:                                      ; preds = %.critedge91, %.preheader94
  call void @Longtail_Free(ptr noundef nonnull %190)
  %239 = load ptr, ptr %10, align 8, !tbaa !13
  call void @Longtail_Free(ptr noundef %239)
  %.not80 = icmp eq ptr %25, null
  br i1 %.not80, label %241, label %240

240:                                              ; preds = %.critedge93
  call void @Longtail_DisposeAPI(ptr noundef nonnull %25)
  br label %241

241:                                              ; preds = %240, %.critedge93
  %.not81 = icmp eq ptr %24, null
  br i1 %.not81, label %243, label %242

242:                                              ; preds = %241
  call void @Longtail_DisposeAPI(ptr noundef nonnull %24)
  br label %243

243:                                              ; preds = %242, %241
  %.not82 = icmp eq ptr %23, null
  br i1 %.not82, label %245, label %244

244:                                              ; preds = %243
  call void @Longtail_DisposeAPI(ptr noundef nonnull %23)
  br label %245

245:                                              ; preds = %244, %243
  %.not83 = icmp eq ptr %22, null
  br i1 %.not83, label %247, label %246

246:                                              ; preds = %245
  call void @Longtail_DisposeAPI(ptr noundef nonnull %22)
  br label %247

247:                                              ; preds = %246, %245
  %.not84 = icmp eq ptr %21, null
  br i1 %.not84, label %249, label %248

248:                                              ; preds = %247
  call void @Longtail_DisposeAPI(ptr noundef nonnull %21)
  br label %249

249:                                              ; preds = %248, %247
  %.not85 = icmp eq ptr %20, null
  br i1 %.not85, label %251, label %250

250:                                              ; preds = %249
  call void @Longtail_DisposeAPI(ptr noundef nonnull %20)
  br label %251

251:                                              ; preds = %250, %249
  %.not86 = icmp eq ptr %19, null
  br i1 %.not86, label %253, label %252

252:                                              ; preds = %251
  call void @Longtail_DisposeAPI(ptr noundef nonnull %19)
  br label %253

253:                                              ; preds = %252, %251
  %.not87 = icmp eq ptr %18, null
  br i1 %.not87, label %255, label %254

254:                                              ; preds = %253
  call void @Longtail_DisposeAPI(ptr noundef nonnull %18)
  br label %255

255:                                              ; preds = %238, %210, %254, %253, %181, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %256

256:                                              ; preds = %255, %146, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %257

257:                                              ; preds = %121, %256, %108, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %258

258:                                              ; preds = %42, %.critedge, %257
  ret void
}

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

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

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 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, !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 = !{!7, !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!16, !7, i64 32}
!16 = !{!"_ZTS19Longtail_StorageAPI", !17, 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, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !7, i64 208}
!17 = !{!"_ZTS12Longtail_API", !7, i64 0}
!18 = !{!16, !7, i64 40}
!19 = !{!16, !7, i64 72}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !7, i64 32}
!23 = !{!"_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}
!24 = !{!23, !7, i64 96}
!25 = !{!26, !7, i64 24}
!26 = !{!"_ZTS19Longtail_StoreIndex", !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}
!27 = !{!12, !12, i64 0}
!28 = !{!26, !7, i64 40}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}


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