; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN51Longtail_TestCreateVersionCancelOperation (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.JobContext = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.jc_test_fixture = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.jc_test_stats, i32, i32, i32, i32 }
%struct.jc_test_stats = type { i32, i32, i32, i32, i64 }
%struct.Longtail_CancelAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr }
%struct.Longtail_API = type { ptr }
%struct.Longtail_FileInfos = type { i32, i32, 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_StorageAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.628 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.629 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.630 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.631 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.632 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.634 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.635 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.636 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.639 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.643 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.644 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.645 = external hidden unnamed_addr constant [45 x i8], align 1
@__const._ZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEv.job_funcs = external hidden unnamed_addr constant [1 x ptr], align 8
@.str.646 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.647 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.648 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.649 = external hidden unnamed_addr constant [73 x i8], align 1

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

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

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

declare void @_Z28jc_test_increment_assertionsv() #1

declare void @_Z21jc_test_set_test_faili(i32 noundef) #1

declare void @Longtail_Free(ptr noundef) #1

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

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

declare ptr @Longtail_CreateBlake3HashAPI() #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare ptr @Longtail_CreateFSStorageAPI() #1

declare ptr @Longtail_CreateHPCDCChunkerAPI() #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_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

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

declare i64 @Longtail_GetSemaSize() #1

declare void @Longtail_DeleteSema(ptr noundef) #1

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

declare ptr @Longtail_CreateAtomicCancelAPI() #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN51Longtail_TestCreateVersionCancelOperation__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 ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.JobContext, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca [1 x ptr], align 8
  %24 = alloca [1 x ptr], align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %39 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %40 = call ptr @Longtail_CreateFSStorageAPI()
  store ptr %40, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %41 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %41, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %42 = call ptr @Longtail_CreateHPCDCChunkerAPI()
  store ptr %42, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %43 = call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 2, i32 noundef 0)
  store ptr %43, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %44 = call ptr @Longtail_CreateAtomicCancelAPI()
  store ptr %44, ptr %7, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %1
  %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, 1212160
  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()
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_CancelAPIS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %53, ptr noundef @.str.628, ptr noundef @.str.629)
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %57

56:                                               ; preds = %45
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %356

57:                                               ; preds = %45
  br label %58

58:                                               ; preds = %57
  br label %59

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

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

75:                                               ; preds = %60
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %355

76:                                               ; preds = %60
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  %80 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %81 = getelementptr inbounds %struct.jc_test_fixture, ptr %80, i32 0, i32 11
  %82 = load i32, ptr %81, align 8
  %83 = and i32 %82, -16776961
  %84 = or i32 %83, 1212928
  store i32 %84, ptr %81, align 8
  %85 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %86 = getelementptr inbounds %struct.jc_test_fixture, ptr %85, i32 0, i32 4
  store ptr @.str.3, ptr %86, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = call noundef i32 @_Z14jc_test_cmp_NEIP30Longtail_CancelAPI_CancelTokenS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %87, ptr noundef @.str.631, ptr noundef @.str.632)
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %79
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %355

91:                                               ; preds = %79
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  br label %94

94:                                               ; preds = %93
  %95 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %96 = getelementptr inbounds %struct.jc_test_fixture, ptr %95, i32 0, i32 11
  %97 = load i32, ptr %96, align 8
  %98 = and i32 %97, -16776961
  %99 = or i32 %98, 1213696
  store i32 %99, ptr %96, align 8
  %100 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %101 = getelementptr inbounds %struct.jc_test_fixture, ptr %100, i32 0, i32 4
  store ptr @.str.3, ptr %101, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %102, ptr noundef %103, ptr noundef null, ptr noundef %104, ptr noundef %105, ptr noundef @.str.639, ptr noundef %12)
  store i32 %106, ptr %14, 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) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef @.str.46, ptr noundef @.str.643, ptr noundef null)
  %108 = icmp eq i32 %107, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br i1 %108, label %109, label %110

109:                                              ; preds = %94
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %354

110:                                              ; preds = %94
  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, 1213952
  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 %12, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.Longtail_FileInfos, ptr %121, i32 0, i32 0
  %123 = load i32, ptr %122, align 8, !tbaa !18
  %124 = call noundef i32 @_Z14jc_test_cmp_NEIijEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %123, ptr noundef @.str.46, ptr noundef @.str.577)
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %113
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %354

127:                                              ; preds = %113
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store ptr null, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  br label %130

130:                                              ; preds = %129
  %131 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %132 = getelementptr inbounds %struct.jc_test_fixture, ptr %131, i32 0, i32 11
  %133 = load i32, ptr %132, align 8
  %134 = and i32 %133, -16776961
  %135 = or i32 %134, 1215232
  store i32 %135, ptr %132, align 8
  %136 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %137 = getelementptr inbounds %struct.jc_test_fixture, ptr %136, i32 0, i32 4
  store ptr @.str.3, ptr %137, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %138 = call i64 @Longtail_GetSemaSize()
  %139 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %138)
  %140 = call i32 @Longtail_CreateSema(ptr noundef %139, i32 noundef 0, ptr noundef %16)
  store i32 %140, ptr %18, align 4, !tbaa !14
  %141 = 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.644, ptr noundef null)
  %142 = icmp eq i32 %141, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br i1 %142, label %143, label %144

143:                                              ; preds = %130
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %353

144:                                              ; preds = %130
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 80, ptr %19) #5
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 0
  store ptr %147, ptr %148, align 8, !tbaa !20
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 1
  store ptr %149, ptr %150, align 8, !tbaa !22
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 2
  store ptr %151, ptr %152, align 8, !tbaa !23
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 3
  store ptr %153, ptr %154, align 8, !tbaa !24
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 4
  store ptr %155, ptr %156, align 8, !tbaa !25
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 5
  store ptr %157, ptr %158, align 8, !tbaa !26
  %159 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 6
  store ptr @.str.639, ptr %159, align 8, !tbaa !27
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 7
  store ptr %160, ptr %161, align 8, !tbaa !28
  %162 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 8
  store ptr %15, ptr %162, align 8, !tbaa !29
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.JobContext, ptr %19, i32 0, i32 9
  store ptr %163, ptr %164, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  br label %165

165:                                              ; preds = %146
  %166 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %167 = getelementptr inbounds %struct.jc_test_fixture, ptr %166, i32 0, i32 11
  %168 = load i32, ptr %167, align 8
  %169 = and i32 %168, -16776961
  %170 = or i32 %169, 1230592
  store i32 %170, ptr %167, align 8
  %171 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %172 = getelementptr inbounds %struct.jc_test_fixture, ptr %171, i32 0, i32 4
  store ptr @.str.3, ptr %172, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %173, i32 0, i32 2
  %175 = load ptr, ptr %174, align 8, !tbaa !31
  %176 = load ptr, ptr %6, align 8, !tbaa !5
  %177 = call noundef i32 %175(ptr noundef %176, i32 noundef 1, ptr noundef %20)
  store i32 %177, ptr %22, align 4, !tbaa !14
  %178 = 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.645, ptr noundef null)
  %179 = icmp eq i32 %178, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br i1 %179, label %180, label %181

180:                                              ; preds = %165
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %352

181:                                              ; preds = %165
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 @__const._ZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEv.job_funcs, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store ptr %19, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  br label %184

184:                                              ; preds = %183
  %185 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %186 = getelementptr inbounds %struct.jc_test_fixture, ptr %185, i32 0, i32 11
  %187 = load i32, ptr %186, align 8
  %188 = and i32 %187, -16776961
  %189 = or i32 %188, 1231872
  store i32 %189, ptr %186, align 8
  %190 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %191 = getelementptr inbounds %struct.jc_test_fixture, ptr %190, i32 0, i32 4
  store ptr @.str.3, ptr %191, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %192, i32 0, i32 3
  %194 = load ptr, ptr %193, align 8, !tbaa !33
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = load ptr, ptr %20, align 8, !tbaa !5
  %197 = getelementptr inbounds [1 x ptr], ptr %23, i64 0, i64 0
  %198 = getelementptr inbounds [1 x ptr], ptr %24, i64 0, i64 0
  %199 = call noundef i32 %194(ptr noundef %195, ptr noundef %196, ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef 1, ptr noundef %197, ptr noundef %198, i8 noundef zeroext 0, ptr noundef %25)
  store i32 %199, ptr %27, align 4, !tbaa !14
  %200 = 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) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef @.str.46, ptr noundef @.str.646, ptr noundef null)
  %201 = icmp eq i32 %200, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br i1 %201, label %202, label %203

202:                                              ; preds = %184
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

203:                                              ; preds = %184
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  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, 1232128
  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 !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.Longtail_CancelAPI, ptr %214, i32 0, i32 2
  %216 = load ptr, ptr %215, align 8, !tbaa !34
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = load ptr, ptr %9, align 8, !tbaa !5
  %219 = call noundef i32 %216(ptr noundef %217, ptr noundef %218)
  store i32 %219, ptr %29, align 4, !tbaa !14
  %220 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef @.str.46, ptr noundef @.str.634, ptr noundef null)
  %221 = icmp eq i32 %220, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br i1 %221, label %222, label %223

222:                                              ; preds = %206
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

223:                                              ; preds = %206
  br label %224

224:                                              ; preds = %223
  br label %225

225:                                              ; preds = %224
  br label %226

226:                                              ; preds = %225
  %227 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %228 = getelementptr inbounds %struct.jc_test_fixture, ptr %227, i32 0, i32 11
  %229 = load i32, ptr %228, align 8
  %230 = and i32 %229, -16776961
  %231 = or i32 %230, 1232384
  store i32 %231, ptr %228, align 8
  %232 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %233 = getelementptr inbounds %struct.jc_test_fixture, ptr %232, i32 0, i32 4
  store ptr @.str.3, ptr %233, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %234, i32 0, i32 5
  %236 = load ptr, ptr %235, align 8, !tbaa !35
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = load ptr, ptr %25, align 8, !tbaa !5
  %239 = call noundef i32 %236(ptr noundef %237, i32 noundef 1, ptr noundef %238)
  store i32 %239, ptr %31, align 4, !tbaa !14
  %240 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef @.str.46, ptr noundef @.str.647, ptr noundef null)
  %241 = icmp eq i32 %240, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br i1 %241, label %242, label %243

242:                                              ; preds = %226
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

243:                                              ; preds = %226
  br label %244

244:                                              ; preds = %243
  br label %245

245:                                              ; preds = %244
  br label %246

246:                                              ; preds = %245
  %247 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %248 = getelementptr inbounds %struct.jc_test_fixture, ptr %247, i32 0, i32 11
  %249 = load i32, ptr %248, align 8
  %250 = and i32 %249, -16776961
  %251 = or i32 %250, 1232640
  store i32 %251, ptr %248, align 8
  %252 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %253 = getelementptr inbounds %struct.jc_test_fixture, ptr %252, i32 0, i32 4
  store ptr @.str.3, ptr %253, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %254 = load ptr, ptr %16, align 8, !tbaa !5
  %255 = call i32 @Longtail_PostSema(ptr noundef %254, i32 noundef 1)
  store i32 %255, ptr %33, align 4, !tbaa !14
  %256 = 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) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef @.str.46, ptr noundef @.str.648, ptr noundef null)
  %257 = icmp eq i32 %256, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br i1 %257, label %258, label %259

258:                                              ; preds = %246
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

259:                                              ; preds = %246
  br label %260

260:                                              ; preds = %259
  br label %261

261:                                              ; preds = %260
  br label %262

262:                                              ; preds = %261
  %263 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %264 = getelementptr inbounds %struct.jc_test_fixture, ptr %263, i32 0, i32 11
  %265 = load i32, ptr %264, align 8
  %266 = and i32 %265, -16776961
  %267 = or i32 %266, 1232896
  store i32 %267, ptr %264, align 8
  %268 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %269 = getelementptr inbounds %struct.jc_test_fixture, ptr %268, i32 0, i32 4
  store ptr @.str.3, ptr %269, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 125, ptr %34, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %270, i32 0, i32 6
  %272 = load ptr, ptr %271, align 8, !tbaa !36
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = load ptr, ptr %20, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  %277 = call noundef i32 %272(ptr noundef %273, ptr noundef %274, ptr noundef null, ptr noundef %275, ptr noundef %276)
  store i32 %277, ptr %35, align 4, !tbaa !14
  %278 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef @.str.635, ptr noundef @.str.649)
  %279 = icmp eq i32 %278, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br i1 %279, label %280, label %281

280:                                              ; preds = %262
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

281:                                              ; preds = %262
  br label %282

282:                                              ; preds = %281
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  %285 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %286 = getelementptr inbounds %struct.jc_test_fixture, ptr %285, i32 0, i32 11
  %287 = load i32, ptr %286, align 8
  %288 = and i32 %287, -16776961
  %289 = or i32 %288, 1233408
  store i32 %289, ptr %286, align 8
  %290 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %291 = getelementptr inbounds %struct.jc_test_fixture, ptr %290, i32 0, i32 4
  store ptr @.str.3, ptr %291, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  store ptr null, ptr %36, align 8, !tbaa !5
  %292 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIP21Longtail_VersionIndexS3_EEiRKT_RKT0_PKcSB_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef @.str.259, ptr noundef @.str.260)
  %293 = icmp eq i32 %292, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  br i1 %293, label %294, label %295

294:                                              ; preds = %284
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

295:                                              ; preds = %284
  br label %296

296:                                              ; preds = %295
  br label %297

297:                                              ; preds = %296
  %298 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Longtail_DeleteSema(ptr noundef %298)
  %299 = load ptr, ptr %16, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %299)
  %300 = load ptr, ptr %12, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %300)
  br label %301

301:                                              ; preds = %297
  %302 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %303 = getelementptr inbounds %struct.jc_test_fixture, ptr %302, i32 0, i32 11
  %304 = load i32, ptr %303, align 8
  %305 = and i32 %304, -16776961
  %306 = or i32 %305, 1235200
  store i32 %306, ptr %303, align 8
  %307 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %308 = getelementptr inbounds %struct.jc_test_fixture, ptr %307, i32 0, i32 4
  store ptr @.str.3, ptr %308, align 8, !tbaa !9
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.Longtail_CancelAPI, ptr %309, i32 0, i32 4
  %311 = load ptr, ptr %310, align 8, !tbaa !37
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  %313 = load ptr, ptr %9, align 8, !tbaa !5
  %314 = call noundef i32 %311(ptr noundef %312, ptr noundef %313)
  store i32 %314, ptr %38, align 4, !tbaa !14
  %315 = 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) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef @.str.46, ptr noundef @.str.636, ptr noundef null)
  %316 = icmp eq i32 %315, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br i1 %316, label %317, label %318

317:                                              ; preds = %301
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %351

318:                                              ; preds = %301
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = icmp ne ptr %321, null
  br i1 %322, label %323, label %326

323:                                              ; preds = %320
  %324 = load ptr, ptr %7, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.Longtail_CancelAPI, ptr %324, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %325)
  br label %326

326:                                              ; preds = %323, %320
  %327 = load ptr, ptr %6, align 8, !tbaa !5
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %332

329:                                              ; preds = %326
  %330 = load ptr, ptr %6, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.Longtail_JobAPI, ptr %330, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %331)
  br label %332

332:                                              ; preds = %329, %326
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = icmp ne ptr %333, null
  br i1 %334, label %335, label %338

335:                                              ; preds = %332
  %336 = load ptr, ptr %5, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.Longtail_ChunkerAPI, ptr %336, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %337)
  br label %338

338:                                              ; preds = %335, %332
  %339 = load ptr, ptr %4, align 8, !tbaa !5
  %340 = icmp ne ptr %339, null
  br i1 %340, label %341, label %344

341:                                              ; preds = %338
  %342 = load ptr, ptr %4, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %342, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %343)
  br label %344

344:                                              ; preds = %341, %338
  %345 = load ptr, ptr %3, align 8, !tbaa !5
  %346 = icmp ne ptr %345, null
  br i1 %346, label %347, label %350

347:                                              ; preds = %344
  %348 = load ptr, ptr %3, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %348, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %349)
  br label %350

350:                                              ; preds = %347, %344
  store i32 0, ptr %8, align 4
  br label %351

351:                                              ; preds = %350, %317, %294, %280, %258, %242, %222, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %352

352:                                              ; preds = %351, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %19) #5
  br label %353

353:                                              ; preds = %352, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %354

354:                                              ; preds = %353, %126, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %355

355:                                              ; preds = %354, %90, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %356

356:                                              ; preds = %355, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %357 = load i32, ptr %8, align 4
  switch i32 %357, label %359 [
    i32 0, label %358
    i32 1, label %358
  ]

358:                                              ; preds = %356, %356
  ret void

359:                                              ; preds = %356
  unreachable
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !12, i64 88, !12, i64 91, !12, i64 91, !12, i64 91, !12, i64 91, !12, i64 92, !12, i64 96, !12, i64 97, !12, i64 99, !12, i64 100}
!11 = !{!"_ZTS13jc_test_stats", !12, i64 0, !12, i64 4, !12, i64 6, !12, i64 8, !12, i64 12, !13, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !6, i64 8}
!16 = !{!"_ZTS18Longtail_CancelAPI", !17, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!17 = !{!"_ZTS12Longtail_API", !6, i64 0}
!18 = !{!19, !12, i64 0}
!19 = !{!"_ZTS18Longtail_FileInfos", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEvE10JobContext", !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}
!22 = !{!21, !6, i64 8}
!23 = !{!21, !6, i64 16}
!24 = !{!21, !6, i64 24}
!25 = !{!21, !6, i64 32}
!26 = !{!21, !6, i64 40}
!27 = !{!21, !6, i64 48}
!28 = !{!21, !6, i64 56}
!29 = !{!21, !6, i64 64}
!30 = !{!21, !6, i64 72}
!31 = !{!32, !6, i64 16}
!32 = !{!"_ZTS15Longtail_JobAPI", !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}
!33 = !{!32, !6, i64 24}
!34 = !{!16, !6, i64 16}
!35 = !{!32, !6, i64 40}
!36 = !{!32, !6, i64 48}
!37 = !{!16, !6, i64 32}


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

%struct.JobContext = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.628 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.629 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.630 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.631 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.632 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.634 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.635 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.636 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.639 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.643 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.644 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.645 = external hidden unnamed_addr constant [45 x i8], align 1
@__const._ZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEv.job_funcs = external hidden unnamed_addr constant [1 x ptr], align 8
@.str.646 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.647 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.648 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.649 = external hidden unnamed_addr constant [73 x i8], align 1

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

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

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

declare void @_Z28jc_test_increment_assertionsv() local_unnamed_addr #1

declare void @_Z21jc_test_set_test_faili(i32 noundef) local_unnamed_addr #1

declare void @Longtail_Free(ptr noundef) local_unnamed_addr #1

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

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

declare ptr @Longtail_CreateBlake3HashAPI() local_unnamed_addr #1

declare ptr @Longtail_CreateFSStorageAPI() local_unnamed_addr #1

declare ptr @Longtail_CreateHPCDCChunkerAPI() local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_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

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

declare i64 @Longtail_GetSemaSize() local_unnamed_addr #1

declare void @Longtail_DeleteSema(ptr noundef) local_unnamed_addr #1

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

declare ptr @Longtail_CreateAtomicCancelAPI() local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.JobContext, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca [1 x ptr], align 8
  %17 = alloca [1 x ptr], align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = tail call ptr @Longtail_CreateFSStorageAPI()
  %33 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %34 = tail call ptr @Longtail_CreateHPCDCChunkerAPI()
  %35 = tail call ptr @Longtail_CreateBikeshedJobAPI(i32 noundef 2, i32 noundef 0)
  %36 = tail call ptr @Longtail_CreateAtomicCancelAPI()
  %37 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %38 = getelementptr inbounds i8, ptr %37, i64 96
  %39 = load i32, ptr %38, align 8
  %40 = and i32 %39, -16776961
  %41 = or disjoint i32 %40, 1212160
  store i32 %41, ptr %38, align 8
  %42 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %43 = getelementptr inbounds i8, ptr %42, i64 32
  store ptr @.str.3, ptr %43, align 8, !tbaa !5
  tail call void @_Z28jc_test_increment_assertionsv()
  %44 = tail call noundef i32 @_Z14jc_test_cmp_NEIP18Longtail_CancelAPIS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %36, ptr noundef nonnull @.str.628, ptr noundef nonnull @.str.629)
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %47

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

47:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %48 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %49 = getelementptr inbounds i8, ptr %48, i64 96
  %50 = load i32, ptr %49, align 8
  %51 = and i32 %50, -16776961
  %52 = or disjoint i32 %51, 1212672
  store i32 %52, ptr %49, align 8
  %53 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %54 = getelementptr inbounds i8, ptr %53, i64 32
  store ptr @.str.3, ptr %54, align 8, !tbaa !5
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  store i32 0, ptr %3, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %55 = getelementptr inbounds i8, ptr %36, i64 8
  %56 = load ptr, ptr %55, align 8, !tbaa !14
  %57 = call noundef i32 %56(ptr noundef %36, ptr noundef nonnull %2)
  store i32 %57, ptr %4, align 4, !tbaa !13
  %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) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.630, ptr noundef null)
  %59 = icmp eq i32 %58, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br i1 %59, label %60, label %61

60:                                               ; preds = %47
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %253

61:                                               ; preds = %47
  %62 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %63 = getelementptr inbounds i8, ptr %62, i64 96
  %64 = load i32, ptr %63, align 8
  %65 = and i32 %64, -16776961
  %66 = or disjoint i32 %65, 1212928
  store i32 %66, ptr %63, align 8
  %67 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %68 = getelementptr inbounds i8, ptr %67, i64 32
  store ptr @.str.3, ptr %68, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %69 = load ptr, ptr %2, align 8, !tbaa !17
  %70 = call noundef i32 @_Z14jc_test_cmp_NEIP30Longtail_CancelAPI_CancelTokenS1_EiT_T0_PKcS5_(ptr noundef null, ptr noundef %69, ptr noundef nonnull @.str.631, ptr noundef nonnull @.str.632)
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %61
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %253

73:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %74 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %75 = getelementptr inbounds i8, ptr %74, i64 96
  %76 = load i32, ptr %75, align 8
  %77 = and i32 %76, -16776961
  %78 = or disjoint i32 %77, 1213696
  store i32 %78, ptr %75, align 8
  %79 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %80 = getelementptr inbounds i8, ptr %79, i64 32
  store ptr @.str.3, ptr %80, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 0, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %81 = load ptr, ptr %2, align 8, !tbaa !17
  %82 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %32, ptr noundef %35, ptr noundef null, ptr noundef nonnull %36, ptr noundef %81, ptr noundef nonnull @.str.639, ptr noundef nonnull %5)
  store i32 %82, ptr %7, align 4, !tbaa !13
  %83 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.643, ptr noundef null)
  %84 = icmp eq i32 %83, 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 %84, label %85, label %86

85:                                               ; preds = %73
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %252

86:                                               ; preds = %73
  %87 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %88 = getelementptr inbounds i8, ptr %87, i64 96
  %89 = load i32, ptr %88, align 8
  %90 = and i32 %89, -16776961
  %91 = or disjoint i32 %90, 1213952
  store i32 %91, ptr %88, align 8
  %92 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %93 = getelementptr inbounds i8, ptr %92, i64 32
  store ptr @.str.3, ptr %93, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %94 = load ptr, ptr %5, align 8, !tbaa !17
  %95 = load i32, ptr %94, align 8, !tbaa !18
  %96 = call noundef i32 @_Z14jc_test_cmp_NEIijEiT_T0_PKcS3_(i32 noundef 0, i32 noundef %95, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.577)
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %86
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %252

99:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  store ptr null, ptr %8, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %100 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %101 = getelementptr inbounds i8, ptr %100, i64 96
  %102 = load i32, ptr %101, align 8
  %103 = and i32 %102, -16776961
  %104 = or disjoint i32 %103, 1215232
  store i32 %104, ptr %101, align 8
  %105 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %106 = getelementptr inbounds i8, ptr %105, i64 32
  store ptr @.str.3, ptr %106, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %107 = call i64 @Longtail_GetSemaSize()
  %108 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %107)
  %109 = call i32 @Longtail_CreateSema(ptr noundef %108, i32 noundef 0, ptr noundef nonnull %9)
  store i32 %109, ptr %11, align 4, !tbaa !13
  %110 = 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 nonnull @.str.46, ptr noundef nonnull @.str.644, ptr noundef null)
  %111 = icmp eq i32 %110, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  br i1 %111, label %112, label %113

112:                                              ; preds = %99
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %251

113:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %12) #4
  store ptr %32, ptr %12, align 8, !tbaa !20
  %114 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %33, ptr %114, align 8, !tbaa !22
  %115 = getelementptr inbounds i8, ptr %12, i64 16
  store ptr %34, ptr %115, align 8, !tbaa !23
  %116 = getelementptr inbounds i8, ptr %12, i64 24
  store ptr %35, ptr %116, align 8, !tbaa !24
  %117 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %36, ptr %117, align 8, !tbaa !25
  %118 = load ptr, ptr %2, align 8, !tbaa !17
  %119 = getelementptr inbounds i8, ptr %12, i64 40
  store ptr %118, ptr %119, align 8, !tbaa !26
  %120 = getelementptr inbounds i8, ptr %12, i64 48
  store ptr @.str.639, ptr %120, align 8, !tbaa !27
  %121 = load ptr, ptr %5, align 8, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %12, i64 56
  store ptr %121, ptr %122, align 8, !tbaa !28
  %123 = getelementptr inbounds i8, ptr %12, i64 64
  store ptr %8, ptr %123, align 8, !tbaa !29
  %124 = load ptr, ptr %9, align 8, !tbaa !17
  %125 = getelementptr inbounds i8, ptr %12, i64 72
  store ptr %124, ptr %125, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %126 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %127 = getelementptr inbounds i8, ptr %126, i64 96
  %128 = load i32, ptr %127, align 8
  %129 = and i32 %128, -16776961
  %130 = or disjoint i32 %129, 1230592
  store i32 %130, ptr %127, align 8
  %131 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %132 = getelementptr inbounds i8, ptr %131, i64 32
  store ptr @.str.3, ptr %132, 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
  %133 = getelementptr inbounds i8, ptr %35, i64 16
  %134 = load ptr, ptr %133, align 8, !tbaa !31
  %135 = call noundef i32 %134(ptr noundef %35, i32 noundef 1, ptr noundef nonnull %13)
  store i32 %135, ptr %15, align 4, !tbaa !13
  %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) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.645, ptr noundef null)
  %137 = icmp eq i32 %136, 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 %137, label %138, label %139

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

139:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  %140 = load i64, ptr @__const._ZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEv.job_funcs, align 8
  store i64 %140, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  store ptr %12, ptr %17, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %141 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %142 = getelementptr inbounds i8, ptr %141, i64 96
  %143 = load i32, ptr %142, align 8
  %144 = and i32 %143, -16776961
  %145 = or disjoint i32 %144, 1231872
  store i32 %145, ptr %142, align 8
  %146 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %147 = getelementptr inbounds i8, ptr %146, i64 32
  store ptr @.str.3, ptr %147, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #4
  store i32 0, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #4
  %148 = getelementptr inbounds i8, ptr %35, i64 24
  %149 = load ptr, ptr %148, align 8, !tbaa !33
  %150 = load ptr, ptr %13, align 8, !tbaa !17
  %151 = call noundef i32 %149(ptr noundef nonnull %35, ptr noundef %150, ptr noundef null, ptr noundef null, ptr noundef null, i32 noundef 1, ptr noundef nonnull %16, ptr noundef nonnull %17, i8 noundef zeroext 0, ptr noundef nonnull %18)
  store i32 %151, ptr %20, align 4, !tbaa !13
  %152 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.646, ptr noundef null)
  %153 = icmp eq i32 %152, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #4
  br i1 %153, label %154, label %155

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

155:                                              ; preds = %139
  %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, 1232128
  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 %21) #4
  store i32 0, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %163 = getelementptr inbounds i8, ptr %36, i64 16
  %164 = load ptr, ptr %163, align 8, !tbaa !34
  %165 = load ptr, ptr %2, align 8, !tbaa !17
  %166 = call noundef i32 %164(ptr noundef nonnull %36, ptr noundef %165)
  store i32 %166, ptr %22, align 4, !tbaa !13
  %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 nonnull @.str.46, ptr noundef nonnull @.str.634, ptr noundef null)
  %168 = icmp eq i32 %167, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #4
  br i1 %168, label %169, label %170

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

170:                                              ; preds = %155
  %171 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %172 = getelementptr inbounds i8, ptr %171, i64 96
  %173 = load i32, ptr %172, align 8
  %174 = and i32 %173, -16776961
  %175 = or disjoint i32 %174, 1232384
  store i32 %175, ptr %172, align 8
  %176 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %177 = getelementptr inbounds i8, ptr %176, i64 32
  store ptr @.str.3, ptr %177, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #4
  store i32 0, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #4
  %178 = getelementptr inbounds i8, ptr %35, i64 40
  %179 = load ptr, ptr %178, align 8, !tbaa !35
  %180 = load ptr, ptr %18, align 8, !tbaa !17
  %181 = call noundef i32 %179(ptr noundef nonnull %35, i32 noundef 1, ptr noundef %180)
  store i32 %181, ptr %24, align 4, !tbaa !13
  %182 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.647, ptr noundef null)
  %183 = icmp eq i32 %182, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #4
  br i1 %183, label %184, label %185

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

185:                                              ; preds = %170
  %186 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %187 = getelementptr inbounds i8, ptr %186, i64 96
  %188 = load i32, ptr %187, align 8
  %189 = and i32 %188, -16776961
  %190 = or disjoint i32 %189, 1232640
  store i32 %190, ptr %187, align 8
  %191 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %192 = getelementptr inbounds i8, ptr %191, i64 32
  store ptr @.str.3, ptr %192, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #4
  store i32 0, ptr %25, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #4
  %193 = load ptr, ptr %9, align 8, !tbaa !17
  %194 = call i32 @Longtail_PostSema(ptr noundef %193, i32 noundef 1)
  store i32 %194, ptr %26, align 4, !tbaa !13
  %195 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.648, ptr noundef null)
  %196 = icmp eq i32 %195, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #4
  br i1 %196, label %197, label %198

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

198:                                              ; preds = %185
  %199 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %200 = getelementptr inbounds i8, ptr %199, i64 96
  %201 = load i32, ptr %200, align 8
  %202 = and i32 %201, -16776961
  %203 = or disjoint i32 %202, 1232896
  store i32 %203, ptr %200, align 8
  %204 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %205 = getelementptr inbounds i8, ptr %204, i64 32
  store ptr @.str.3, ptr %205, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #4
  store i32 125, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #4
  %206 = getelementptr inbounds i8, ptr %35, i64 48
  %207 = load ptr, ptr %206, align 8, !tbaa !36
  %208 = load ptr, ptr %13, align 8, !tbaa !17
  %209 = load ptr, ptr %2, align 8, !tbaa !17
  %210 = call noundef i32 %207(ptr noundef nonnull %35, ptr noundef %208, ptr noundef null, ptr noundef nonnull %36, ptr noundef %209)
  store i32 %210, ptr %28, align 4, !tbaa !13
  %211 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIiiEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull @.str.635, ptr noundef nonnull @.str.649)
  %212 = icmp eq i32 %211, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #4
  br i1 %212, label %213, label %214

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

214:                                              ; preds = %198
  %215 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %216 = getelementptr inbounds i8, ptr %215, i64 96
  %217 = load i32, ptr %216, align 8
  %218 = and i32 %217, -16776961
  %219 = or disjoint i32 %218, 1233408
  store i32 %219, ptr %216, align 8
  %220 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %221 = getelementptr inbounds i8, ptr %220, i64 32
  store ptr @.str.3, ptr %221, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #4
  store ptr null, ptr %29, align 8, !tbaa !17
  %222 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIP21Longtail_VersionIndexS3_EEiRKT_RKT0_PKcSB_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @.str.259, ptr noundef nonnull @.str.260)
  %223 = icmp eq i32 %222, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #4
  br i1 %223, label %224, label %225

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

225:                                              ; preds = %214
  %226 = load ptr, ptr %9, align 8, !tbaa !17
  call void @Longtail_DeleteSema(ptr noundef %226)
  %227 = load ptr, ptr %9, align 8, !tbaa !17
  call void @Longtail_Free(ptr noundef %227)
  %228 = load ptr, ptr %5, align 8, !tbaa !17
  call void @Longtail_Free(ptr noundef %228)
  %229 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %230 = getelementptr inbounds i8, ptr %229, i64 96
  %231 = load i32, ptr %230, align 8
  %232 = and i32 %231, -16776961
  %233 = or disjoint i32 %232, 1235200
  store i32 %233, ptr %230, align 8
  %234 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %235 = getelementptr inbounds i8, ptr %234, i64 32
  store ptr @.str.3, ptr %235, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #4
  store i32 0, ptr %30, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #4
  %236 = getelementptr inbounds i8, ptr %36, i64 32
  %237 = load ptr, ptr %236, align 8, !tbaa !37
  %238 = load ptr, ptr %2, align 8, !tbaa !17
  %239 = call noundef i32 %237(ptr noundef nonnull %36, ptr noundef %238)
  store i32 %239, ptr %31, align 4, !tbaa !13
  %240 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.636, ptr noundef null)
  %241 = icmp eq i32 %240, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #4
  br i1 %241, label %242, label %243

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

243:                                              ; preds = %225
  call void @Longtail_DisposeAPI(ptr noundef nonnull %36)
  call void @Longtail_DisposeAPI(ptr noundef nonnull %35)
  %.not40 = icmp eq ptr %34, null
  br i1 %.not40, label %245, label %244

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

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

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

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

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

249:                                              ; preds = %247, %248, %242, %224, %213, %197, %184, %169, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  br label %250

250:                                              ; preds = %249, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %12) #4
  br label %251

251:                                              ; preds = %250, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  br label %252

252:                                              ; preds = %251, %98, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %253

253:                                              ; preds = %252, %72, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  br label %254

254:                                              ; preds = %253, %46
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 8}
!15 = !{!"_ZTS18Longtail_CancelAPI", !16, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!16 = !{!"_ZTS12Longtail_API", !7, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !11, i64 0}
!19 = !{!"_ZTS18Longtail_FileInfos", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!20 = !{!21, !7, i64 0}
!21 = !{!"_ZTSZN51Longtail_TestCreateVersionCancelOperation__TestCase8TestBodyEvE10JobContext", !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}
!22 = !{!21, !7, i64 8}
!23 = !{!21, !7, i64 16}
!24 = !{!21, !7, i64 24}
!25 = !{!21, !7, i64 32}
!26 = !{!21, !7, i64 40}
!27 = !{!21, !7, i64 48}
!28 = !{!21, !7, i64 56}
!29 = !{!21, !7, i64 64}
!30 = !{!21, !7, i64 72}
!31 = !{!32, !7, i64 16}
!32 = !{!"_ZTS15Longtail_JobAPI", !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}
!33 = !{!32, !7, i64 24}
!34 = !{!15, !7, i64 16}
!35 = !{!32, !7, i64 40}
!36 = !{!32, !7, i64 48}
!37 = !{!15, !7, i64 32}


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