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

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

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

@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.510 = external hidden unnamed_addr constant [5 x i8], align 1
@__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [10 x ptr], align 16
@__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [10 x ptr], align 16
@.str.574 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.575 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.576 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.578 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.580 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.582 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.583 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.584 = external hidden unnamed_addr constant [19 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: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

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

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

declare void @Longtail_DisposeAPI(ptr noundef) #1

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

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

declare ptr @Longtail_CreateFSStorageAPI() #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(8) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca [10 x ptr], align 16
  %6 = alloca [10 x ptr], align 16
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %27 = call ptr @Longtail_CreateFSStorageAPI()
  store ptr %27, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 10, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_FILENAMES, i64 80, i1 false)
  call void @llvm.lifetime.start.p0(i64 80, ptr %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_STRINGS, i64 80, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store ptr @.str.574, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  br label %28

28:                                               ; preds = %1
  %29 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %30 = getelementptr inbounds %struct.jc_test_fixture, ptr %29, i32 0, i32 11
  %31 = load i32, ptr %30, align 8
  %32 = and i32 %31, -16776961
  %33 = or i32 %32, 922368
  store i32 %33, ptr %30, align 8
  %34 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %35 = getelementptr inbounds %struct.jc_test_fixture, ptr %34, i32 0, i32 4
  store ptr @.str.3, ptr %35, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %36, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %37, ptr noundef %8)
  store i32 %38, ptr %10, align 4, !tbaa !9
  %39 = 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 @.str.46, ptr noundef @.str.575, ptr noundef null)
  %40 = icmp eq i32 %39, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br i1 %40, label %41, label %42

41:                                               ; preds = %28
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %241

42:                                               ; preds = %28
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %47 = getelementptr inbounds %struct.jc_test_fixture, ptr %46, i32 0, i32 11
  %48 = load i32, ptr %47, align 8
  %49 = and i32 %48, -16776961
  %50 = or i32 %49, 922624
  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 !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 20, ptr %12, align 4, !tbaa !9
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.Longtail_FileInfos, ptr %53, i32 0, i32 0
  %55 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef @.str.576, ptr noundef @.str.577)
  %56 = icmp eq i32 %55, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br i1 %56, label %57, label %58

57:                                               ; preds = %45
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %241

58:                                               ; preds = %45
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %61)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %62

62:                                               ; preds = %229, %60
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = icmp ult i32 %63, 10
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  store i32 6, ptr %11, align 4
  br label %232

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %67, i32 0, i32 12
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds [10 x ptr], ptr %5, i64 0, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = call noundef ptr %69(ptr noundef %70, ptr noundef %71, ptr noundef %75)
  store ptr %76, ptr %14, align 8, !tbaa !5
  br label %77

77:                                               ; preds = %66
  %78 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %79 = getelementptr inbounds %struct.jc_test_fixture, ptr %78, i32 0, i32 11
  %80 = load i32, ptr %79, align 8
  %81 = and i32 %80, -16776961
  %82 = or i32 %81, 924160
  store i32 %82, ptr %79, align 8
  %83 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %84 = getelementptr inbounds %struct.jc_test_fixture, ptr %83, i32 0, i32 4
  store ptr @.str.3, ptr %84, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %85 = load ptr, ptr %14, align 8, !tbaa !5
  %86 = call noundef i32 @_Z14jc_test_cmp_NEIPcS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %85, ptr noundef @.str.44, ptr noundef @.str.578)
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %88, label %89

88:                                               ; preds = %77
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %226

89:                                               ; preds = %77
  br label %90

90:                                               ; preds = %89
  br label %91

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

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

108:                                              ; preds = %92
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %225

109:                                              ; preds = %92
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %112 = load i32, ptr %13, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = call i64 @strlen(ptr noundef %115) #7
  store i64 %116, ptr %18, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  br label %117

117:                                              ; preds = %111
  %118 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %119 = getelementptr inbounds %struct.jc_test_fixture, ptr %118, i32 0, i32 11
  %120 = load i32, ptr %119, align 8
  %121 = and i32 %120, -16776961
  %122 = or i32 %121, 925440
  store i32 %122, ptr %119, align 8
  %123 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %124 = getelementptr inbounds %struct.jc_test_fixture, ptr %123, i32 0, i32 4
  store ptr @.str.3, ptr %124, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %125, i32 0, i32 2
  %127 = load ptr, ptr %126, align 8, !tbaa !20
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = load ptr, ptr %15, align 8, !tbaa !5
  %130 = call noundef i32 %127(ptr noundef %128, ptr noundef %129, ptr noundef %19)
  store i32 %130, ptr %21, align 4, !tbaa !9
  %131 = 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) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef @.str.46, ptr noundef @.str.580, ptr noundef null)
  %132 = icmp eq i32 %131, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br i1 %132, label %133, label %134

