; LLVM IR from interpretml/interpret :: shared/libebm (dataset_shared)

; 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.NAMESPACE_MAIN::HeaderDataSetShared" = type { i64, i64, i64, i64, i64, [1 x i64] }
%"struct.NAMESPACE_MAIN::FeatureDataSetShared" = type { i64, i64 }
%"struct.NAMESPACE_MAIN::SparseFeatureDataSetShared" = type { i64, i64, [1 x %"struct.NAMESPACE_MAIN::SparseFeatureDataSetSharedEntry"] }
%"struct.NAMESPACE_MAIN::SparseFeatureDataSetSharedEntry" = type { i64, i64 }

@.str = external hidden unnamed_addr constant [88 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [55 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_ = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_ = external hidden unnamed_addr constant [199 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [45 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) #1

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL9IsFeatureEm(i64 noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsSparseFeatureEm(i64 noundef) #2

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #5 {
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i64 %1, ptr %11, align 8, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = icmp ne ptr null, %28
  br i1 %29, label %32, label %30

30:                                               ; preds = %9
  call void @LogAssertFailure(i64 noundef 1977, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.23)
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str, i32 noundef 1977, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

31:                                               ; No predecessors!
  br label %32

32:                                               ; preds = %31, %9
  %33 = phi i1 [ true, %9 ], [ false, %31 ]
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = icmp ne ptr null, %34
  br i1 %35, label %38, label %36

36:                                               ; preds = %32
  call void @LogAssertFailure(i64 noundef 1978, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.35)
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str, i32 noundef 1978, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %32
  %39 = phi i1 [ true, %32 ], [ false, %37 ]
  %40 = load ptr, ptr %13, align 8, !tbaa !5
  %41 = icmp ne ptr null, %40
  br i1 %41, label %44, label %42

42:                                               ; preds = %38
  call void @LogAssertFailure(i64 noundef 1979, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.37)
  call void @__assert_fail(ptr noundef @.str.38, ptr noundef @.str, i32 noundef 1979, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %38
  %45 = phi i1 [ true, %38 ], [ false, %43 ]
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = icmp ne ptr null, %46
  br i1 %47, label %50, label %48

48:                                               ; preds = %44
  call void @LogAssertFailure(i64 noundef 1980, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.39)
  call void @__assert_fail(ptr noundef @.str.40, ptr noundef @.str, i32 noundef 1980, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %44
  %51 = phi i1 [ true, %44 ], [ false, %49 ]
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = icmp ne ptr null, %52
  br i1 %53, label %56, label %54

54:                                               ; preds = %50
  call void @LogAssertFailure(i64 noundef 1981, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.41)
  call void @__assert_fail(ptr noundef @.str.42, ptr noundef @.str, i32 noundef 1981, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55, %50
  %57 = phi i1 [ true, %50 ], [ false, %55 ]
  %58 = load ptr, ptr %16, align 8, !tbaa !5
  %59 = icmp ne ptr null, %58
  br i1 %59, label %62, label %60

60:                                               ; preds = %56
  call void @LogAssertFailure(i64 noundef 1982, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.43)
  call void @__assert_fail(ptr noundef @.str.44, ptr noundef @.str, i32 noundef 1982, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61, %56
  %63 = phi i1 [ true, %56 ], [ false, %61 ]
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = icmp ne ptr null, %64
  br i1 %65, label %68, label %66

66:                                               ; preds = %62
  call void @LogAssertFailure(i64 noundef 1983, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.45)
  call void @__assert_fail(ptr noundef @.str.46, ptr noundef @.str, i32 noundef 1983, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

67:                                               ; No predecessors!
  br label %68

68:                                               ; preds = %67, %62
  %69 = phi i1 [ true, %62 ], [ false, %67 ]
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = icmp ne ptr null, %70
  br i1 %71, label %74, label %72

72:                                               ; preds = %68
  call void @LogAssertFailure(i64 noundef 1984, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.47)
  call void @__assert_fail(ptr noundef @.str.48, ptr noundef @.str, i32 noundef 1984, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

73:                                               ; No predecessors!
  br label %74

74:                                               ; preds = %73, %68
  %75 = phi i1 [ true, %68 ], [ false, %73 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %76, ptr %19, align 8, !tbaa !5
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.NAMESPACE_MAIN::HeaderDataSetShared", ptr %77, i32 0, i32 0
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = icmp eq i64 25059, %79
  br i1 %80, label %83, label %81

81:                                               ; preds = %74
  call void @LogAssertFailure(i64 noundef 1987, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.25)
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str, i32 noundef 1987, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

82:                                               ; No predecessors!
  br label %83

83:                                               ; preds = %82, %74
  %84 = phi i1 [ true, %74 ], [ false, %82 ]
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.NAMESPACE_MAIN::HeaderDataSetShared", ptr %85, i32 0, i32 2
  %87 = load i64, ptr %86, align 8, !tbaa !13
  %88 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %87) #7
  br i1 %88, label %89, label %91

89:                                               ; preds = %83
  call void @LogAssertFailure(i64 noundef 1989, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.49)
  call void @__assert_fail(ptr noundef @.str.50, ptr noundef @.str, i32 noundef 1989, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

90:                                               ; No predecessors!
  br label %91

91:                                               ; preds = %90, %83
  %92 = phi i1 [ true, %83 ], [ false, %90 ]
  %93 = load i64, ptr %11, align 8, !tbaa !9
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.NAMESPACE_MAIN::HeaderDataSetShared", ptr %94, i32 0, i32 2
  %96 = load i64, ptr %95, align 8, !tbaa !13
  %97 = icmp ult i64 %93, %96
  br i1 %97, label %100, label %98

98:                                               ; preds = %91
  call void @LogAssertFailure(i64 noundef 1990, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.51)
  call void @__assert_fail(ptr noundef @.str.52, ptr noundef @.str, i32 noundef 1990, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

99:                                               ; No predecessors!
  br label %100

100:                                              ; preds = %99, %91
  %101 = phi i1 [ true, %91 ], [ false, %99 ]
  %102 = load i64, ptr %11, align 8, !tbaa !9
  %103 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %102) #7
  br i1 %103, label %104, label %106

104:                                              ; preds = %100
  call void @LogAssertFailure(i64 noundef 1992, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.53)
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str, i32 noundef 1992, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

105:                                              ; No predecessors!
  br label %106

106:                                              ; preds = %105, %100
  %107 = phi i1 [ true, %100 ], [ false, %105 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.NAMESPACE_MAIN::HeaderDataSetShared", ptr %108, i32 0, i32 5
  %110 = getelementptr inbounds [1 x i64], ptr %109, i64 0, i64 0
  %111 = call noundef ptr @_ZN14NAMESPACE_MAINL14ArrayToPointerImEEPKT_S3_(ptr noundef %110) #7
  %112 = load i64, ptr %11, align 8, !tbaa !9
  %113 = getelementptr inbounds i64, ptr %111, i64 %112
  %114 = load i64, ptr %113, align 8, !tbaa !9
  store i64 %114, ptr %20, align 8, !tbaa !9
  %115 = load i64, ptr %20, align 8, !tbaa !9
  %116 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %115) #7
  br i1 %116, label %117, label %119

117:                                              ; preds = %106
  call void @LogAssertFailure(i64 noundef 1994, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.55)
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str, i32 noundef 1994, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

118:                                              ; No predecessors!
  br label %119

119:                                              ; preds = %118, %106
  %120 = phi i1 [ true, %106 ], [ false, %118 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %121 = load i64, ptr %20, align 8, !tbaa !9
  store i64 %121, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = load i64, ptr %21, align 8, !tbaa !9
  %124 = getelementptr inbounds i8, ptr %122, i64 %123
  store ptr %124, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %125 = load ptr, ptr %22, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.NAMESPACE_MAIN::FeatureDataSetShared", ptr %125, i32 0, i32 0
  %127 = load i64, ptr %126, align 8, !tbaa !14
  store i64 %127, ptr %23, align 8, !tbaa !9
  %128 = load i64, ptr %23, align 8, !tbaa !9
  %129 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL9IsFeatureEm(i64 noundef %128) #7
  br i1 %129, label %132, label %130

130:                                              ; preds = %119
  call void @LogAssertFailure(i64 noundef 2001, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.57)
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str, i32 noundef 2001, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %119
  %133 = phi i1 [ true, %119 ], [ false, %131 ]
  %134 = load i64, ptr %23, align 8, !tbaa !9
  %135 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsMissingFeatureEm(i64 noundef %134) #7
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = zext i1 %135 to i8
  store i8 %137, ptr %136, align 1, !tbaa !16
  %138 = load i64, ptr %23, align 8, !tbaa !9
  %139 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsUnseenFeatureEm(i64 noundef %138) #7
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = zext i1 %139 to i8
  store i8 %141, ptr %140, align 1, !tbaa !16
  %142 = load i64, ptr %23, align 8, !tbaa !9
  %143 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsNominalFeatureEm(i64 noundef %142) #7
  %144 = load ptr, ptr %14, align 8, !tbaa !5
  %145 = zext i1 %143 to i8
  store i8 %145, ptr %144, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  %146 = load i64, ptr %23, align 8, !tbaa !9
  %147 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsSparseFeatureEm(i64 noundef %146) #7
  %148 = zext i1 %147 to i8
  store i8 %148, ptr %24, align 1, !tbaa !16
  %149 = load i8, ptr %24, align 1, !tbaa !16, !range !18, !noundef !19
  %150 = trunc i8 %149 to i1
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = zext i1 %150 to i8
  store i8 %152, ptr %151, align 1, !tbaa !16
  %153 = load ptr, ptr %22, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.NAMESPACE_MAIN::FeatureDataSetShared", ptr %153, i32 0, i32 1
  %155 = load i64, ptr %154, align 8, !tbaa !20
  %156 = load ptr, ptr %16, align 8, !tbaa !5
  store i64 %155, ptr %156, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %157 = load ptr, ptr %22, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.NAMESPACE_MAIN::FeatureDataSetShared", ptr %157, i64 1
  store ptr %158, ptr %25, align 8, !tbaa !5
  %159 = load i8, ptr %24, align 1, !tbaa !16, !range !18, !noundef !19
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %181

161:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %162 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %162, ptr %26, align 8, !tbaa !5
  %163 = load ptr, ptr %26, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.NAMESPACE_MAIN::SparseFeatureDataSetShared", ptr %163, i32 0, i32 0
  %165 = load i64, ptr %164, align 8, !tbaa !21
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  store i64 %165, ptr %166, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %167 = load ptr, ptr %26, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.NAMESPACE_MAIN::SparseFeatureDataSetShared", ptr %167, i32 0, i32 1
  %169 = load i64, ptr %168, align 8, !tbaa !23
  store i64 %169, ptr %27, align 8, !tbaa !9
  %170 = load i64, ptr %27, align 8, !tbaa !9
  %171 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %170) #7
  br i1 %171, label %172, label %174

172:                                              ; preds = %161
  call void @LogAssertFailure(i64 noundef 2017, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef @.str.59)
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str, i32 noundef 2017, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #6
  unreachable

173:                                              ; No predecessors!
  br label %174

174:                                              ; preds = %173, %161
  %175 = phi i1 [ true, %161 ], [ false, %173 ]
  %176 = load i64, ptr %27, align 8, !tbaa !9
  %177 = load ptr, ptr %18, align 8, !tbaa !5
  store i64 %176, ptr %177, align 8, !tbaa !9
  %178 = load ptr, ptr %26, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.NAMESPACE_MAIN::SparseFeatureDataSetShared", ptr %178, i32 0, i32 2
  %180 = getelementptr inbounds [1 x %"struct.NAMESPACE_MAIN::SparseFeatureDataSetSharedEntry"], ptr %179, i64 0, i64 0
  store ptr %180, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %181

181:                                              ; preds = %174, %132
  %182 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  ret ptr %182
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsMissingFeatureEm(i64 noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsUnseenFeatureEm(i64 noundef) #2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsNominalFeatureEm(i64 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind 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 = { alwaysinline mustprogress nounwind 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 = { "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 = { noreturn nounwind "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 = { 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 #6 = { noreturn nounwind }
attributes #7 = { 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN14NAMESPACE_MAIN19HeaderDataSetSharedE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40}
!13 = !{!12, !10, i64 16}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTSN14NAMESPACE_MAIN20FeatureDataSetSharedE", !10, i64 0, !10, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!15, !10, i64 8}
!21 = !{!22, !10, i64 0}
!22 = !{!"_ZTSN14NAMESPACE_MAIN26SparseFeatureDataSetSharedE", !10, i64 0, !10, i64 8, !7, i64 16}
!23 = !{!22, !10, i64 8}


; 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 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [55 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_ = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_ = external hidden unnamed_addr constant [199 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZN14NAMESPACE_MAINL14ArrayToPointerImEEPKT_S3_(ptr noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL9IsFeatureEm(i64 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsSparseFeatureEm(i64 noundef) local_unnamed_addr #1

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_(ptr noundef %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, ptr noundef writeonly %6, ptr noundef writeonly %7, ptr noundef writeonly %8) local_unnamed_addr #4 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %10, label %11

10:                                               ; preds = %9
  tail call void @LogAssertFailure(i64 noundef 1977, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.23)
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str, i32 noundef 1977, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

11:                                               ; preds = %9
  %.not52 = icmp eq ptr %2, null
  br i1 %.not52, label %12, label %13

12:                                               ; preds = %11
  tail call void @LogAssertFailure(i64 noundef 1978, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.35)
  tail call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str, i32 noundef 1978, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

13:                                               ; preds = %11
  %.not53 = icmp eq ptr %3, null
  br i1 %.not53, label %14, label %15

14:                                               ; preds = %13
  tail call void @LogAssertFailure(i64 noundef 1979, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.37)
  tail call void @__assert_fail(ptr noundef nonnull @.str.38, ptr noundef nonnull @.str, i32 noundef 1979, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

15:                                               ; preds = %13
  %.not54 = icmp eq ptr %4, null
  br i1 %.not54, label %16, label %17

16:                                               ; preds = %15
  tail call void @LogAssertFailure(i64 noundef 1980, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.39)
  tail call void @__assert_fail(ptr noundef nonnull @.str.40, ptr noundef nonnull @.str, i32 noundef 1980, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

17:                                               ; preds = %15
  %.not55 = icmp eq ptr %5, null
  br i1 %.not55, label %18, label %19

18:                                               ; preds = %17
  tail call void @LogAssertFailure(i64 noundef 1981, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.41)
  tail call void @__assert_fail(ptr noundef nonnull @.str.42, ptr noundef nonnull @.str, i32 noundef 1981, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

19:                                               ; preds = %17
  %.not56 = icmp eq ptr %6, null
  br i1 %.not56, label %20, label %21

20:                                               ; preds = %19
  tail call void @LogAssertFailure(i64 noundef 1982, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.43)
  tail call void @__assert_fail(ptr noundef nonnull @.str.44, ptr noundef nonnull @.str, i32 noundef 1982, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

21:                                               ; preds = %19
  %.not57 = icmp eq ptr %7, null
  br i1 %.not57, label %22, label %23

22:                                               ; preds = %21
  tail call void @LogAssertFailure(i64 noundef 1983, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.45)
  tail call void @__assert_fail(ptr noundef nonnull @.str.46, ptr noundef nonnull @.str, i32 noundef 1983, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

23:                                               ; preds = %21
  %.not58 = icmp eq ptr %8, null
  br i1 %.not58, label %24, label %25

24:                                               ; preds = %23
  tail call void @LogAssertFailure(i64 noundef 1984, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.47)
  tail call void @__assert_fail(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str, i32 noundef 1984, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

25:                                               ; preds = %23
  %26 = load i64, ptr %0, align 8, !tbaa !5
  %27 = icmp eq i64 %26, 25059
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  tail call void @LogAssertFailure(i64 noundef 1987, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.25)
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str, i32 noundef 1987, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  %31 = load i64, ptr %30, align 8, !tbaa !10
  %32 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %31) #6
  br i1 %32, label %33, label %34

33:                                               ; preds = %29
  tail call void @LogAssertFailure(i64 noundef 1989, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.49)
  tail call void @__assert_fail(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str, i32 noundef 1989, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

34:                                               ; preds = %29
  %35 = load i64, ptr %30, align 8, !tbaa !10
  %36 = icmp ugt i64 %35, %1
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  tail call void @LogAssertFailure(i64 noundef 1990, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.51)
  tail call void @__assert_fail(ptr noundef nonnull @.str.52, ptr noundef nonnull @.str, i32 noundef 1990, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

38:                                               ; preds = %34
  %39 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef 8, i64 noundef %1) #6
  br i1 %39, label %40, label %41

40:                                               ; preds = %38
  tail call void @LogAssertFailure(i64 noundef 1992, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.53)
  tail call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str, i32 noundef 1992, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

41:                                               ; preds = %38
  %42 = getelementptr inbounds i8, ptr %0, i64 40
  %43 = tail call noundef ptr @_ZN14NAMESPACE_MAINL14ArrayToPointerImEEPKT_S3_(ptr noundef nonnull %42) #6
  %44 = getelementptr inbounds i64, ptr %43, i64 %1
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %45) #6
  br i1 %46, label %47, label %48

47:                                               ; preds = %41
  tail call void @LogAssertFailure(i64 noundef 1994, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.55)
  tail call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str, i32 noundef 1994, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

48:                                               ; preds = %41
  %49 = getelementptr inbounds i8, ptr %0, i64 %45
  %50 = load i64, ptr %49, align 8, !tbaa !12
  %51 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL9IsFeatureEm(i64 noundef %50) #6
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  tail call void @LogAssertFailure(i64 noundef 2001, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.57)
  tail call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str, i32 noundef 2001, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

53:                                               ; preds = %48
  %54 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsMissingFeatureEm(i64 noundef %50) #6
  %55 = zext i1 %54 to i8
  store i8 %55, ptr %2, align 1, !tbaa !14
  %56 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsUnseenFeatureEm(i64 noundef %50) #6
  %57 = zext i1 %56 to i8
  store i8 %57, ptr %3, align 1, !tbaa !14
  %58 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsNominalFeatureEm(i64 noundef %50) #6
  %59 = zext i1 %58 to i8
  store i8 %59, ptr %4, align 1, !tbaa !14
  %60 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsSparseFeatureEm(i64 noundef %50) #6
  %61 = zext i1 %60 to i8
  store i8 %61, ptr %5, align 1, !tbaa !14
  %62 = getelementptr inbounds i8, ptr %49, i64 8
  %63 = load i64, ptr %62, align 8, !tbaa !16
  store i64 %63, ptr %6, align 8, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %49, i64 16
  br i1 %60, label %65, label %73

65:                                               ; preds = %53
  %66 = load i64, ptr %64, align 8, !tbaa !17
  store i64 %66, ptr %7, align 8, !tbaa !11
  %67 = getelementptr inbounds i8, ptr %49, i64 24
  %68 = load i64, ptr %67, align 8, !tbaa !19
  %69 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL14IsConvertErrorImmEENSt9enable_ifIXaaaantsr3std9is_signedIT_EE5valuentsr3std9is_signedIT0_EE5valueleclsr3std14numeric_limitsIS3_EE3maxEclsr3std14numeric_limitsIS2_EE3maxEEbE4typeES3_(i64 noundef %68) #6
  br i1 %69, label %70, label %71

70:                                               ; preds = %65
  tail call void @LogAssertFailure(i64 noundef 2017, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_, ptr noundef nonnull @.str.59)
  tail call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str, i32 noundef 2017, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN23GetDataSetSharedFeatureEPKhmPbS2_S2_S2_PmS3_S3_) #5
  unreachable

71:                                               ; preds = %65
  store i64 %68, ptr %8, align 8, !tbaa !11
  %72 = getelementptr inbounds i8, ptr %49, i64 32
  br label %73

73:                                               ; preds = %71, %53
  %.0 = phi ptr [ %72, %71 ], [ %64, %53 ]
  ret ptr %.0
}

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsMissingFeatureEm(i64 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsUnseenFeatureEm(i64 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL16IsNominalFeatureEm(i64 noundef) local_unnamed_addr #1

attributes #0 = { inlinehint mustprogress nounwind 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 #1 = { alwaysinline mustprogress nounwind 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 = { noreturn nounwind "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 = { noreturn nounwind }
attributes #6 = { 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 0}
!6 = !{!"_ZTSN14NAMESPACE_MAIN19HeaderDataSetSharedE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !8, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTSN14NAMESPACE_MAIN20FeatureDataSetSharedE", !7, i64 0, !7, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!13, !7, i64 8}
!17 = !{!18, !7, i64 0}
!18 = !{!"_ZTSN14NAMESPACE_MAIN26SparseFeatureDataSetSharedE", !7, i64 0, !7, i64 8, !8, i64 16}
!19 = !{!18, !7, i64 8}


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