; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN42Longtail_VersionIndexDirectories (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_HashAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_ChunkerAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_JobAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [1 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.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.439 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.441 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.442 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.443 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.444 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.445 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.446 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.447 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.448 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.449 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.450 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.451 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.452 = external hidden unnamed_addr constant [35 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

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

; 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
define dso_local void @_ZN42Longtail_VersionIndexDirectories__TestCase8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(8) %0) unnamed_addr #3 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 i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %24 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %25 = call ptr @Longtail_CreateInMemStorageAPI()
  store ptr %25, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %26 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %26, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %27 = call ptr @Longtail_CreateHPCDCChunkerAPI()
  store ptr %27, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %28 = call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  store ptr %28, ptr %6, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %1
  %30 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %31 = getelementptr inbounds %struct.jc_test_fixture, ptr %30, i32 0, i32 11
  %32 = load i32, ptr %31, align 8
  %33 = and i32 %32, -16776961
  %34 = or i32 %33, 666112
  store i32 %34, ptr %31, align 8
  %35 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %36 = getelementptr inbounds %struct.jc_test_fixture, ptr %35, i32 0, i32 4
  store ptr @.str.3, ptr %36, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 1, ptr %7, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef %37, ptr noundef @.str.439, i32 noundef 2)
  store i32 %38, ptr %8, align 4, !tbaa !14
  %39 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef @.str.232, ptr noundef @.str.440)
  %40 = icmp eq i32 %39, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br i1 %40, label %41, label %42

41:                                               ; preds = %29
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %229

42:                                               ; preds = %29
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %47 = getelementptr inbounds %struct.jc_test_fixture, ptr %46, i32 0, i32 11
  %48 = load i32, ptr %47, align 8
  %49 = and i32 %48, -16776961
  %50 = or i32 %49, 666368
  store i32 %50, ptr %47, align 8
  %51 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %52 = getelementptr inbounds %struct.jc_test_fixture, ptr %51, i32 0, i32 4
  store ptr @.str.3, ptr %52, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %53, i32 0, i32 10
  %55 = load ptr, ptr %54, align 8, !tbaa !15
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = call noundef i32 %55(ptr noundef %56, ptr noundef @.str.441)
  store i32 %57, ptr %11, align 4, !tbaa !14
  %58 = 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) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef @.str.46, ptr noundef @.str.442, ptr noundef null)
  %59 = icmp eq i32 %58, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br i1 %59, label %60, label %61

60:                                               ; preds = %45
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %229

61:                                               ; preds = %45
  br label %62

62:                                               ; preds = %61
  br label %63

63:                                               ; preds = %62
  br label %64

64:                                               ; preds = %63
  %65 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %66 = getelementptr inbounds %struct.jc_test_fixture, ptr %65, i32 0, i32 11
  %67 = load i32, ptr %66, align 8
  %68 = and i32 %67, -16776961
  %69 = or i32 %68, 666624
  store i32 %69, ptr %66, align 8
  %70 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %71 = getelementptr inbounds %struct.jc_test_fixture, ptr %70, i32 0, i32 4
  store ptr @.str.3, ptr %71, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 1, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef %72, ptr noundef @.str.443, i32 noundef 3)
  store i32 %73, ptr %13, align 4, !tbaa !14
  %74 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef @.str.232, ptr noundef @.str.444)
  %75 = icmp eq i32 %74, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br i1 %75, label %76, label %77

76:                                               ; preds = %64
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %229

77:                                               ; preds = %64
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79
  %81 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %82 = getelementptr inbounds %struct.jc_test_fixture, ptr %81, i32 0, i32 11
  %83 = load i32, ptr %82, align 8
  %84 = and i32 %83, -16776961
  %85 = or i32 %84, 666880
  store i32 %85, ptr %82, align 8
  %86 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %87 = getelementptr inbounds %struct.jc_test_fixture, ptr %86, i32 0, i32 4
  store ptr @.str.3, ptr %87, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 1, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = call noundef i32 @_ZL8MakePathP19Longtail_StorageAPIPKc(ptr noundef %88, ptr noundef @.str.445)
  store i32 %89, ptr %15, align 4, !tbaa !14
  %90 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef @.str.232, ptr noundef @.str.446)
  %91 = icmp eq i32 %90, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br i1 %91, label %92, label %93

92:                                               ; preds = %80
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %229

93:                                               ; preds = %80
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  br label %96

96:                                               ; preds = %95
  %97 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %98 = getelementptr inbounds %struct.jc_test_fixture, ptr %97, i32 0, i32 11
  %99 = load i32, ptr %98, align 8
  %100 = and i32 %99, -16776961
  %101 = or i32 %100, 667648
  store i32 %101, ptr %98, align 8
  %102 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %103 = getelementptr inbounds %struct.jc_test_fixture, ptr %102, i32 0, i32 4
  store ptr @.str.3, ptr %103, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %104, ptr noundef %105, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.8, ptr noundef %16)
  store i32 %106, ptr %18, align 4, !tbaa !14
  %107 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef @.str.46, ptr noundef @.str.447, ptr noundef null)
  %108 = icmp eq i32 %107, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br i1 %108, label %109, label %110

109:                                              ; preds = %96
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %228

110:                                              ; preds = %96
  br label %111

111:                                              ; preds = %110
  br label %112

112:                                              ; preds = %111
  br label %113

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

124:                                              ; preds = %113
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %228

125:                                              ; preds = %113
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = load ptr, ptr %16, align 8, !tbaa !5
  %130 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef %128, ptr noundef %129)
  store ptr %130, ptr %19, align 8, !tbaa !5
  br label %131

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

142:                                              ; preds = %131
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %227

143:                                              ; preds = %131
  br label %144

144:                                              ; preds = %143
  br label %145

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

146:                                              ; preds = %145
  %147 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %148 = getelementptr inbounds %struct.jc_test_fixture, ptr %147, i32 0, i32 11
  %149 = load i32, ptr %148, align 8
  %150 = and i32 %149, -16776961
  %151 = or i32 %150, 672512
  store i32 %151, ptr %148, align 8
  %152 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %153 = getelementptr inbounds %struct.jc_test_fixture, ptr %152, i32 0, i32 4
  store ptr @.str.3, ptr %153, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = load ptr, ptr %16, align 8, !tbaa !5
  %159 = load ptr, ptr %19, align 8, !tbaa !5
  %160 = call i32 @Longtail_CreateVersionIndex(ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef %157, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef @.str.8, ptr noundef %158, ptr noundef %159, i32 noundef 16384, i32 noundef 0, ptr noundef %20)
  store i32 %160, ptr %22, align 4, !tbaa !14
  %161 = 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.449, ptr noundef null)
  %162 = icmp eq i32 %161, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br i1 %162, label %163, label %164

163:                                              ; preds = %146
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %226

164:                                              ; preds = %146
  br label %165

165:                                              ; preds = %164
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  %168 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %169 = getelementptr inbounds %struct.jc_test_fixture, ptr %168, i32 0, i32 11
  %170 = load i32, ptr %169, align 8
  %171 = and i32 %170, -16776961
  %172 = or i32 %171, 672768
  store i32 %172, ptr %169, align 8
  %173 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %174 = getelementptr inbounds %struct.jc_test_fixture, ptr %173, i32 0, i32 4
  store ptr @.str.3, ptr %174, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  %175 = load ptr, ptr %20, align 8, !tbaa !5
  %176 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %175, ptr noundef @.str.259, ptr noundef @.str.450)
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %167
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %226

179:                                              ; preds = %167
  br label %180

180:                                              ; preds = %179
  br label %181

181:                                              ; preds = %180
  br label %182

182:                                              ; preds = %181
  %183 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %184 = getelementptr inbounds %struct.jc_test_fixture, ptr %183, i32 0, i32 11
  %185 = load i32, ptr %184, align 8
  %186 = and i32 %185, -16776961
  %187 = or i32 %186, 673024
  store i32 %187, ptr %184, align 8
  %188 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %189 = getelementptr inbounds %struct.jc_test_fixture, ptr %188, i32 0, i32 4
  store ptr @.str.3, ptr %189, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 16, ptr %23, align 4, !tbaa !14
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.Longtail_VersionIndex, ptr %190, i32 0, i32 3
  %192 = load ptr, ptr %191, align 8, !tbaa !18
  %193 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %192, ptr noundef @.str.451, ptr noundef @.str.452)
  %194 = icmp eq i32 %193, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br i1 %194, label %195, label %196

195:                                              ; preds = %182
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %9, align 4
  br label %226

196:                                              ; preds = %182
  br label %197

197:                                              ; preds = %196
  br label %198

198:                                              ; preds = %197
  %199 = load ptr, ptr %19, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %199)
  %200 = load ptr, ptr %20, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %200)
  %201 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %201)
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = icmp ne ptr %202, null
  br i1 %203, label %204, label %207

204:                                              ; preds = %198
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %205, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %206)
  br label %207

207:                                              ; preds = %204, %198
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = icmp ne ptr %208, null
  br i1 %209, label %210, label %213

210:                                              ; preds = %207
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.Longtail_ChunkerAPI, ptr %211, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %212)
  br label %213

213:                                              ; preds = %210, %207
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = icmp ne ptr %214, null
  br i1 %215, label %216, label %219

216:                                              ; preds = %213
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %217, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %218)
  br label %219

219:                                              ; preds = %216, %213
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = icmp ne ptr %220, null
  br i1 %221, label %222, label %225

222:                                              ; preds = %219
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %223, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %224)
  br label %225

225:                                              ; preds = %222, %219
  store i32 0, ptr %9, align 4
  br label %226

226:                                              ; preds = %225, %195, %178, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %227

227:                                              ; preds = %226, %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %228

228:                                              ; preds = %227, %124, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %229

229:                                              ; preds = %228, %92, %76, %60, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %230 = load i32, ptr %9, align 4
  switch i32 %230, label %232 [
    i32 0, label %231
    i32 1, label %231
  ]

231:                                              ; preds = %229, %229
  ret void

232:                                              ; preds = %229
  unreachable
}

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

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

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 = { 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 80}
!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 = !{!19, !6, i64 24}
!19 = !{!"_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}


; 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.8 = external hidden unnamed_addr constant [1 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.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.439 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.440 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.441 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.442 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.443 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.444 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.445 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.446 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.447 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.448 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.449 = external hidden unnamed_addr constant [153 x i8], align 1
@.str.450 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.451 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.452 = external hidden unnamed_addr constant [35 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

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

; 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
define dso_local void @_ZN42Longtail_VersionIndexDirectories__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #3 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %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 = tail call ptr @Longtail_CreateInMemStorageAPI()
  %18 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %19 = tail call ptr @Longtail_CreateHPCDCChunkerAPI()
  %20 = tail call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 0, i32 noundef 0)
  %21 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %22 = getelementptr inbounds i8, ptr %21, i64 96
  %23 = load i32, ptr %22, align 8
  %24 = and i32 %23, -16776961
  %25 = or disjoint i32 %24, 666112
  store i32 %25, ptr %22, align 8
  %26 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %27 = getelementptr inbounds i8, ptr %26, i64 32
  store ptr @.str.3, ptr %27, align 8, !tbaa !5
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  store i32 1, ptr %2, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %28 = tail call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef %17, ptr noundef nonnull @.str.439, i32 noundef 2)
  store i32 %28, ptr %3, align 4, !tbaa !13
  %29 = 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)
  %30 = icmp eq i32 %29, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br i1 %30, label %31, label %32

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

32:                                               ; preds = %1
  %33 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %34 = getelementptr inbounds i8, ptr %33, i64 96
  %35 = load i32, ptr %34, align 8
  %36 = and i32 %35, -16776961
  %37 = or disjoint i32 %36, 666368
  store i32 %37, ptr %34, align 8
  %38 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %39 = getelementptr inbounds i8, ptr %38, i64 32
  store ptr @.str.3, ptr %39, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %40 = getelementptr inbounds i8, ptr %17, i64 80
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  %42 = call noundef i32 %41(ptr noundef %17, ptr noundef nonnull @.str.441)
  store i32 %42, ptr %5, align 4, !tbaa !13
  %43 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.442, ptr noundef null)
  %44 = icmp eq i32 %43, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  br i1 %44, label %45, label %46

45:                                               ; preds = %32
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %157

46:                                               ; preds = %32
  %47 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %48 = getelementptr inbounds i8, ptr %47, i64 96
  %49 = load i32, ptr %48, align 8
  %50 = and i32 %49, -16776961
  %51 = or disjoint i32 %50, 666624
  store i32 %51, ptr %48, align 8
  %52 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %53 = getelementptr inbounds i8, ptr %52, i64 32
  store ptr @.str.3, ptr %53, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 1, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %54 = call noundef i32 @_ZL17CreateFakeContentP19Longtail_StorageAPIPKcj(ptr noundef nonnull %17, ptr noundef nonnull @.str.443, i32 noundef 3)
  store i32 %54, ptr %7, align 4, !tbaa !13
  %55 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull @.str.232, ptr noundef nonnull @.str.444)
  %56 = icmp eq i32 %55, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  br i1 %56, label %57, label %58

57:                                               ; preds = %46
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %157

58:                                               ; preds = %46
  %59 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %60 = getelementptr inbounds i8, ptr %59, i64 96
  %61 = load i32, ptr %60, align 8
  %62 = and i32 %61, -16776961
  %63 = or disjoint i32 %62, 666880
  store i32 %63, ptr %60, align 8
  %64 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %65 = getelementptr inbounds i8, ptr %64, i64 32
  store ptr @.str.3, ptr %65, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  store i32 1, ptr %8, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  %66 = call noundef i32 @_ZL8MakePathP19Longtail_StorageAPIPKc(ptr noundef nonnull %17, ptr noundef nonnull @.str.445)
  store i32 %66, ptr %9, align 4, !tbaa !13
  %67 = 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 nonnull @.str.232, ptr noundef nonnull @.str.446)
  %68 = icmp eq i32 %67, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  br i1 %68, label %69, label %70

69:                                               ; preds = %58
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %157

70:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %71 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %72 = getelementptr inbounds i8, ptr %71, i64 96
  %73 = load i32, ptr %72, align 8
  %74 = and i32 %73, -16776961
  %75 = or disjoint i32 %74, 667648
  store i32 %75, ptr %72, align 8
  %76 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %77 = getelementptr inbounds i8, ptr %76, i64 32
  store ptr @.str.3, ptr %77, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  store i32 0, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %78 = call i32 @Longtail_GetFilesRecursively2(ptr noundef nonnull %17, ptr noundef %20, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef nonnull %10)
  store i32 %78, ptr %12, align 4, !tbaa !13
  %79 = 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.447, ptr noundef null)
  %80 = icmp eq i32 %79, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  br i1 %80, label %81, label %82

81:                                               ; preds = %70
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %156

82:                                               ; preds = %70
  %83 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %84 = getelementptr inbounds i8, ptr %83, i64 96
  %85 = load i32, ptr %84, align 8
  %86 = and i32 %85, -16776961
  %87 = or disjoint i32 %86, 667904
  store i32 %87, ptr %84, align 8
  %88 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %89 = getelementptr inbounds i8, ptr %88, i64 32
  store ptr @.str.3, ptr %89, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %90 = load ptr, ptr %10, align 8, !tbaa !17
  %91 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_FileInfosS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %90, ptr noundef nonnull @.str.253, ptr noundef nonnull @.str.448)
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %82
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %156

94:                                               ; preds = %82
  %95 = load ptr, ptr %10, align 8, !tbaa !17
  %96 = call noundef ptr @_ZL12GetAssetTagsP19Longtail_StorageAPIPK18Longtail_FileInfos(ptr noundef nonnull %17, ptr noundef %95)
  %97 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %98 = getelementptr inbounds i8, ptr %97, i64 96
  %99 = load i32, ptr %98, align 8
  %100 = and i32 %99, -16776961
  %101 = or disjoint i32 %100, 668416
  store i32 %101, ptr %98, align 8
  %102 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %103 = getelementptr inbounds i8, ptr %102, i64 32
  store ptr @.str.3, ptr %103, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %104 = call noundef i32 @_Z14jc_test_cmp_NEIPjS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %96, ptr noundef nonnull @.str.255, ptr noundef nonnull @.str.256)
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %94
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %156

107:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %108 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %109 = getelementptr inbounds i8, ptr %108, i64 96
  %110 = load i32, ptr %109, align 8
  %111 = and i32 %110, -16776961
  %112 = or disjoint i32 %111, 672512
  store i32 %112, ptr %109, align 8
  %113 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %114 = getelementptr inbounds i8, ptr %113, i64 32
  store ptr @.str.3, ptr %114, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  store i32 0, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %115 = load ptr, ptr %10, align 8, !tbaa !17
  %116 = call i32 @Longtail_CreateVersionIndex(ptr noundef nonnull %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef %115, ptr noundef %96, i32 noundef 16384, i32 noundef 0, ptr noundef nonnull %13)
  store i32 %116, ptr %15, align 4, !tbaa !13
  %117 = 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.449, ptr noundef null)
  %118 = icmp eq i32 %117, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  br i1 %118, label %119, label %120

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

120:                                              ; preds = %107
  %121 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %122 = getelementptr inbounds i8, ptr %121, i64 96
  %123 = load i32, ptr %122, align 8
  %124 = and i32 %123, -16776961
  %125 = or disjoint i32 %124, 672768
  store i32 %125, ptr %122, align 8
  %126 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %127 = getelementptr inbounds i8, ptr %126, i64 32
  store ptr @.str.3, ptr %127, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %128 = load ptr, ptr %13, align 8, !tbaa !17
  %129 = call noundef i32 @_Z14jc_test_cmp_NEIP21Longtail_VersionIndexS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %128, ptr noundef nonnull @.str.259, ptr noundef nonnull @.str.450)
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %131, label %132

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

132:                                              ; preds = %120
  %133 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %134 = getelementptr inbounds i8, ptr %133, i64 96
  %135 = load i32, ptr %134, align 8
  %136 = and i32 %135, -16776961
  %137 = or disjoint i32 %136, 673024
  store i32 %137, ptr %134, align 8
  %138 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %139 = getelementptr inbounds i8, ptr %138, i64 32
  store ptr @.str.3, ptr %139, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  store i32 16, ptr %16, align 4, !tbaa !13
  %140 = load ptr, ptr %13, align 8, !tbaa !17
  %141 = getelementptr inbounds i8, ptr %140, i64 24
  %142 = load ptr, ptr %141, align 8, !tbaa !18
  %143 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %142, ptr noundef nonnull @.str.451, ptr noundef nonnull @.str.452)
  %144 = icmp eq i32 %143, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  br i1 %144, label %145, label %146

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

146:                                              ; preds = %132
  call void @Longtail_Free(ptr noundef %96)
  %147 = load ptr, ptr %13, align 8, !tbaa !17
  call void @Longtail_Free(ptr noundef %147)
  %148 = load ptr, ptr %10, align 8, !tbaa !17
  call void @Longtail_Free(ptr noundef %148)
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %150, label %149

149:                                              ; preds = %146
  call void @Longtail_DisposeAPI(ptr noundef nonnull %18)
  br label %150

150:                                              ; preds = %149, %146
  %.not27 = icmp eq ptr %19, null
  br i1 %.not27, label %152, label %151

151:                                              ; preds = %150
  call void @Longtail_DisposeAPI(ptr noundef nonnull %19)
  br label %152

152:                                              ; preds = %151, %150
  %.not28 = icmp eq ptr %20, null
  br i1 %.not28, label %154, label %153

153:                                              ; preds = %152
  call void @Longtail_DisposeAPI(ptr noundef nonnull %20)
  br label %154

154:                                              ; preds = %152, %153
  call void @Longtail_DisposeAPI(ptr noundef nonnull %17)
  br label %155

155:                                              ; preds = %154, %145, %131, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  br label %156

156:                                              ; preds = %106, %155, %93, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br label %157

157:                                              ; preds = %156, %69, %57, %45, %31
  ret void
}

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

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

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 = { 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 = !{!15, !7, i64 80}
!15 = !{!"_ZTS19Longtail_StorageAPI", !16, 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}
!16 = !{!"_ZTS12Longtail_API", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !7, i64 24}
!19 = !{!"_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}


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