; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN44Longtail_Longtail_OutOfOrderWrites (TestCase8TestBodyEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.Longtail_StorageAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_API = type { ptr }
%struct.jc_test_fixture = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.jc_test_stats, i32, i32, i32, i32 }
%struct.jc_test_stats = type { i32, i32, i32, i32, i64 }

@.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.1005 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1006 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1007 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1008 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.1009 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.1010 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1011 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1012 = external hidden unnamed_addr constant [42 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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare ptr @Longtail_CreateFSStorageAPI() #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #5

declare ptr @Longtail_GetTempFolder() #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN44Longtail_Longtail_OutOfOrderWrites__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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %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
  store ptr %0, ptr %2, align 8, !tbaa !5
  %25 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %26 = call ptr @Longtail_CreateFSStorageAPI()
  store ptr %26, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %27 = call ptr @Longtail_GetTempFolder()
  store ptr %27, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %28, i32 0, i32 12
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = call noundef ptr %30(ptr noundef %31, ptr noundef %32, ptr noundef @.str.1005)
  store ptr %33, ptr %5, align 8, !tbaa !5
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %34, i32 0, i32 14
  %36 = load ptr, ptr %35, align 8, !tbaa !12
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = call noundef i32 %36(ptr noundef %37, ptr noundef %38)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %62

41:                                               ; preds = %1
  br label %42

42:                                               ; preds = %41
  %43 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %44 = getelementptr inbounds %struct.jc_test_fixture, ptr %43, i32 0, i32 11
  %45 = load i32, ptr %44, align 8
  %46 = and i32 %45, -16776961
  %47 = or i32 %46, 2103296
  store i32 %47, ptr %44, align 8
  %48 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %49 = getelementptr inbounds %struct.jc_test_fixture, ptr %48, i32 0, i32 4
  store ptr @.str.3, ptr %49, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %50, i32 0, i32 16
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = call noundef i32 %52(ptr noundef %53, ptr noundef %54)
  store i32 %55, ptr %7, align 4, !tbaa !18
  %56 = 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 @.str.46, ptr noundef @.str.1006, ptr noundef null)
  %57 = icmp eq i32 %56, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br i1 %57, label %58, label %59

58:                                               ; preds = %42
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %231

59:                                               ; preds = %42
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %63 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  store ptr %63, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %64 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  store ptr %64, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %65 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  store ptr %65, ptr %11, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %66, i8 -1, i64 1024, i1 false)
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 1 %67, i8 127, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %68, i32 0, i32 4
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = call noundef i32 %70(ptr noundef %71, ptr noundef %72, i64 noundef 0, ptr noundef %12)
  br label %74

74:                                               ; preds = %62
  %75 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %76 = getelementptr inbounds %struct.jc_test_fixture, ptr %75, i32 0, i32 11
  %77 = load i32, ptr %76, align 8
  %78 = and i32 %77, -16776961
  %79 = or i32 %78, 2106624
  store i32 %79, ptr %76, align 8
  %80 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %81 = getelementptr inbounds %struct.jc_test_fixture, ptr %80, i32 0, i32 4
  store ptr @.str.3, ptr %81, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %82, i32 0, i32 5
  %84 = load ptr, ptr %83, align 8, !tbaa !21
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = call noundef i32 %84(ptr noundef %85, ptr noundef %86, i64 noundef 1024, i64 noundef 1024, ptr noundef %87)
  store i32 %88, ptr %14, align 4, !tbaa !18
  %89 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef @.str.46, ptr noundef @.str.1007, ptr noundef null)
  %90 = icmp eq i32 %89, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br i1 %90, label %91, label %92

91:                                               ; preds = %74
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

92:                                               ; preds = %74
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %95, i32 0, i32 9
  %97 = load ptr, ptr %96, align 8, !tbaa !22
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  call void %97(ptr noundef %98, ptr noundef %99)
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %100, i32 0, i32 26
  %102 = load ptr, ptr %101, align 8, !tbaa !23
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = call noundef i32 %102(ptr noundef %103, ptr noundef %104, ptr noundef %12)
  br label %106

106:                                              ; preds = %94
  %107 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %108 = getelementptr inbounds %struct.jc_test_fixture, ptr %107, i32 0, i32 11
  %109 = load i32, ptr %108, align 8
  %110 = and i32 %109, -16776961
  %111 = or i32 %110, 2108160
  store i32 %111, ptr %108, align 8
  %112 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %113 = getelementptr inbounds %struct.jc_test_fixture, ptr %112, i32 0, i32 4
  store ptr @.str.3, ptr %113, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %114, i32 0, i32 5
  %116 = load ptr, ptr %115, align 8, !tbaa !21
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = call noundef i32 %116(ptr noundef %117, ptr noundef %118, i64 noundef 0, i64 noundef 1024, ptr noundef %119)
  store i32 %120, ptr %16, align 4, !tbaa !18
  %121 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef @.str.46, ptr noundef @.str.1008, ptr noundef null)
  %122 = icmp eq i32 %121, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br i1 %122, label %123, label %124

123:                                              ; preds = %106
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

124:                                              ; preds = %106
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %127, i32 0, i32 9
  %129 = load ptr, ptr %128, align 8, !tbaa !22
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %12, align 8, !tbaa !5
  call void %129(ptr noundef %130, ptr noundef %131)
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %132, i32 0, i32 1
  %134 = load ptr, ptr %133, align 8, !tbaa !24
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = call noundef i32 %134(ptr noundef %135, ptr noundef %136, ptr noundef %12)
  br label %138

138:                                              ; preds = %126
  %139 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %140 = getelementptr inbounds %struct.jc_test_fixture, ptr %139, i32 0, i32 11
  %141 = load i32, ptr %140, align 8
  %142 = and i32 %141, -16776961
  %143 = or i32 %142, 2109696
  store i32 %143, ptr %140, align 8
  %144 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %145 = getelementptr inbounds %struct.jc_test_fixture, ptr %144, i32 0, i32 4
  store ptr @.str.3, ptr %145, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %146, i32 0, i32 3
  %148 = load ptr, ptr %147, align 8, !tbaa !25
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = call noundef i32 %148(ptr noundef %149, ptr noundef %150, i64 noundef 0, i64 noundef 1024, ptr noundef %151)
  store i32 %152, ptr %18, align 4, !tbaa !18
  %153 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef @.str.46, ptr noundef @.str.1009, ptr noundef null)
  %154 = icmp eq i32 %153, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br i1 %154, label %155, label %156

155:                                              ; preds = %138
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

156:                                              ; preds = %138
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  br label %159

159:                                              ; preds = %158
  %160 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %161 = getelementptr inbounds %struct.jc_test_fixture, ptr %160, i32 0, i32 11
  %162 = load i32, ptr %161, align 8
  %163 = and i32 %162, -16776961
  %164 = or i32 %163, 2109952
  store i32 %164, ptr %161, align 8
  %165 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %166 = getelementptr inbounds %struct.jc_test_fixture, ptr %165, i32 0, i32 4
  store ptr @.str.3, ptr %166, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = load ptr, ptr %11, align 8, !tbaa !5
  %169 = call i32 @memcmp(ptr noundef %167, ptr noundef %168, i64 noundef 1024) #7
  store i32 %169, ptr %20, align 4, !tbaa !18
  %170 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef @.str.46, ptr noundef @.str.1010, ptr noundef null)
  %171 = icmp eq i32 %170, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br i1 %171, label %172, label %173

172:                                              ; preds = %159
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

173:                                              ; preds = %159
  br label %174

174:                                              ; preds = %173
  br label %175

175:                                              ; preds = %174
  br label %176

176:                                              ; preds = %175
  %177 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %178 = getelementptr inbounds %struct.jc_test_fixture, ptr %177, i32 0, i32 11
  %179 = load i32, ptr %178, align 8
  %180 = and i32 %179, -16776961
  %181 = or i32 %180, 2110720
  store i32 %181, ptr %178, align 8
  %182 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %183 = getelementptr inbounds %struct.jc_test_fixture, ptr %182, i32 0, i32 4
  store ptr @.str.3, ptr %183, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %184, i32 0, i32 3
  %186 = load ptr, ptr %185, align 8, !tbaa !25
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = call noundef i32 %186(ptr noundef %187, ptr noundef %188, i64 noundef 1024, i64 noundef 1024, ptr noundef %189)
  store i32 %190, ptr %22, align 4, !tbaa !18
  %191 = 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.1011, ptr noundef null)
  %192 = icmp eq i32 %191, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br i1 %192, label %193, label %194

193:                                              ; preds = %176
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

194:                                              ; preds = %176
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196
  %198 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %199 = getelementptr inbounds %struct.jc_test_fixture, ptr %198, i32 0, i32 11
  %200 = load i32, ptr %199, align 8
  %201 = and i32 %200, -16776961
  %202 = or i32 %201, 2110976
  store i32 %202, ptr %199, align 8
  %203 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %204 = getelementptr inbounds %struct.jc_test_fixture, ptr %203, i32 0, i32 4
  store ptr @.str.3, ptr %204, align 8, !tbaa !13
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = load ptr, ptr %11, align 8, !tbaa !5
  %207 = call i32 @memcmp(ptr noundef %205, ptr noundef %206, i64 noundef 1024) #7
  store i32 %207, ptr %24, align 4, !tbaa !18
  %208 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef @.str.46, ptr noundef @.str.1012, ptr noundef null)
  %209 = icmp eq i32 %208, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br i1 %209, label %210, label %211

210:                                              ; preds = %197
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %8, align 4
  br label %230

211:                                              ; preds = %197
  br label %212

212:                                              ; preds = %211
  br label %213

213:                                              ; preds = %212
  %214 = load ptr, ptr %3, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %214, i32 0, i32 9
  %216 = load ptr, ptr %215, align 8, !tbaa !22
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = load ptr, ptr %12, align 8, !tbaa !5
  call void %216(ptr noundef %217, ptr noundef %218)
  %219 = load ptr, ptr %3, align 8, !tbaa !5
  %220 = icmp ne ptr %219, null
  br i1 %220, label %221, label %224

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

224:                                              ; preds = %221, %213
  %225 = load ptr, ptr %10, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %225)
  %226 = load ptr, ptr %9, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %226)
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %227)
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %228)
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %229)
  store i32 0, ptr %8, align 4
  br label %230

230:                                              ; preds = %224, %210, %193, %172, %155, %123, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %231

231:                                              ; preds = %230, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %232 = load i32, ptr %8, align 4
  switch i32 %232, label %234 [
    i32 0, label %233
    i32 1, label %233
  ]

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

234:                                              ; preds = %231
  unreachable
}

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: write) }
attributes #5 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

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

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


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

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1005 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1006 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.1007 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1008 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.1009 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.1010 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.1011 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1012 = external hidden unnamed_addr constant [42 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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare ptr @Longtail_CreateFSStorageAPI() local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #5

declare ptr @Longtail_GetTempFolder() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN44Longtail_Longtail_OutOfOrderWrites__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 ptr, align 8
  %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 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 i32, align 4
  %17 = tail call ptr @Longtail_CreateFSStorageAPI()
  %18 = tail call ptr @Longtail_GetTempFolder()
  %19 = getelementptr inbounds i8, ptr %17, i64 96
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %21 = tail call noundef ptr %20(ptr noundef %17, ptr noundef %18, ptr noundef nonnull @.str.1005)
  %22 = getelementptr inbounds i8, ptr %17, i64 112
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = tail call noundef i32 %23(ptr noundef %17, ptr noundef %21)
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %39, label %25

25:                                               ; preds = %1
  %26 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %27 = getelementptr inbounds i8, ptr %26, i64 96
  %28 = load i32, ptr %27, align 8
  %29 = and i32 %28, -16776961
  %30 = or disjoint i32 %29, 2103296
  store i32 %30, ptr %27, align 8
  %31 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %32 = getelementptr inbounds i8, ptr %31, i64 32
  store ptr @.str.3, ptr %32, align 8, !tbaa !12
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %33 = getelementptr inbounds i8, ptr %17, i64 128
  %34 = load ptr, ptr %33, align 8, !tbaa !18
  %35 = tail call noundef i32 %34(ptr noundef nonnull %17, ptr noundef %21)
  store i32 %35, ptr %3, align 4, !tbaa !17
  %36 = 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) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1006, ptr noundef null)
  %37 = icmp eq i32 %36, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  br i1 %37, label %38, label %39

38:                                               ; preds = %25
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %142

39:                                               ; preds = %25, %1
  %40 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  %41 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  %42 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef 1024)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %40, i8 -1, i64 1024, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1024) %41, i8 127, i64 1024, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %43 = getelementptr inbounds i8, ptr %17, i64 32
  %44 = load ptr, ptr %43, align 8, !tbaa !19
  %45 = call noundef i32 %44(ptr noundef nonnull %17, ptr noundef %21, i64 noundef 0, ptr noundef nonnull %4)
  %46 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %47 = getelementptr inbounds i8, ptr %46, i64 96
  %48 = load i32, ptr %47, align 8
  %49 = and i32 %48, -16776961
  %50 = or disjoint i32 %49, 2106624
  store i32 %50, ptr %47, align 8
  %51 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %52 = getelementptr inbounds i8, ptr %51, i64 32
  store ptr @.str.3, ptr %52, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %53 = getelementptr inbounds i8, ptr %17, i64 40
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = load ptr, ptr %4, align 8, !tbaa !21
  %56 = call noundef i32 %54(ptr noundef nonnull %17, ptr noundef %55, i64 noundef 1024, i64 noundef 1024, ptr noundef %40)
  store i32 %56, ptr %6, align 4, !tbaa !17
  %57 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1007, ptr noundef null)
  %58 = icmp eq i32 %57, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br i1 %58, label %59, label %60

59:                                               ; preds = %39
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %141

60:                                               ; preds = %39
  %61 = getelementptr inbounds i8, ptr %17, i64 72
  %62 = load ptr, ptr %61, align 8, !tbaa !22
  %63 = load ptr, ptr %4, align 8, !tbaa !21
  call void %62(ptr noundef nonnull %17, ptr noundef %63)
  %64 = getelementptr inbounds i8, ptr %17, i64 208
  %65 = load ptr, ptr %64, align 8, !tbaa !23
  %66 = call noundef i32 %65(ptr noundef nonnull %17, ptr noundef %21, ptr noundef nonnull %4)
  %67 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %68 = getelementptr inbounds i8, ptr %67, i64 96
  %69 = load i32, ptr %68, align 8
  %70 = and i32 %69, -16776961
  %71 = or disjoint i32 %70, 2108160
  store i32 %71, ptr %68, align 8
  %72 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %73 = getelementptr inbounds i8, ptr %72, i64 32
  store ptr @.str.3, ptr %73, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %7, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  %74 = load ptr, ptr %53, align 8, !tbaa !20
  %75 = load ptr, ptr %4, align 8, !tbaa !21
  %76 = call noundef i32 %74(ptr noundef nonnull %17, ptr noundef %75, i64 noundef 0, i64 noundef 1024, ptr noundef nonnull %41)
  store i32 %76, ptr %8, align 4, !tbaa !17
  %77 = 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) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1008, ptr noundef null)
  %78 = icmp eq i32 %77, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br i1 %78, label %79, label %80

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

80:                                               ; preds = %60
  %81 = load ptr, ptr %61, align 8, !tbaa !22
  %82 = load ptr, ptr %4, align 8, !tbaa !21
  call void %81(ptr noundef nonnull %17, ptr noundef %82)
  %83 = getelementptr inbounds i8, ptr %17, i64 8
  %84 = load ptr, ptr %83, align 8, !tbaa !24
  %85 = call noundef i32 %84(ptr noundef nonnull %17, ptr noundef %21, ptr noundef nonnull %4)
  %86 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %87 = getelementptr inbounds i8, ptr %86, i64 96
  %88 = load i32, ptr %87, align 8
  %89 = and i32 %88, -16776961
  %90 = or disjoint i32 %89, 2109696
  store i32 %90, ptr %87, align 8
  %91 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %92 = getelementptr inbounds i8, ptr %91, i64 32
  store ptr @.str.3, ptr %92, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 0, ptr %9, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %93 = getelementptr inbounds i8, ptr %17, i64 24
  %94 = load ptr, ptr %93, align 8, !tbaa !25
  %95 = load ptr, ptr %4, align 8, !tbaa !21
  %96 = call noundef i32 %94(ptr noundef nonnull %17, ptr noundef %95, i64 noundef 0, i64 noundef 1024, ptr noundef %42)
  store i32 %96, ptr %10, align 4, !tbaa !17
  %97 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1009, ptr noundef null)
  %98 = icmp eq i32 %97, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br i1 %98, label %99, label %100

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

100:                                              ; preds = %80
  %101 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %102 = getelementptr inbounds i8, ptr %101, i64 96
  %103 = load i32, ptr %102, align 8
  %104 = and i32 %103, -16776961
  %105 = or disjoint i32 %104, 2109952
  store i32 %105, ptr %102, align 8
  %106 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %107 = getelementptr inbounds i8, ptr %106, i64 32
  store ptr @.str.3, ptr %107, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  store i32 0, ptr %11, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  %108 = call i32 @memcmp(ptr noundef nonnull dereferenceable(1024) %41, ptr noundef nonnull dereferenceable(1024) %42, i64 noundef 1024) #7
  store i32 %108, ptr %12, align 4, !tbaa !17
  %109 = 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.1010, ptr noundef null)
  %110 = icmp eq i32 %109, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  br i1 %110, label %111, label %112

111:                                              ; preds = %100
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %141

112:                                              ; preds = %100
  %113 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %114 = getelementptr inbounds i8, ptr %113, i64 96
  %115 = load i32, ptr %114, align 8
  %116 = and i32 %115, -16776961
  %117 = or disjoint i32 %116, 2110720
  store i32 %117, ptr %114, align 8
  %118 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %119 = getelementptr inbounds i8, ptr %118, i64 32
  store ptr @.str.3, ptr %119, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store i32 0, ptr %13, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  %120 = load ptr, ptr %93, align 8, !tbaa !25
  %121 = load ptr, ptr %4, align 8, !tbaa !21
  %122 = call noundef i32 %120(ptr noundef nonnull %17, ptr noundef %121, i64 noundef 1024, i64 noundef 1024, ptr noundef %42)
  store i32 %122, ptr %14, align 4, !tbaa !17
  %123 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1011, ptr noundef null)
  %124 = icmp eq i32 %123, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br i1 %124, label %125, label %126

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

126:                                              ; preds = %112
  %127 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %128 = getelementptr inbounds i8, ptr %127, i64 96
  %129 = load i32, ptr %128, align 8
  %130 = and i32 %129, -16776961
  %131 = or disjoint i32 %130, 2110976
  store i32 %131, ptr %128, align 8
  %132 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %133 = getelementptr inbounds i8, ptr %132, i64 32
  store ptr @.str.3, ptr %133, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 0, ptr %15, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %134 = call i32 @memcmp(ptr noundef nonnull dereferenceable(1024) %40, ptr noundef nonnull dereferenceable(1024) %42, i64 noundef 1024) #7
  store i32 %134, ptr %16, align 4, !tbaa !17
  %135 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.1012, ptr noundef null)
  %136 = icmp eq i32 %135, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br i1 %136, label %137, label %138

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

138:                                              ; preds = %126
  %139 = load ptr, ptr %61, align 8, !tbaa !22
  %140 = load ptr, ptr %4, align 8, !tbaa !21
  call void %139(ptr noundef nonnull %17, ptr noundef %140)
  call void @Longtail_DisposeAPI(ptr noundef nonnull %17)
  call void @Longtail_Free(ptr noundef nonnull %41)
  call void @Longtail_Free(ptr noundef nonnull %40)
  call void @Longtail_Free(ptr noundef %42)
  call void @Longtail_Free(ptr noundef %18)
  call void @Longtail_Free(ptr noundef %21)
  br label %141

141:                                              ; preds = %138, %137, %125, %111, %99, %79, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %142

142:                                              ; preds = %141, %38
  ret void
}

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

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

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


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