133:                                              ; preds = %117
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %224

134:                                              ; preds = %117
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  %138 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %139 = getelementptr inbounds %struct.jc_test_fixture, ptr %138, i32 0, i32 11
  %140 = load i32, ptr %139, align 8
  %141 = and i32 %140, -16776961
  %142 = or i32 %141, 925696
  store i32 %142, ptr %139, align 8
  %143 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %144 = getelementptr inbounds %struct.jc_test_fixture, ptr %143, i32 0, i32 4
  store ptr @.str.3, ptr %144, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %145 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef @.str.581, ptr noundef @.str.510)
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %148

147:                                              ; preds = %137
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %224

148:                                              ; preds = %137
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  %151 = load i64, ptr %19, align 8, !tbaa !19
  %152 = icmp ugt i64 %151, 0
  br i1 %152, label %153, label %217

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %154 = load i64, ptr %19, align 8, !tbaa !19
  %155 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %154)
  store ptr %155, ptr %22, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %153
  %157 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %158 = getelementptr inbounds %struct.jc_test_fixture, ptr %157, i32 0, i32 11
  %159 = load i32, ptr %158, align 8
  %160 = and i32 %159, -16776961
  %161 = or i32 %160, 926720
  store i32 %161, ptr %158, align 8
  %162 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %163 = getelementptr inbounds %struct.jc_test_fixture, ptr %162, i32 0, i32 4
  store ptr @.str.3, ptr %163, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %164 = load ptr, ptr %3, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %164, i32 0, i32 3
  %166 = load ptr, ptr %165, align 8, !tbaa !21
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = load i64, ptr %19, align 8, !tbaa !19
  %170 = load ptr, ptr %22, align 8, !tbaa !5
  %171 = call noundef i32 %166(ptr noundef %167, ptr noundef %168, i64 noundef 0, i64 noundef %169, ptr noundef %170)
  store i32 %171, ptr %24, align 4, !tbaa !9
  %172 = 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.582, ptr noundef null)
  %173 = icmp eq i32 %172, 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 %173, label %174, label %175

174:                                              ; preds = %156
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %214

175:                                              ; preds = %156
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store i64 0, ptr %25, align 8, !tbaa !19
  br label %178

178:                                              ; preds = %207, %177
  %179 = load i64, ptr %25, align 8, !tbaa !19
  %180 = load i64, ptr %19, align 8, !tbaa !19
  %181 = icmp ult i64 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 19, ptr %11, align 4
  br label %210

183:                                              ; preds = %178
  br label %184

184:                                              ; preds = %183
  %185 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %186 = getelementptr inbounds %struct.jc_test_fixture, ptr %185, i32 0, i32 11
  %187 = load i32, ptr %186, align 8
  %188 = and i32 %187, -16776961
  %189 = or i32 %188, 927488
  store i32 %189, ptr %186, align 8
  %190 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %191 = getelementptr inbounds %struct.jc_test_fixture, ptr %190, i32 0, i32 4
  store ptr @.str.3, ptr %191, align 8, !tbaa !11
  call void @_Z28jc_test_increment_assertionsv()
  %192 = load ptr, ptr %22, align 8, !tbaa !5
  %193 = load i64, ptr %25, align 8, !tbaa !19
  %194 = getelementptr inbounds i8, ptr %192, i64 %193
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = zext i32 %195 to i64
  %197 = getelementptr inbounds [10 x ptr], ptr %6, i64 0, i64 %196
  %198 = load ptr, ptr %197, align 8, !tbaa !5
  %199 = load i64, ptr %25, align 8, !tbaa !19
  %200 = getelementptr inbounds i8, ptr %198, i64 %199
  %201 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIccEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 1 dereferenceable(1) %194, ptr noundef nonnull align 1 dereferenceable(1) %200, ptr noundef @.str.583, ptr noundef @.str.584)
  %202 = icmp eq i32 %201, 0
  br i1 %202, label %203, label %204

203:                                              ; preds = %184
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  store i32 1, ptr %11, align 4
  br label %210

204:                                              ; preds = %184
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  br label %207

207:                                              ; preds = %206
  %208 = load i64, ptr %25, align 8, !tbaa !19
  %209 = add i64 %208, 1
  store i64 %209, ptr %25, align 8, !tbaa !19
  br label %178, !llvm.loop !22

210:                                              ; preds = %203, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %211 = load i32, ptr %11, align 4
  switch i32 %211, label %214 [
    i32 19, label %212
  ]

212:                                              ; preds = %210
  %213 = load ptr, ptr %22, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %213)
  store i32 0, ptr %11, align 4
  br label %214

214:                                              ; preds = %212, %210, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  %215 = load i32, ptr %11, align 4
  switch i32 %215, label %224 [
    i32 0, label %216
  ]

216:                                              ; preds = %214
  br label %217

217:                                              ; preds = %216, %150
  %218 = load ptr, ptr %3, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %218, i32 0, i32 9
  %220 = load ptr, ptr %219, align 8, !tbaa !24
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = load ptr, ptr %15, align 8, !tbaa !5
  call void %220(ptr noundef %221, ptr noundef %222)
  %223 = load ptr, ptr %14, align 8, !tbaa !5
  call void @Longtail_Free(ptr noundef %223)
  store i32 0, ptr %11, align 4
  br label %224

224:                                              ; preds = %217, %214, %147, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %225

225:                                              ; preds = %224, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %226

226:                                              ; preds = %225, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  %227 = load i32, ptr %11, align 4
  switch i32 %227, label %232 [
    i32 0, label %228
  ]

228:                                              ; preds = %226
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %13, align 4, !tbaa !9
  %231 = add i32 %230, 1
  store i32 %231, ptr %13, align 4, !tbaa !9
  br label %62, !llvm.loop !25

232:                                              ; preds = %226, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  %233 = load i32, ptr %11, align 4
  switch i32 %233, label %241 [
    i32 6, label %234
  ]

234:                                              ; preds = %232
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  %236 = icmp ne ptr %235, null
  br i1 %236, label %237, label %240

237:                                              ; preds = %234
  %238 = load ptr, ptr %3, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.Longtail_StorageAPI, ptr %238, i32 0, i32 0
  call void @Longtail_DisposeAPI(ptr noundef %239)
  br label %240

240:                                              ; preds = %237, %234
  store i32 0, ptr %11, align 4
  br label %241

241:                                              ; preds = %240, %232, %57, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %242 = load i32, ptr %11, align 4
  switch i32 %242, label %244 [
    i32 0, label %243
    i32 1, label %243
  ]

243:                                              ; preds = %241, %241
  ret void

244:                                              ; preds = %241
  unreachable
}

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

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

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

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


; 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.44 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.510 = external hidden unnamed_addr constant [5 x i8], align 1
@__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_FILENAMES = external hidden unnamed_addr constant [10 x ptr], align 16
@__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_STRINGS = external hidden unnamed_addr constant [10 x ptr], align 16
@.str.574 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.575 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.576 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.577 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.578 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.580 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.581 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.582 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.583 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.584 = external hidden unnamed_addr constant [19 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 nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

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

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

; 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 #4 align 2

declare void @Longtail_DisposeAPI(ptr noundef) local_unnamed_addr #1

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

declare ptr @Longtail_CreateFSStorageAPI() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = tail call ptr @Longtail_CreateFSStorageAPI()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %16 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %17 = getelementptr inbounds i8, ptr %16, i64 96
  %18 = load i32, ptr %17, align 8
  %19 = and i32 %18, -16776961
  %20 = or disjoint i32 %19, 922368
  store i32 %20, ptr %17, align 8
  %21 = tail call noundef ptr @_ZL19jc_test_get_fixturev()
  %22 = getelementptr inbounds i8, ptr %21, i64 32
  store ptr @.str.3, ptr %22, align 8, !tbaa !5
  tail call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %23 = call i32 @Longtail_GetFilesRecursively2(ptr noundef %15, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef nonnull @.str.574, ptr noundef nonnull %2)
  store i32 %23, ptr %4, align 4, !tbaa !13
  %24 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb1EE7compareIiiEEiRKT_RKT0_PKcS9_PN23jc_test_enable_argumentIXntsr18jc_test_is_pointerIS5_EE5valueEE4typeE(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.575, ptr noundef null)
  %25 = icmp eq i32 %24, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  br i1 %25, label %26, label %27

26:                                               ; preds = %1
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %.thread58

27:                                               ; preds = %1
  %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, 922624
  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 !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 20, ptr %5, align 4, !tbaa !13
  %35 = load ptr, ptr %2, align 8, !tbaa !14
  %36 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIjjEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull @.str.576, ptr noundef nonnull @.str.577)
  %37 = icmp eq i32 %36, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br i1 %37, label %38, label %39

38:                                               ; preds = %27
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %.thread58

39:                                               ; preds = %27
  %40 = load ptr, ptr %2, align 8, !tbaa !14
  call void @Longtail_Free(ptr noundef %40)
  %41 = getelementptr inbounds i8, ptr %15, i64 96
  %42 = getelementptr inbounds i8, ptr %15, i64 8
  %43 = getelementptr inbounds i8, ptr %15, i64 16
  %44 = getelementptr inbounds i8, ptr %15, i64 24
  %45 = getelementptr inbounds i8, ptr %15, i64 72
  br label %46

46:                                               ; preds = %39, %130
  %indvars.iv = phi i64 [ 0, %39 ], [ %indvars.iv.next, %130 ]
  %47 = load ptr, ptr %41, align 8, !tbaa !15
  %48 = getelementptr inbounds [10 x ptr], ptr @__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_FILENAMES, i64 0, i64 %indvars.iv
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = call noundef ptr %47(ptr noundef %15, ptr noundef nonnull @.str.574, ptr noundef %49)
  %51 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %52 = getelementptr inbounds i8, ptr %51, i64 96
  %53 = load i32, ptr %52, align 8
  %54 = and i32 %53, -16776961
  %55 = or disjoint i32 %54, 924160
  store i32 %55, ptr %52, align 8
  %56 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %57 = getelementptr inbounds i8, ptr %56, i64 32
  store ptr @.str.3, ptr %57, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %58 = call noundef i32 @_Z14jc_test_cmp_NEIPcS0_EiT_T0_PKcS4_(ptr noundef null, ptr noundef %50, ptr noundef nonnull @.str.44, ptr noundef nonnull @.str.578)
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %.thread47, label %60

.thread47:                                        ; preds = %46
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  br label %.thread58

60:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %61 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %62 = getelementptr inbounds i8, ptr %61, i64 96
  %63 = load i32, ptr %62, align 8
  %64 = and i32 %63, -16776961
  %65 = or disjoint i32 %64, 924672
  store i32 %65, ptr %62, align 8
  %66 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %67 = getelementptr inbounds i8, ptr %66, i64 32
  store ptr @.str.3, ptr %67, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 0, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %68 = load ptr, ptr %42, align 8, !tbaa !18
  %69 = call noundef i32 %68(ptr noundef nonnull %15, ptr noundef %50, ptr noundef nonnull %6)
  store i32 %69, ptr %8, align 4, !tbaa !13
  %70 = 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.579, ptr noundef null)
  %71 = icmp eq i32 %70, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br i1 %71, label %.thread50, label %72

.thread50:                                        ; preds = %60
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %.thread58

72:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %73 = getelementptr inbounds [10 x ptr], ptr @__const._ZN36Longtail_FileSystemStorage__TestCase8TestBodyEv.TEST_STRINGS, i64 0, i64 %indvars.iv
  %74 = load ptr, ptr %73, align 8, !tbaa !14
  %75 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %74) #6
  store i64 %75, ptr %9, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %76 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %77 = getelementptr inbounds i8, ptr %76, i64 96
  %78 = load i32, ptr %77, align 8
  %79 = and i32 %78, -16776961
  %80 = or disjoint i32 %79, 925440
  store i32 %80, ptr %77, align 8
  %81 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %82 = getelementptr inbounds i8, ptr %81, i64 32
  store ptr @.str.3, ptr %82, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  store i32 0, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %83 = load ptr, ptr %43, align 8, !tbaa !20
  %84 = load ptr, ptr %6, align 8, !tbaa !14
  %85 = call noundef i32 %83(ptr noundef nonnull %15, ptr noundef %84, ptr noundef nonnull %10)
  store i32 %85, ptr %12, align 4, !tbaa !13
  %86 = 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.580, ptr noundef null)
  %87 = icmp eq i32 %86, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br i1 %87, label %.thread54, label %88

88:                                               ; preds = %72
  %89 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %90 = getelementptr inbounds i8, ptr %89, i64 96
  %91 = load i32, ptr %90, align 8
  %92 = and i32 %91, -16776961
  %93 = or disjoint i32 %92, 925696
  store i32 %93, ptr %90, align 8
  %94 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %95 = getelementptr inbounds i8, ptr %94, i64 32
  store ptr @.str.3, ptr %95, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %96 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareImmEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @.str.581, ptr noundef nonnull @.str.510)
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %.thread54, label %98

98:                                               ; preds = %88
  %99 = load i64, ptr %10, align 8, !tbaa !19
  %.not = icmp eq i64 %99, 0
  br i1 %.not, label %130, label %100

100:                                              ; preds = %98
  %101 = call ptr @Longtail_Alloc(ptr noundef null, i64 noundef %99)
  %102 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %103 = getelementptr inbounds i8, ptr %102, i64 96
  %104 = load i32, ptr %103, align 8
  %105 = and i32 %104, -16776961
  %106 = or disjoint i32 %105, 926720
  store i32 %106, ptr %103, align 8
  %107 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %108 = getelementptr inbounds i8, ptr %107, i64 32
  store ptr @.str.3, ptr %108, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 0, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  %109 = load ptr, ptr %44, align 8, !tbaa !21
  %110 = load ptr, ptr %6, align 8, !tbaa !14
  %111 = load i64, ptr %10, align 8, !tbaa !19
  %112 = call noundef i32 %109(ptr noundef nonnull %15, ptr noundef %110, i64 noundef 0, i64 noundef %111, ptr noundef %101)
  store i32 %112, ptr %14, align 4, !tbaa !13
  %113 = 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.582, ptr noundef null)
  %114 = icmp eq i32 %113, 0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  br i1 %114, label %.thread54, label %.preheader

.preheader:                                       ; preds = %100
  %115 = load i64, ptr %10, align 8, !tbaa !19
  %.not4163.not = icmp eq i64 %115, 0
  br i1 %.not4163.not, label %._crit_edge, label %.lr.ph

116:                                              ; preds = %.lr.ph
  %117 = add nuw i64 %.064, 1
  %118 = load i64, ptr %10, align 8, !tbaa !19
  %.not41 = icmp ult i64 %117, %118
  br i1 %.not41, label %.lr.ph, label %._crit_edge, !llvm.loop !22

.lr.ph:                                           ; preds = %.preheader, %116
  %.064 = phi i64 [ %117, %116 ], [ 0, %.preheader ]
  %119 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %120 = getelementptr inbounds i8, ptr %119, i64 96
  %121 = load i32, ptr %120, align 8
  %122 = and i32 %121, -16776961
  %123 = or disjoint i32 %122, 927488
  store i32 %123, ptr %120, align 8
  %124 = call noundef ptr @_ZL19jc_test_get_fixturev()
  %125 = getelementptr inbounds i8, ptr %124, i64 32
  store ptr @.str.3, ptr %125, align 8, !tbaa !5
  call void @_Z28jc_test_increment_assertionsv()
  %126 = getelementptr inbounds i8, ptr %101, i64 %.064
  %127 = getelementptr inbounds i8, ptr %74, i64 %.064
  %128 = call noundef i32 @_ZN21jc_test_cmp_eq_helperILb0EE7compareIccEEiRKT_RKT0_PKcS9_(ptr noundef nonnull align 1 dereferenceable(1) %126, ptr noundef nonnull align 1 dereferenceable(1) %127, ptr noundef nonnull @.str.583, ptr noundef nonnull @.str.584)
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %.thread54, label %116

._crit_edge:                                      ; preds = %116, %.preheader
  call void @Longtail_Free(ptr noundef %101)
  br label %130

.thread54:                                        ; preds = %100, %88, %72, %.lr.ph
  call void @_Z21jc_test_set_test_faili(i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %.thread58

130:                                              ; preds = %._crit_edge, %98
  %131 = load ptr, ptr %45, align 8, !tbaa !24
  %132 = load ptr, ptr %6, align 8, !tbaa !14
  call void %131(ptr noundef %15, ptr noundef %132)
  call void @Longtail_Free(ptr noundef %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 10
  br i1 %exitcond.not, label %133, label %46, !llvm.loop !25

133:                                              ; preds = %130
  call void @Longtail_DisposeAPI(ptr noundef nonnull %15)
  br label %.thread58

.thread58:                                        ; preds = %.thread54, %.thread50, %.thread47, %133, %38, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void
}

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass