; LLVM IR from tezc/sc :: logger (log_test)

; 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"

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@__PRETTY_FUNCTION__.test1 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @callback(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @test1() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  %4 = call i32 @sc_log_term()
  %5 = call i32 @sc_log_init()
  call void @sc_log_set_callback(ptr noundef %1, ptr noundef @callback)
  %6 = call i32 @sc_log_set_level(ptr noundef @.str)
  %7 = icmp eq i32 %6, -1
  br i1 %7, label %8, label %9

8:                                                ; preds = %0
  br label %10

9:                                                ; preds = %0
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 30, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

10:                                               ; preds = %8
  %11 = call i32 @sc_log_set_level(ptr noundef @.str.3)
  %12 = icmp eq i32 %11, -1
  br i1 %12, label %13, label %14

13:                                               ; preds = %10
  br label %15

14:                                               ; preds = %10
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 31, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

15:                                               ; preds = %13
  %16 = call i32 @sc_log_set_level(ptr noundef @.str.5)
  %17 = icmp eq i32 %16, -1
  br i1 %17, label %18, label %19

18:                                               ; preds = %15
  br label %20

19:                                               ; preds = %15
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 32, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

20:                                               ; preds = %18
  %21 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %22 = getelementptr inbounds i8, ptr %21, i64 1
  %23 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef @.str.7, ptr noundef %22, i32 noundef 33, ptr noundef @.str.9)
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %20
  br label %28

27:                                               ; preds = %20
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 34, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

28:                                               ; preds = %26
  %29 = call i32 @sc_log_set_level(ptr noundef @.str.11)
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  br label %33

32:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 36, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

33:                                               ; preds = %31
  %34 = call i32 @sc_log_set_level(ptr noundef @.str.13)
  %35 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %36 = getelementptr inbounds i8, ptr %35, i64 1
  %37 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef @.str.7, ptr noundef %36, i32 noundef 38, ptr noundef @.str.9)
  %38 = load i32, ptr %1, align 4, !tbaa !5
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %41

40:                                               ; preds = %33
  br label %42

41:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 39, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

42:                                               ; preds = %40
  %43 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %44 = getelementptr inbounds i8, ptr %43, i64 1
  %45 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef @.str.7, ptr noundef %44, i32 noundef 40, ptr noundef @.str.9)
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = icmp eq i32 %46, 2
  br i1 %47, label %48, label %49

48:                                               ; preds = %42
  br label %50

49:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 41, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

50:                                               ; preds = %48
  %51 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %52 = getelementptr inbounds i8, ptr %51, i64 1
  %53 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef @.str.7, ptr noundef %52, i32 noundef 42, ptr noundef @.str.9)
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = icmp eq i32 %54, 3
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  br label %58

57:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 43, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

58:                                               ; preds = %56
  %59 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %60 = getelementptr inbounds i8, ptr %59, i64 1
  %61 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef @.str.7, ptr noundef %60, i32 noundef 44, ptr noundef @.str.9)
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = icmp eq i32 %62, 4
  br i1 %63, label %64, label %65

64:                                               ; preds = %58
  br label %66

65:                                               ; preds = %58
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

66:                                               ; preds = %64
  store i32 0, ptr %1, align 4, !tbaa !5
  %67 = call i32 @sc_log_set_level(ptr noundef @.str.18)
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %70

69:                                               ; preds = %66
  br label %71

70:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 48, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

71:                                               ; preds = %69
  %72 = call i32 @sc_log_set_level(ptr noundef @.str.20)
  %73 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %74 = getelementptr inbounds i8, ptr %73, i64 1
  %75 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef @.str.7, ptr noundef %74, i32 noundef 50, ptr noundef @.str.9)
  %76 = load i32, ptr %1, align 4, !tbaa !5
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %71
  br label %80

79:                                               ; preds = %71
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 51, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

80:                                               ; preds = %78
  %81 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %82 = getelementptr inbounds i8, ptr %81, i64 1
  %83 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef @.str.7, ptr noundef %82, i32 noundef 52, ptr noundef @.str.9)
  %84 = load i32, ptr %1, align 4, !tbaa !5
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %86, label %87

86:                                               ; preds = %80
  br label %88

87:                                               ; preds = %80
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 53, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

88:                                               ; preds = %86
  %89 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %90 = getelementptr inbounds i8, ptr %89, i64 1
  %91 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef @.str.7, ptr noundef %90, i32 noundef 54, ptr noundef @.str.9)
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = icmp eq i32 %92, 2
  br i1 %93, label %94, label %95

94:                                               ; preds = %88
  br label %96

95:                                               ; preds = %88
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 55, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

96:                                               ; preds = %94
  %97 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %98 = getelementptr inbounds i8, ptr %97, i64 1
  %99 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef @.str.7, ptr noundef %98, i32 noundef 56, ptr noundef @.str.9)
  %100 = load i32, ptr %1, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 3
  br i1 %101, label %102, label %103

102:                                              ; preds = %96
  br label %104

103:                                              ; preds = %96
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 57, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

104:                                              ; preds = %102
  store i32 0, ptr %1, align 4, !tbaa !5
  %105 = call i32 @sc_log_set_level(ptr noundef @.str.21)
  %106 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %107 = getelementptr inbounds i8, ptr %106, i64 1
  %108 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef @.str.7, ptr noundef %107, i32 noundef 61, ptr noundef @.str.9)
  %109 = load i32, ptr %1, align 4, !tbaa !5
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %104
  br label %113

112:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 62, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

113:                                              ; preds = %111
  %114 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %115 = getelementptr inbounds i8, ptr %114, i64 1
  %116 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef @.str.7, ptr noundef %115, i32 noundef 63, ptr noundef @.str.9)
  %117 = load i32, ptr %1, align 4, !tbaa !5
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %113
  br label %121

120:                                              ; preds = %113
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 64, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

121:                                              ; preds = %119
  %122 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  %124 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef @.str.7, ptr noundef %123, i32 noundef 65, ptr noundef @.str.9)
  %125 = load i32, ptr %1, align 4, !tbaa !5
  %126 = icmp eq i32 %125, 1
  br i1 %126, label %127, label %128

127:                                              ; preds = %121
  br label %129

128:                                              ; preds = %121
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 66, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

129:                                              ; preds = %127
  %130 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %131 = getelementptr inbounds i8, ptr %130, i64 1
  %132 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef @.str.7, ptr noundef %131, i32 noundef 67, ptr noundef @.str.9)
  %133 = load i32, ptr %1, align 4, !tbaa !5
  %134 = icmp eq i32 %133, 2
  br i1 %134, label %135, label %136

135:                                              ; preds = %129
  br label %137

136:                                              ; preds = %129
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.2, i32 noundef 68, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

137:                                              ; preds = %135
  store i32 0, ptr %1, align 4, !tbaa !5
  %138 = call i32 @sc_log_set_level(ptr noundef @.str.22)
  %139 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %140 = getelementptr inbounds i8, ptr %139, i64 1
  %141 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef @.str.7, ptr noundef %140, i32 noundef 72, ptr noundef @.str.9)
  %142 = load i32, ptr %1, align 4, !tbaa !5
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %145

144:                                              ; preds = %137
  br label %146

145:                                              ; preds = %137
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 73, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

146:                                              ; preds = %144
  %147 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %148 = getelementptr inbounds i8, ptr %147, i64 1
  %149 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef @.str.7, ptr noundef %148, i32 noundef 74, ptr noundef @.str.9)
  %150 = load i32, ptr %1, align 4, !tbaa !5
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %146
  br label %154

153:                                              ; preds = %146
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 75, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

154:                                              ; preds = %152
  %155 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %156 = getelementptr inbounds i8, ptr %155, i64 1
  %157 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef @.str.7, ptr noundef %156, i32 noundef 76, ptr noundef @.str.9)
  %158 = load i32, ptr %1, align 4, !tbaa !5
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %161

160:                                              ; preds = %154
  br label %162

161:                                              ; preds = %154
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 77, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

162:                                              ; preds = %160
  %163 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %164 = getelementptr inbounds i8, ptr %163, i64 1
  %165 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef @.str.7, ptr noundef %164, i32 noundef 78, ptr noundef @.str.9)
  %166 = load i32, ptr %1, align 4, !tbaa !5
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %162
  br label %170

169:                                              ; preds = %162
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 79, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

170:                                              ; preds = %168
  %171 = call i32 @sc_log_set_level(ptr noundef @.str.20)
  call void @sc_log_set_stdout(i1 noundef zeroext false)
  %172 = call i32 @sc_log_set_file(ptr noundef @.str.23, ptr noundef @.str.24)
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %175

174:                                              ; preds = %170
  br label %176

175:                                              ; preds = %170
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.2, i32 noundef 83, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

176:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %185, %176
  %178 = load i32, ptr %2, align 4, !tbaa !5
  %179 = icmp slt i32 %178, 100000
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %188

181:                                              ; preds = %177
  %182 = call ptr @strrchr(ptr noundef @.str.8, i32 noundef 47) #7
  %183 = getelementptr inbounds i8, ptr %182, i64 1
  %184 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef @.str.26, ptr noundef %183, i32 noundef 86, ptr noundef @.str.9)
  br label %185

185:                                              ; preds = %181
  %186 = load i32, ptr %2, align 4, !tbaa !5
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %2, align 4, !tbaa !5
  br label %177, !llvm.loop !9

188:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %189 = call noalias ptr @fopen(ptr noundef @.str.23, ptr noundef @.str.27)
  store ptr %189, ptr %3, align 8, !tbaa !11
  %190 = load ptr, ptr %3, align 8, !tbaa !11
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %193

192:                                              ; preds = %188
  br label %194

193:                                              ; preds = %188
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.2, i32 noundef 90, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

194:                                              ; preds = %192
  %195 = load ptr, ptr %3, align 8, !tbaa !11
  %196 = call i32 @fseek(ptr noundef %195, i64 noundef 0, i32 noundef 2)
  %197 = load ptr, ptr %3, align 8, !tbaa !11
  %198 = call i64 @ftell(ptr noundef %197)
  %199 = icmp sge i64 %198, 2097152
  br i1 %199, label %200, label %201

200:                                              ; preds = %194
  br label %202

201:                                              ; preds = %194
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.2, i32 noundef 92, ptr noundef @__PRETTY_FUNCTION__.test1) #6
  unreachable

202:                                              ; preds = %200
  %203 = load ptr, ptr %3, align 8, !tbaa !11
  %204 = call i32 @fclose(ptr noundef %203)
  %205 = call i32 @sc_log_term()
  %206 = call i32 @sc_log_init()
  %207 = call i32 @sc_log_term()
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

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

declare i32 @sc_log_term() #2

declare i32 @sc_log_init() #2

declare void @sc_log_set_callback(ptr noundef, ptr noundef) #2

declare i32 @sc_log_set_level(ptr noundef) #2

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

declare i32 @sc_log_log(i32 noundef, ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare ptr @strrchr(ptr noundef, i32 noundef) #4

declare void @sc_log_set_stdout(i1 noundef zeroext) #2

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

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #2

declare i64 @ftell(ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}


; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [59 x i8], align 1
@__PRETTY_FUNCTION__.test1 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @callback(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @test1() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  %2 = tail call i32 @sc_log_term() #6
  %3 = tail call i32 @sc_log_init() #6
  call void @sc_log_set_callback(ptr noundef nonnull %1, ptr noundef nonnull @callback) #6
  %4 = call i32 @sc_log_set_level(ptr noundef nonnull @.str) #6
  %5 = icmp eq i32 %4, -1
  br i1 %5, label %7, label %6

6:                                                ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 30, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

7:                                                ; preds = %0
  %8 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.3) #6
  %9 = icmp eq i32 %8, -1
  br i1 %9, label %11, label %10

10:                                               ; preds = %7
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 31, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

11:                                               ; preds = %7
  %12 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.5) #6
  %13 = icmp eq i32 %12, -1
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 32, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

15:                                               ; preds = %11
  %16 = call ptr @strrchr(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef 47) #8
  %17 = getelementptr inbounds i8, ptr %16, i64 1
  %18 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 33, ptr noundef nonnull @.str.9) #6
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %22, label %21

21:                                               ; preds = %15
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 34, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

22:                                               ; preds = %15
  %23 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.11) #6
  %24 = icmp eq i32 %23, 0
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 36, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

26:                                               ; preds = %22
  %27 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.13) #6
  %28 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 38, ptr noundef nonnull @.str.9) #6
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %32, label %31

31:                                               ; preds = %26
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 39, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

32:                                               ; preds = %26
  %33 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 40, ptr noundef nonnull @.str.9) #6
  %34 = load i32, ptr %1, align 4, !tbaa !5
  %35 = icmp eq i32 %34, 2
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 41, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

37:                                               ; preds = %32
  %38 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 42, ptr noundef nonnull @.str.9) #6
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = icmp eq i32 %39, 3
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2, i32 noundef 43, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

42:                                               ; preds = %37
  %43 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 44, ptr noundef nonnull @.str.9) #6
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = icmp eq i32 %44, 4
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 45, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

47:                                               ; preds = %42
  store i32 0, ptr %1, align 4, !tbaa !5
  %48 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.18) #6
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.2, i32 noundef 48, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

51:                                               ; preds = %47
  %52 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.20) #6
  %53 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 50, ptr noundef nonnull @.str.9) #6
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %57, label %56

56:                                               ; preds = %51
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 51, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

57:                                               ; preds = %51
  %58 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 52, ptr noundef nonnull @.str.9) #6
  %59 = load i32, ptr %1, align 4, !tbaa !5
  %60 = icmp eq i32 %59, 1
  br i1 %60, label %62, label %61

61:                                               ; preds = %57
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 53, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

62:                                               ; preds = %57
  %63 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 54, ptr noundef nonnull @.str.9) #6
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = icmp eq i32 %64, 2
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 55, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

67:                                               ; preds = %62
  %68 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 56, ptr noundef nonnull @.str.9) #6
  %69 = load i32, ptr %1, align 4, !tbaa !5
  %70 = icmp eq i32 %69, 3
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2, i32 noundef 57, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

72:                                               ; preds = %67
  store i32 0, ptr %1, align 4, !tbaa !5
  %73 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.21) #6
  %74 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 61, ptr noundef nonnull @.str.9) #6
  %75 = load i32, ptr %1, align 4, !tbaa !5
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 62, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

78:                                               ; preds = %72
  %79 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 63, ptr noundef nonnull @.str.9) #6
  %80 = load i32, ptr %1, align 4, !tbaa !5
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 64, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

83:                                               ; preds = %78
  %84 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 65, ptr noundef nonnull @.str.9) #6
  %85 = load i32, ptr %1, align 4, !tbaa !5
  %86 = icmp eq i32 %85, 1
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 66, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

88:                                               ; preds = %83
  %89 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 67, ptr noundef nonnull @.str.9) #6
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = icmp eq i32 %90, 2
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.2, i32 noundef 68, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

93:                                               ; preds = %88
  store i32 0, ptr %1, align 4, !tbaa !5
  %94 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.22) #6
  %95 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 72, ptr noundef nonnull @.str.9) #6
  %96 = load i32, ptr %1, align 4, !tbaa !5
  %97 = icmp eq i32 %96, 0
  br i1 %97, label %99, label %98

98:                                               ; preds = %93
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 73, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

99:                                               ; preds = %93
  %100 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 1, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 74, ptr noundef nonnull @.str.9) #6
  %101 = load i32, ptr %1, align 4, !tbaa !5
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %104, label %103

103:                                              ; preds = %99
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 75, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

104:                                              ; preds = %99
  %105 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 2, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 76, ptr noundef nonnull @.str.9) #6
  %106 = load i32, ptr %1, align 4, !tbaa !5
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 77, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

109:                                              ; preds = %104
  %110 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef nonnull @.str.7, ptr noundef nonnull %17, i32 noundef 78, ptr noundef nonnull @.str.9) #6
  %111 = load i32, ptr %1, align 4, !tbaa !5
  %112 = icmp eq i32 %111, 0
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 79, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

114:                                              ; preds = %109
  %115 = call i32 @sc_log_set_level(ptr noundef nonnull @.str.20) #6
  call void @sc_log_set_stdout(i1 noundef zeroext false) #6
  %116 = call i32 @sc_log_set_file(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24) #6
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %.preheader, label %118

118:                                              ; preds = %114
  call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.2, i32 noundef 83, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

119:                                              ; preds = %.preheader
  %120 = call noalias ptr @fopen(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.27)
  %.not = icmp eq ptr %120, null
  br i1 %.not, label %123, label %124

.preheader:                                       ; preds = %114, %.preheader
  %.06 = phi i32 [ %122, %.preheader ], [ 0, %114 ]
  %121 = call i32 (i32, ptr, ...) @sc_log_log(i32 noundef 3, ptr noundef nonnull @.str.26, ptr noundef nonnull %17, i32 noundef 86, ptr noundef nonnull @.str.9) #6
  %122 = add nuw nsw i32 %.06, 1
  %exitcond.not = icmp eq i32 %122, 100000
  br i1 %exitcond.not, label %119, label %.preheader, !llvm.loop !9

123:                                              ; preds = %119
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.2, i32 noundef 90, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

124:                                              ; preds = %119
  %125 = call i32 @fseek(ptr noundef nonnull %120, i64 noundef 0, i32 noundef 2)
  %126 = call i64 @ftell(ptr noundef nonnull %120)
  %127 = icmp sgt i64 %126, 2097151
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.2, i32 noundef 92, ptr noundef nonnull @__PRETTY_FUNCTION__.test1) #7
  unreachable

129:                                              ; preds = %124
  %130 = call i32 @fclose(ptr noundef nonnull %120)
  %131 = call i32 @sc_log_term() #6
  %132 = call i32 @sc_log_init() #6
  %133 = call i32 @sc_log_term() #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void
}

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

declare i32 @sc_log_term() local_unnamed_addr #2

declare i32 @sc_log_init() local_unnamed_addr #2

declare void @sc_log_set_callback(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @sc_log_set_level(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

declare i32 @sc_log_log(i32 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #4

declare void @sc_log_set_stdout(i1 noundef zeroext) local_unnamed_addr #2

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

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5

attributes #0 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #5 = { nofree 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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass