; LLVM IR from DanEngelbrecht/longtail :: test/test.ll/ZN33Longtail_CopyStoreIndex (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_StoredBlock = type { ptr, ptr, ptr, i32 }
%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_StoreIndex = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_HashAPI = type { %struct.Longtail_API, ptr, ptr, ptr, ptr, ptr }
%struct.Longtail_API = type { ptr }

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.800 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.801 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.802 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.803 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.804 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.805 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.806 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.807 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.808 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.809 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.810 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.811 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.812 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.813 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.814 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.815 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.816 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.817 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.818 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.819 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.820 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

declare void @_Z28jc_test_increment_assertionsv() #2

declare void @_Z21jc_test_set_test_faili(i32 noundef) #2

declare void @Longtail_Free(ptr noundef) #2

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

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

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

declare void @Longtail_DisposeAPI(ptr noundef) #2

declare ptr @Longtail_CreateBlake3HashAPI() #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN33Longtail_CopyStoreIndex__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 [2 x ptr], align 16
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %15 = call ptr @Longtail_CreateBlake3HashAPI()
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call noundef ptr @_ZL21TestCreateStoredBlockP16Longtail_HashAPIhjj(ptr noundef %16, i8 noundef zeroext 77, i32 noundef 33, i32 noundef 413)
  store ptr %17, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = call noundef ptr @_ZL21TestCreateStoredBlockP16Longtail_HashAPIhjj(ptr noundef %18, i8 noundef zeroext 99, i32 noundef 31, i32 noundef 317)
  store ptr %19, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.Longtail_StoredBlock, ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  store ptr %22, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds ptr, ptr %6, i64 1
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.Longtail_StoredBlock, ptr %24, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  store ptr %26, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  br label %27

27:                                               ; preds = %1
  %28 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %29 = getelementptr inbounds %struct.jc_test_fixture, ptr %28, i32 0, i32 11
  %30 = load i32, ptr %29, align 8
  %31 = and i32 %30, -16776961
  %32 = or i32 %31, 1765632
  store i32 %32, ptr %29, align 8
  %33 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %34 = getelementptr inbounds %struct.jc_test_fixture, ptr %33, i32 0, i32 4
  store ptr @.str.3, ptr %34, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %35 = getelementptr inbounds [2 x ptr], ptr %6, i64 0, i64 0
  %36 = call i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef 2, ptr noundef %35, ptr noundef %7)
  store i32 %36, ptr %9, align 4, !tbaa !16
  %37 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef @.str.46, ptr noundef @.str.800, ptr noundef null)
  %38 = icmp eq i32 %37, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br i1 %38, label %39, label %40

39:                                               ; preds = %27
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %318

40:                                               ; preds = %27
  br label %41

41:                                               ; preds = %40
  br label %42

42:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = call ptr @Longtail_CopyStoreIndex(ptr noundef %43)
  store ptr %44, ptr %11, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %42
  %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, 1766144
  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 !12
  call void @_Z28jc_test_increment_assertionsv()
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !17
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  %59 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef @.str.801, ptr noundef @.str.802)
  %60 = icmp eq i32 %59, 0
  br i1 %60, label %61, label %62

61:                                               ; preds = %45
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %317

62:                                               ; preds = %45
  br label %63

63:                                               ; preds = %62
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  %66 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %67 = getelementptr inbounds %struct.jc_test_fixture, ptr %66, i32 0, i32 11
  %68 = load i32, ptr %67, align 8
  %69 = and i32 %68, -16776961
  %70 = or i32 %69, 1766400
  store i32 %70, ptr %67, align 8
  %71 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %72 = getelementptr inbounds %struct.jc_test_fixture, ptr %71, i32 0, i32 4
  store ptr @.str.3, ptr %72, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %73, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !19
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  %79 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef @.str.803, ptr noundef @.str.804)
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %65
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %317

82:                                               ; preds = %65
  br label %83

83:                                               ; preds = %82
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  %86 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %87 = getelementptr inbounds %struct.jc_test_fixture, ptr %86, i32 0, i32 11
  %88 = load i32, ptr %87, align 8
  %89 = and i32 %88, -16776961
  %90 = or i32 %89, 1766656
  store i32 %90, ptr %87, align 8
  %91 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %92 = getelementptr inbounds %struct.jc_test_fixture, ptr %91, i32 0, i32 4
  store ptr @.str.3, ptr %92, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !20
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %96, i32 0, i32 2
  %98 = load ptr, ptr %97, align 8, !tbaa !20
  %99 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %95, ptr noundef nonnull align 4 dereferenceable(4) %98, ptr noundef @.str.805, ptr noundef @.str.806)
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %85
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %317

102:                                              ; preds = %85
  br label %103

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  %106 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %107 = getelementptr inbounds %struct.jc_test_fixture, ptr %106, i32 0, i32 11
  %108 = load i32, ptr %107, align 8
  %109 = and i32 %108, -16776961
  %110 = or i32 %109, 1766912
  store i32 %110, ptr %107, align 8
  %111 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %112 = getelementptr inbounds %struct.jc_test_fixture, ptr %111, i32 0, i32 4
  store ptr @.str.3, ptr %112, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %113, i32 0, i32 3
  %115 = load ptr, ptr %114, align 8, !tbaa !21
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %116, i32 0, i32 3
  %118 = load ptr, ptr %117, align 8, !tbaa !21
  %119 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %115, ptr noundef nonnull align 4 dereferenceable(4) %118, ptr noundef @.str.807, ptr noundef @.str.808)
  %120 = icmp eq i32 %119, 0
  br i1 %120, label %121, label %122

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

122:                                              ; preds = %105
  br label %123

123:                                              ; preds = %122
  br label %124

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !16
  br label %125

125:                                              ; preds = %238, %124
  %126 = load i32, ptr %12, align 4, !tbaa !16
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %127, i32 0, i32 2
  %129 = load ptr, ptr %128, align 8, !tbaa !20
  %130 = load i32, ptr %129, align 4, !tbaa !16
  %131 = icmp ult i32 %126, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %125
  store i32 12, ptr %10, align 4
  br label %241

133:                                              ; preds = %125
  br label %134

134:                                              ; preds = %133
  %135 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %136 = getelementptr inbounds %struct.jc_test_fixture, ptr %135, i32 0, i32 11
  %137 = load i32, ptr %136, align 8
  %138 = and i32 %137, -16776961
  %139 = or i32 %138, 1767936
  store i32 %139, ptr %136, align 8
  %140 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %141 = getelementptr inbounds %struct.jc_test_fixture, ptr %140, i32 0, i32 4
  store ptr @.str.3, ptr %141, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %142, i32 0, i32 4
  %144 = load ptr, ptr %143, align 8, !tbaa !22
  %145 = load i32, ptr %12, align 4, !tbaa !16
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds i64, ptr %144, i64 %146
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %148, i32 0, i32 4
  %150 = load ptr, ptr %149, align 8, !tbaa !22
  %151 = load i32, ptr %12, align 4, !tbaa !16
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i64, ptr %150, i64 %152
  %154 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @.str.809, ptr noundef @.str.810)
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %156, label %157

156:                                              ; preds = %134
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %241

157:                                              ; preds = %134
  br label %158

158:                                              ; preds = %157
  br label %159

159:                                              ; preds = %158
  br label %160

160:                                              ; preds = %159
  %161 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %162 = getelementptr inbounds %struct.jc_test_fixture, ptr %161, i32 0, i32 11
  %163 = load i32, ptr %162, align 8
  %164 = and i32 %163, -16776961
  %165 = or i32 %164, 1768192
  store i32 %165, ptr %162, align 8
  %166 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %167 = getelementptr inbounds %struct.jc_test_fixture, ptr %166, i32 0, i32 4
  store ptr @.str.3, ptr %167, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %168, i32 0, i32 6
  %170 = load ptr, ptr %169, align 8, !tbaa !23
  %171 = load i32, ptr %12, align 4, !tbaa !16
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds i32, ptr %170, i64 %172
  %174 = load ptr, ptr %11, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %174, i32 0, i32 6
  %176 = load ptr, ptr %175, align 8, !tbaa !23
  %177 = load i32, ptr %12, align 4, !tbaa !16
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds i32, ptr %176, i64 %178
  %180 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %173, ptr noundef nonnull align 4 dereferenceable(4) %179, ptr noundef @.str.811, ptr noundef @.str.812)
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %160
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %241

183:                                              ; preds = %160
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184
  br label %186

186:                                              ; preds = %185
  %187 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %188 = getelementptr inbounds %struct.jc_test_fixture, ptr %187, i32 0, i32 11
  %189 = load i32, ptr %188, align 8
  %190 = and i32 %189, -16776961
  %191 = or i32 %190, 1768448
  store i32 %191, ptr %188, align 8
  %192 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %193 = getelementptr inbounds %struct.jc_test_fixture, ptr %192, i32 0, i32 4
  store ptr @.str.3, ptr %193, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %194, i32 0, i32 7
  %196 = load ptr, ptr %195, align 8, !tbaa !24
  %197 = load i32, ptr %12, align 4, !tbaa !16
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds i32, ptr %196, i64 %198
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %200, i32 0, i32 7
  %202 = load ptr, ptr %201, align 8, !tbaa !24
  %203 = load i32, ptr %12, align 4, !tbaa !16
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds i32, ptr %202, i64 %204
  %206 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %199, ptr noundef nonnull align 4 dereferenceable(4) %205, ptr noundef @.str.813, ptr noundef @.str.814)
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %186
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %241

209:                                              ; preds = %186
  br label %210

210:                                              ; preds = %209
  br label %211

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211
  %213 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %214 = getelementptr inbounds %struct.jc_test_fixture, ptr %213, i32 0, i32 11
  %215 = load i32, ptr %214, align 8
  %216 = and i32 %215, -16776961
  %217 = or i32 %216, 1768704
  store i32 %217, ptr %214, align 8
  %218 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %219 = getelementptr inbounds %struct.jc_test_fixture, ptr %218, i32 0, i32 4
  store ptr @.str.3, ptr %219, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %220 = load ptr, ptr %7, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %220, i32 0, i32 8
  %222 = load ptr, ptr %221, align 8, !tbaa !25
  %223 = load i32, ptr %12, align 4, !tbaa !16
  %224 = zext i32 %223 to i64
  %225 = getelementptr inbounds i32, ptr %222, i64 %224
  %226 = load ptr, ptr %11, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %226, i32 0, i32 8
  %228 = load ptr, ptr %227, align 8, !tbaa !25
  %229 = load i32, ptr %12, align 4, !tbaa !16
  %230 = zext i32 %229 to i64
  %231 = getelementptr inbounds i32, ptr %228, i64 %230
  %232 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %225, ptr noundef nonnull align 4 dereferenceable(4) %231, ptr noundef @.str.815, ptr noundef @.str.816)
  %233 = icmp eq i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %212
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %241

235:                                              ; preds = %212
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %12, align 4, !tbaa !16
  %240 = add i32 %239, 1
  store i32 %240, ptr %12, align 4, !tbaa !16
  br label %125, !llvm.loop !26

241:                                              ; preds = %234, %208, %182, %156, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %242 = load i32, ptr %10, align 4
  switch i32 %242, label %317 [
    i32 12, label %243
  ]

243:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !16
  br label %244

244:                                              ; preds = %305, %243
  %245 = load i32, ptr %13, align 4, !tbaa !16
  %246 = load ptr, ptr %7, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %246, i32 0, i32 3
  %248 = load ptr, ptr %247, align 8, !tbaa !21
  %249 = load i32, ptr %248, align 4, !tbaa !16
  %250 = icmp ult i32 %245, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %244
  store i32 23, ptr %10, align 4
  br label %308

252:                                              ; preds = %244
  br label %253

253:                                              ; preds = %252
  %254 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %255 = getelementptr inbounds %struct.jc_test_fixture, ptr %254, i32 0, i32 11
  %256 = load i32, ptr %255, align 8
  %257 = and i32 %256, -16776961
  %258 = or i32 %257, 1769728
  store i32 %258, ptr %255, align 8
  %259 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %260 = getelementptr inbounds %struct.jc_test_fixture, ptr %259, i32 0, i32 4
  store ptr @.str.3, ptr %260, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %261, i32 0, i32 5
  %263 = load ptr, ptr %262, align 8, !tbaa !28
  %264 = load i32, ptr %13, align 4, !tbaa !16
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds i64, ptr %263, i64 %265
  %267 = load ptr, ptr %11, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %267, i32 0, i32 5
  %269 = load ptr, ptr %268, align 8, !tbaa !28
  %270 = load i32, ptr %13, align 4, !tbaa !16
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds i64, ptr %269, i64 %271
  %273 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @.str.817, ptr noundef @.str.818)
  %274 = icmp eq i32 %273, 0
  br i1 %274, label %275, label %276

275:                                              ; preds = %253
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %308

276:                                              ; preds = %253
  br label %277

277:                                              ; preds = %276
  br label %278

278:                                              ; preds = %277
  br label %279

279:                                              ; preds = %278
  %280 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %281 = getelementptr inbounds %struct.jc_test_fixture, ptr %280, i32 0, i32 11
  %282 = load i32, ptr %281, align 8
  %283 = and i32 %282, -16776961
  %284 = or i32 %283, 1769984
  store i32 %284, ptr %281, align 8
  %285 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %286 = getelementptr inbounds %struct.jc_test_fixture, ptr %285, i32 0, i32 4
  store ptr @.str.3, ptr %286, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %287 = load ptr, ptr %7, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %287, i32 0, i32 9
  %289 = load ptr, ptr %288, align 8, !tbaa !29
  %290 = load i32, ptr %13, align 4, !tbaa !16
  %291 = zext i32 %290 to i64
  %292 = getelementptr inbounds i32, ptr %289, i64 %291
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.Longtail_StoreIndex, ptr %293, i32 0, i32 9
  %295 = load ptr, ptr %294, align 8, !tbaa !29
  %296 = load i32, ptr %13, align 4, !tbaa !16
  %297 = zext i32 %296 to i64
  %298 = getelementptr inbounds i32, ptr %295, i64 %297
  %299 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %292, ptr noundef nonnull align 4 dereferenceable(4) %298, ptr noundef @.str.819, ptr noundef @.str.820)
  %300 = icmp eq i32 %299, 0
  br i1 %300, label %301, label %302

301:                                              ; preds = %279
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %10, align 4
  br label %308

302:                                              ; preds = %279
  br label %303

303:                                              ; preds = %302
  br label %304

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304
  %306 = load i32, ptr %13, align 4, !tbaa !16
  %307 = add i32 %306, 1
  store i32 %307, ptr %13, align 4, !tbaa !16
  br label %244, !llvm.loop !30

308:                                              ; preds = %301, %275, %251
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %309 = load i32, ptr %10, align 4
  switch i32 %309, label %317 [
    i32 23, label %310
  ]

310:                                              ; preds = %308
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %311)
  %312 = load ptr, ptr %7, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %312)
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %313)
  %314 = load ptr, ptr %4, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %314)
  %315 = load ptr, ptr %3, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.Longtail_HashAPI, ptr %315, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %316)
  store i32 0, ptr %10, align 4
  br label %317

317:                                              ; preds = %310, %308, %241, %121, %101, %81, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %318

318:                                              ; preds = %317, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %319 = load i32, ptr %10, align 4
  switch i32 %319, label %321 [
    i32 0, label %320
    i32 1, label %320
  ]

320:                                              ; preds = %318, %318
  ret void

321:                                              ; preds = %318
  unreachable
}

declare ptr @Longtail_CopyStoreIndex(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 8}
!10 = !{!"_ZTS20Longtail_StoredBlock", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"_ZTS15jc_test_fixture", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !14, 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}
!14 = !{!"_ZTS13jc_test_stats", !11, i64 0, !11, i64 4, !11, i64 6, !11, i64 8, !11, i64 12, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS19Longtail_StoreIndex", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!19 = !{!18, !6, i64 8}
!20 = !{!18, !6, i64 16}
!21 = !{!18, !6, i64 24}
!22 = !{!18, !6, i64 32}
!23 = !{!18, !6, i64 48}
!24 = !{!18, !6, i64 56}
!25 = !{!18, !6, i64 64}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!18, !6, i64 40}
!29 = !{!18, !6, i64 72}
!30 = distinct !{!30, !27}


; 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.800 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.801 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.802 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.803 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.804 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.805 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.806 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.807 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.808 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.809 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.810 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.811 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.812 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.813 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.814 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.815 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.816 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.817 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.818 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.819 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.820 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

declare void @_Z28jc_test_increment_assertionsv() local_unnamed_addr #2

declare void @_Z21jc_test_set_test_faili(i32 noundef) local_unnamed_addr #2

declare void @Longtail_Free(ptr noundef) local_unnamed_addr #2

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

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

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

declare void @Longtail_DisposeAPI(ptr noundef) local_unnamed_addr #2

declare ptr @Longtail_CreateBlake3HashAPI() local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN33Longtail_CopyStoreIndex__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #3 align 2 {
  %2 = alloca [2 x ptr], align 16
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = tail call ptr @Longtail_CreateBlake3HashAPI()
  %7 = tail call noundef ptr @_ZL21TestCreateStoredBlockP16Longtail_HashAPIhjj(ptr noundef %6, i8 noundef zeroext 77, i32 noundef 33, i32 noundef 413)
  %8 = tail call noundef ptr @_ZL21TestCreateStoredBlockP16Longtail_HashAPIhjj(ptr noundef %6, i8 noundef zeroext 99, i32 noundef 31, i32 noundef 317)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %9 = getelementptr inbounds i8, ptr %7, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %10, ptr %2, align 16, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %2, i64 8
  %12 = getelementptr inbounds i8, ptr %8, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %13, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %14 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %15 = getelementptr inbounds i8, ptr %14, i64 96
  %16 = load i32, ptr %15, align 8
  %17 = and i32 %16, -16776961
  %18 = or disjoint i32 %17, 1765632
  store i32 %18, ptr %15, align 8
  %19 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %20 = getelementptr inbounds i8, ptr %19, i64 32
  store ptr @.str.3, ptr %20, align 8, !tbaa !12
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %21 = call i32 @Longtail_CreateStoreIndexFromBlocks(i32 noundef 2, ptr noundef nonnull %2, ptr noundef nonnull %3)
  store i32 %21, ptr %5, align 4, !tbaa !16
  %22 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.800, ptr noundef null)
  %23 = icmp eq i32 %22, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  br i1 %23, label %24, label %25

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

25:                                               ; preds = %1
  %26 = load ptr, ptr %3, align 8, !tbaa !11
  %27 = call ptr @Longtail_CopyStoreIndex(ptr noundef %26)
  %28 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %29 = getelementptr inbounds i8, ptr %28, i64 96
  %30 = load i32, ptr %29, align 8
  %31 = and i32 %30, -16776961
  %32 = or disjoint i32 %31, 1766144
  store i32 %32, ptr %29, align 8
  %33 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %34 = getelementptr inbounds i8, ptr %33, i64 32
  store ptr @.str.3, ptr %34, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %35 = load ptr, ptr %3, align 8, !tbaa !11
  %36 = load ptr, ptr %35, align 8, !tbaa !17
  %37 = load ptr, ptr %27, align 8, !tbaa !17
  %38 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull @.str.801, ptr noundef nonnull @.str.802)
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %41

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

41:                                               ; preds = %25
  %42 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %43 = getelementptr inbounds i8, ptr %42, i64 96
  %44 = load i32, ptr %43, align 8
  %45 = and i32 %44, -16776961
  %46 = or disjoint i32 %45, 1766400
  store i32 %46, ptr %43, align 8
  %47 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %48 = getelementptr inbounds i8, ptr %47, i64 32
  store ptr @.str.3, ptr %48, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %49 = load ptr, ptr %3, align 8, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %49, i64 8
  %51 = load ptr, ptr %50, align 8, !tbaa !19
  %52 = getelementptr inbounds i8, ptr %27, i64 8
  %53 = load ptr, ptr %52, align 8, !tbaa !19
  %54 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull @.str.803, ptr noundef nonnull @.str.804)
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %57

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

57:                                               ; preds = %41
  %58 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %59 = getelementptr inbounds i8, ptr %58, i64 96
  %60 = load i32, ptr %59, align 8
  %61 = and i32 %60, -16776961
  %62 = or disjoint i32 %61, 1766656
  store i32 %62, ptr %59, align 8
  %63 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %64 = getelementptr inbounds i8, ptr %63, i64 32
  store ptr @.str.3, ptr %64, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %65 = load ptr, ptr %3, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %65, i64 16
  %67 = load ptr, ptr %66, align 8, !tbaa !20
  %68 = getelementptr inbounds i8, ptr %27, i64 16
  %69 = load ptr, ptr %68, align 8, !tbaa !20
  %70 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull @.str.805, ptr noundef nonnull @.str.806)
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %73

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

73:                                               ; preds = %57
  %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, 1766912
  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 !12
  call void @_Z28jc_test_increment_assertionsv()
  %81 = load ptr, ptr %3, align 8, !tbaa !11
  %82 = getelementptr inbounds i8, ptr %81, i64 24
  %83 = load ptr, ptr %82, align 8, !tbaa !21
  %84 = getelementptr inbounds i8, ptr %27, i64 24
  %85 = load ptr, ptr %84, align 8, !tbaa !21
  %86 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %83, ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull @.str.807, ptr noundef nonnull @.str.808)
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %96, label %.preheader

.preheader:                                       ; preds = %73
  %88 = load ptr, ptr %3, align 8, !tbaa !11
  %89 = getelementptr inbounds i8, ptr %88, i64 16
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = load i32, ptr %90, align 4, !tbaa !16
  %.not42.not = icmp eq i32 %91, 0
  br i1 %.not42.not, label %.critedge.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %92 = getelementptr inbounds i8, ptr %27, i64 32
  %93 = getelementptr inbounds i8, ptr %27, i64 48
  %94 = getelementptr inbounds i8, ptr %27, i64 56
  %95 = getelementptr inbounds i8, ptr %27, i64 64
  br label %109

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

97:                                               ; preds = %160
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %98 = load ptr, ptr %3, align 8, !tbaa !11
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  %101 = load i32, ptr %100, align 4, !tbaa !16
  %102 = zext i32 %101 to i64
  %.not = icmp ult i64 %indvars.iv.next, %102
  br i1 %.not, label %109, label %.critedge.preheader, !llvm.loop !22

.critedge.preheader:                              ; preds = %97, %.preheader
  %103 = phi ptr [ %88, %.preheader ], [ %98, %97 ]
  %104 = getelementptr inbounds i8, ptr %103, i64 24
  %105 = load ptr, ptr %104, align 8, !tbaa !21
  %106 = load i32, ptr %105, align 4, !tbaa !16
  %.not3944.not = icmp eq i32 %106, 0
  br i1 %.not3944.not, label %.critedge41, label %.lr.ph46

.lr.ph46:                                         ; preds = %.critedge.preheader
  %107 = getelementptr inbounds i8, ptr %27, i64 40
  %108 = getelementptr inbounds i8, ptr %27, i64 72
  br label %182

109:                                              ; preds = %.lr.ph, %97
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %97 ]
  %110 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %111 = getelementptr inbounds i8, ptr %110, i64 96
  %112 = load i32, ptr %111, align 8
  %113 = and i32 %112, -16776961
  %114 = or disjoint i32 %113, 1767936
  store i32 %114, ptr %111, align 8
  %115 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %116 = getelementptr inbounds i8, ptr %115, i64 32
  store ptr @.str.3, ptr %116, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %117 = load ptr, ptr %3, align 8, !tbaa !11
  %118 = getelementptr inbounds i8, ptr %117, i64 32
  %119 = load ptr, ptr %118, align 8, !tbaa !24
  %120 = getelementptr inbounds i64, ptr %119, i64 %indvars.iv
  %121 = load ptr, ptr %92, align 8, !tbaa !24
  %122 = getelementptr inbounds i64, ptr %121, i64 %indvars.iv
  %123 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull @.str.809, ptr noundef nonnull @.str.810)
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %126

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

126:                                              ; preds = %109
  %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, 1768192
  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()
  %134 = load ptr, ptr %3, align 8, !tbaa !11
  %135 = getelementptr inbounds i8, ptr %134, i64 48
  %136 = load ptr, ptr %135, align 8, !tbaa !25
  %137 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv
  %138 = load ptr, ptr %93, align 8, !tbaa !25
  %139 = getelementptr inbounds i32, ptr %138, i64 %indvars.iv
  %140 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %137, ptr noundef nonnull align 4 dereferenceable(4) %139, ptr noundef nonnull @.str.811, ptr noundef nonnull @.str.812)
  %141 = icmp eq i32 %140, 0
  br i1 %141, label %142, label %143

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

143:                                              ; preds = %126
  %144 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %145 = getelementptr inbounds i8, ptr %144, i64 96
  %146 = load i32, ptr %145, align 8
  %147 = and i32 %146, -16776961
  %148 = or disjoint i32 %147, 1768448
  store i32 %148, ptr %145, align 8
  %149 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  store ptr @.str.3, ptr %150, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %151 = load ptr, ptr %3, align 8, !tbaa !11
  %152 = getelementptr inbounds i8, ptr %151, i64 56
  %153 = load ptr, ptr %152, align 8, !tbaa !26
  %154 = getelementptr inbounds i32, ptr %153, i64 %indvars.iv
  %155 = load ptr, ptr %94, align 8, !tbaa !26
  %156 = getelementptr inbounds i32, ptr %155, i64 %indvars.iv
  %157 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %154, ptr noundef nonnull align 4 dereferenceable(4) %156, ptr noundef nonnull @.str.813, ptr noundef nonnull @.str.814)
  %158 = icmp eq i32 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %143
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %217

160:                                              ; preds = %143
  %161 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %162 = getelementptr inbounds i8, ptr %161, i64 96
  %163 = load i32, ptr %162, align 8
  %164 = and i32 %163, -16776961
  %165 = or disjoint i32 %164, 1768704
  store i32 %165, ptr %162, align 8
  %166 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %167 = getelementptr inbounds i8, ptr %166, i64 32
  store ptr @.str.3, ptr %167, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %168 = load ptr, ptr %3, align 8, !tbaa !11
  %169 = getelementptr inbounds i8, ptr %168, i64 64
  %170 = load ptr, ptr %169, align 8, !tbaa !27
  %171 = getelementptr inbounds i32, ptr %170, i64 %indvars.iv
  %172 = load ptr, ptr %95, align 8, !tbaa !27
  %173 = getelementptr inbounds i32, ptr %172, i64 %indvars.iv
  %174 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %171, ptr noundef nonnull align 4 dereferenceable(4) %173, ptr noundef nonnull @.str.815, ptr noundef nonnull @.str.816)
  %175 = icmp eq i32 %174, 0
  br i1 %175, label %176, label %97

176:                                              ; preds = %160
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %217

.critedge:                                        ; preds = %199
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %177 = load ptr, ptr %3, align 8, !tbaa !11
  %178 = getelementptr inbounds i8, ptr %177, i64 24
  %179 = load ptr, ptr %178, align 8, !tbaa !21
  %180 = load i32, ptr %179, align 4, !tbaa !16
  %181 = zext i32 %180 to i64
  %.not39 = icmp ult i64 %indvars.iv.next49, %181
  br i1 %.not39, label %182, label %.critedge41, !llvm.loop !28

182:                                              ; preds = %.lr.ph46, %.critedge
  %indvars.iv48 = phi i64 [ 0, %.lr.ph46 ], [ %indvars.iv.next49, %.critedge ]
  %183 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %184 = getelementptr inbounds i8, ptr %183, i64 96
  %185 = load i32, ptr %184, align 8
  %186 = and i32 %185, -16776961
  %187 = or disjoint i32 %186, 1769728
  store i32 %187, ptr %184, align 8
  %188 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %189 = getelementptr inbounds i8, ptr %188, i64 32
  store ptr @.str.3, ptr %189, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %190 = load ptr, ptr %3, align 8, !tbaa !11
  %191 = getelementptr inbounds i8, ptr %190, i64 40
  %192 = load ptr, ptr %191, align 8, !tbaa !29
  %193 = getelementptr inbounds i64, ptr %192, i64 %indvars.iv48
  %194 = load ptr, ptr %107, align 8, !tbaa !29
  %195 = getelementptr inbounds i64, ptr %194, i64 %indvars.iv48
  %196 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull @.str.817, ptr noundef nonnull @.str.818)
  %197 = icmp eq i32 %196, 0
  br i1 %197, label %198, label %199

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

199:                                              ; preds = %182
  %200 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %201 = getelementptr inbounds i8, ptr %200, i64 96
  %202 = load i32, ptr %201, align 8
  %203 = and i32 %202, -16776961
  %204 = or disjoint i32 %203, 1769984
  store i32 %204, ptr %201, align 8
  %205 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %206 = getelementptr inbounds i8, ptr %205, i64 32
  store ptr @.str.3, ptr %206, align 8, !tbaa !12
  call void @_Z28jc_test_increment_assertionsv()
  %207 = load ptr, ptr %3, align 8, !tbaa !11
  %208 = getelementptr inbounds i8, ptr %207, i64 72
  %209 = load ptr, ptr %208, align 8, !tbaa !30
  %210 = getelementptr inbounds i32, ptr %209, i64 %indvars.iv48
  %211 = load ptr, ptr %108, align 8, !tbaa !30
  %212 = getelementptr inbounds i32, ptr %211, i64 %indvars.iv48
  %213 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %210, ptr noundef nonnull align 4 dereferenceable(4) %212, ptr noundef nonnull @.str.819, ptr noundef nonnull @.str.820)
  %214 = icmp eq i32 %213, 0
  br i1 %214, label %215, label %.critedge

215:                                              ; preds = %199
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %217

.critedge41:                                      ; preds = %.critedge, %.critedge.preheader
  call void @Longtail_Free(ptr noundef nonnull %27)
  %216 = load ptr, ptr %3, align 8, !tbaa !11
  call void @Longtail_Free(ptr noundef %216)
  call void @Longtail_Free(ptr noundef %8)
  call void @Longtail_Free(ptr noundef %7)
  call void @Longtail_DisposeAPI(ptr noundef %6)
  br label %217

217:                                              ; preds = %198, %215, %125, %142, %159, %176, %40, %56, %72, %96, %.critedge41, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  ret void
}

declare ptr @Longtail_CopyStoreIndex(ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 8}
!6 = !{!"_ZTS20Longtail_StoredBlock", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 32}
!13 = !{!"_ZTS15jc_test_fixture", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !14, i64 64, !10, i64 88, !10, i64 91, !10, i64 91, !10, i64 91, !10, i64 91, !10, i64 92, !10, i64 96, !10, i64 97, !10, i64 99, !10, i64 100}
!14 = !{!"_ZTS13jc_test_stats", !10, i64 0, !10, i64 4, !10, i64 6, !10, i64 8, !10, i64 12, !15, i64 16}
!15 = !{!"long", !8, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !7, i64 0}
!18 = !{!"_ZTS19Longtail_StoreIndex", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72}
!19 = !{!18, !7, i64 8}
!20 = !{!18, !7, i64 16}
!21 = !{!18, !7, i64 24}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!18, !7, i64 32}
!25 = !{!18, !7, i64 48}
!26 = !{!18, !7, i64 56}
!27 = !{!18, !7, i64 64}
!28 = distinct !{!28, !23}
!29 = !{!18, !7, i64 40}
!30 = !{!18, !7, i64 72}


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