; LLVM IR from tezc/sc :: map (map_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"

%struct.sc_map_32 = type { ptr, i32, i32, i32, i32, i8, i8, i8 }

@.str.14 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__.test_32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [18 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: nounwind
declare void @srand(i32 noundef) #1

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

; Function Attrs: nounwind
declare i32 @rand() #1

; Function Attrs: nounwind uwtable
define dso_local void @test_32() #3 {
  %1 = alloca %struct.sc_map_32, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @srand(i32 noundef 2132132131) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #5
  %10 = call zeroext i1 @sc_map_init_32(ptr noundef %1, i32 noundef 0, i32 noundef 0)
  br i1 %10, label %11, label %12

11:                                               ; preds = %0
  br label %13

12:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.14, i32 noundef 758, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

13:                                               ; preds = %11
  call void @sc_map_term_32(ptr noundef %1)
  %14 = call zeroext i1 @sc_map_init_32(ptr noundef %1, i32 noundef 0, i32 noundef 1)
  %15 = zext i1 %14 to i32
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %13
  br label %19

18:                                               ; preds = %13
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str.14, i32 noundef 760, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

19:                                               ; preds = %17
  %20 = call zeroext i1 @sc_map_init_32(ptr noundef %1, i32 noundef 0, i32 noundef 99)
  %21 = zext i1 %20 to i32
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %23, label %24

23:                                               ; preds = %19
  br label %25

24:                                               ; preds = %19
  call void @__assert_fail(ptr noundef @.str.55, ptr noundef @.str.14, i32 noundef 761, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

25:                                               ; preds = %23
  %26 = call zeroext i1 @sc_map_init_32(ptr noundef %1, i32 noundef 16, i32 noundef 94)
  br i1 %26, label %27, label %28

27:                                               ; preds = %25
  br label %29

28:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str.14, i32 noundef 763, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

29:                                               ; preds = %27
  %30 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 0)
  %31 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %32 = load i8, ptr %31, align 2, !tbaa !5, !range !12, !noundef !13
  %33 = trunc i8 %32 to i1
  %34 = zext i1 %33 to i32
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %29
  br label %38

37:                                               ; preds = %29
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.14, i32 noundef 766, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

38:                                               ; preds = %36
  %39 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 1)
  %40 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %41 = load i8, ptr %40, align 2, !tbaa !5, !range !12, !noundef !13
  %42 = trunc i8 %41 to i1
  %43 = zext i1 %42 to i32
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %38
  br label %47

46:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.14, i32 noundef 769, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

47:                                               ; preds = %45
  %48 = call i32 @sc_map_get_32(ptr noundef %1, i32 noundef 0)
  %49 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %50 = load i8, ptr %49, align 2, !tbaa !5, !range !12, !noundef !13
  %51 = trunc i8 %50 to i1
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  br label %54

53:                                               ; preds = %47
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 772, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

54:                                               ; preds = %52
  %55 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef 0, i32 noundef 200)
  %56 = call i32 @sc_map_get_32(ptr noundef %1, i32 noundef 0)
  %57 = icmp eq i32 %56, 200
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  br label %60

59:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str.14, i32 noundef 774, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

60:                                               ; preds = %58
  %61 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %62 = load i8, ptr %61, align 2, !tbaa !5, !range !12, !noundef !13
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %65

64:                                               ; preds = %60
  br label %66

65:                                               ; preds = %60
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 775, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

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

67:                                               ; preds = %81, %66
  %68 = load i32, ptr %2, align 4, !tbaa !14
  %69 = icmp slt i32 %68, 14
  br i1 %69, label %71, label %70

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

71:                                               ; preds = %67
  %72 = load i32, ptr %2, align 4, !tbaa !14
  %73 = load i32, ptr %2, align 4, !tbaa !14
  %74 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %72, i32 noundef %73)
  %75 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 6
  %76 = load i8, ptr %75, align 1, !tbaa !15, !range !12, !noundef !13
  %77 = trunc i8 %76 to i1
  br i1 %77, label %79, label %78

78:                                               ; preds = %71
  br label %80

79:                                               ; preds = %71
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.14, i32 noundef 779, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

80:                                               ; preds = %78
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %2, align 4, !tbaa !14
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %2, align 4, !tbaa !14
  br label %67, !llvm.loop !16

84:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 100, ptr %3, align 4, !tbaa !14
  br label %85

85:                                               ; preds = %100, %84
  %86 = load i32, ptr %3, align 4, !tbaa !14
  %87 = icmp slt i32 %86, 200
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %103

89:                                               ; preds = %85
  %90 = load i32, ptr %3, align 4, !tbaa !14
  %91 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef %90)
  %92 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %93 = load i8, ptr %92, align 2, !tbaa !5, !range !12, !noundef !13
  %94 = trunc i8 %93 to i1
  %95 = zext i1 %94 to i32
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %89
  br label %99

98:                                               ; preds = %89
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.14, i32 noundef 784, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

99:                                               ; preds = %97
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %3, align 4, !tbaa !14
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %3, align 4, !tbaa !14
  br label %85, !llvm.loop !18

103:                                              ; preds = %88
  call void @sc_map_clear_32(ptr noundef %1)
  call void @sc_map_clear_32(ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %104

104:                                              ; preds = %112, %103
  %105 = load i32, ptr %4, align 4, !tbaa !14
  %106 = icmp slt i32 %105, 5
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %115

108:                                              ; preds = %104
  %109 = load i32, ptr %4, align 4, !tbaa !14
  %110 = load i32, ptr %4, align 4, !tbaa !14
  %111 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %109, i32 noundef %110)
  br label %112

112:                                              ; preds = %108
  %113 = load i32, ptr %4, align 4, !tbaa !14
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %4, align 4, !tbaa !14
  br label %104, !llvm.loop !19

115:                                              ; preds = %107
  %116 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef 31, i32 noundef 15)
  %117 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef 15, i32 noundef 15)
  %118 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef 46, i32 noundef 15)
  %119 = call i32 @sc_map_get_32(ptr noundef %1, i32 noundef 19)
  %120 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %121 = load i8, ptr %120, align 2, !tbaa !5, !range !12, !noundef !13
  %122 = trunc i8 %121 to i1
  %123 = zext i1 %122 to i32
  %124 = icmp eq i32 %123, 0
  br i1 %124, label %125, label %126

125:                                              ; preds = %115
  br label %127

126:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.14, i32 noundef 798, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

127:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %128

128:                                              ; preds = %139, %127
  %129 = load i32, ptr %5, align 4, !tbaa !14
  %130 = icmp slt i32 %129, 5
  br i1 %130, label %132, label %131

131:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %142

132:                                              ; preds = %128
  %133 = load i32, ptr %5, align 4, !tbaa !14
  %134 = mul nsw i32 5, %133
  %135 = load i32, ptr %5, align 4, !tbaa !14
  %136 = add nsw i32 %134, %135
  %137 = load i32, ptr %5, align 4, !tbaa !14
  %138 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %136, i32 noundef %137)
  br label %139

139:                                              ; preds = %132
  %140 = load i32, ptr %5, align 4, !tbaa !14
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %5, align 4, !tbaa !14
  br label %128, !llvm.loop !20

142:                                              ; preds = %131
  %143 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 4)
  %144 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %145 = load i8, ptr %144, align 2, !tbaa !5, !range !12, !noundef !13
  %146 = trunc i8 %145 to i1
  br i1 %146, label %147, label %148

147:                                              ; preds = %142
  br label %149

148:                                              ; preds = %142
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 805, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

149:                                              ; preds = %147
  %150 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 46)
  %151 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %152 = load i8, ptr %151, align 2, !tbaa !5, !range !12, !noundef !13
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %155

154:                                              ; preds = %149
  br label %156

155:                                              ; preds = %149
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 808, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

156:                                              ; preds = %154
  %157 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 15)
  %158 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %159 = load i8, ptr %158, align 2, !tbaa !5, !range !12, !noundef !13
  %160 = trunc i8 %159 to i1
  br i1 %160, label %161, label %162

161:                                              ; preds = %156
  br label %163

162:                                              ; preds = %156
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 811, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

163:                                              ; preds = %161
  call void @sc_map_clear_32(ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !14
  br label %164

164:                                              ; preds = %173, %163
  %165 = load i32, ptr %6, align 4, !tbaa !14
  %166 = icmp slt i32 %165, 4
  br i1 %166, label %168, label %167

167:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %176

168:                                              ; preds = %164
  %169 = load i32, ptr %6, align 4, !tbaa !14
  %170 = mul nsw i32 16, %169
  %171 = load i32, ptr %6, align 4, !tbaa !14
  %172 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %170, i32 noundef %171)
  br label %173

173:                                              ; preds = %168
  %174 = load i32, ptr %6, align 4, !tbaa !14
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %6, align 4, !tbaa !14
  br label %164, !llvm.loop !21

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

177:                                              ; preds = %186, %176
  %178 = load i32, ptr %7, align 4, !tbaa !14
  %179 = icmp slt i32 %178, 4
  br i1 %179, label %181, label %180

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

181:                                              ; preds = %177
  %182 = load i32, ptr %7, align 4, !tbaa !14
  %183 = mul nsw i32 1024, %182
  %184 = load i32, ptr %7, align 4, !tbaa !14
  %185 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %183, i32 noundef %184)
  br label %186

186:                                              ; preds = %181
  %187 = load i32, ptr %7, align 4, !tbaa !14
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %7, align 4, !tbaa !14
  br label %177, !llvm.loop !22

189:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !14
  br label %190

190:                                              ; preds = %199, %189
  %191 = load i32, ptr %8, align 4, !tbaa !14
  %192 = icmp slt i32 %191, 4
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %202

194:                                              ; preds = %190
  %195 = load i32, ptr %8, align 4, !tbaa !14
  %196 = mul nsw i32 512, %195
  %197 = load i32, ptr %8, align 4, !tbaa !14
  %198 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %196, i32 noundef %197)
  br label %199

199:                                              ; preds = %194
  %200 = load i32, ptr %8, align 4, !tbaa !14
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %8, align 4, !tbaa !14
  br label %190, !llvm.loop !23

202:                                              ; preds = %193
  %203 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 512)
  %204 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %205 = load i8, ptr %204, align 2, !tbaa !5, !range !12, !noundef !13
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %208

207:                                              ; preds = %202
  br label %209

208:                                              ; preds = %202
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 826, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

209:                                              ; preds = %207
  %210 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 1024)
  %211 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %212 = load i8, ptr %211, align 2, !tbaa !5, !range !12, !noundef !13
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %215

214:                                              ; preds = %209
  br label %216

215:                                              ; preds = %209
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 829, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

216:                                              ; preds = %214
  %217 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef 48)
  %218 = getelementptr inbounds %struct.sc_map_32, ptr %1, i32 0, i32 7
  %219 = load i8, ptr %218, align 2, !tbaa !5, !range !12, !noundef !13
  %220 = trunc i8 %219 to i1
  br i1 %220, label %221, label %222

221:                                              ; preds = %216
  br label %223

222:                                              ; preds = %216
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 832, ptr noundef @__PRETTY_FUNCTION__.test_32) #6
  unreachable

223:                                              ; preds = %221
  call void @sc_map_term_32(ptr noundef %1)
  %224 = call zeroext i1 @sc_map_init_32(ptr noundef %1, i32 noundef 2, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %225

225:                                              ; preds = %241, %223
  %226 = load i32, ptr %9, align 4, !tbaa !14
  %227 = icmp slt i32 %226, 1000000
  br i1 %227, label %229, label %228

228:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %244

229:                                              ; preds = %225
  %230 = call i32 @sc_map_size_32(ptr noundef %1)
  %231 = icmp ult i32 %230, 16
  br i1 %231, label %232, label %235

232:                                              ; preds = %229
  %233 = load i32, ptr %9, align 4, !tbaa !14
  %234 = call i32 @sc_map_put_32(ptr noundef %1, i32 noundef %233, i32 noundef 1)
  br label %240

235:                                              ; preds = %229
  %236 = call i32 @rand() #5
  %237 = load i32, ptr %9, align 4, !tbaa !14
  %238 = srem i32 %236, %237
  %239 = call i32 @sc_map_del_32(ptr noundef %1, i32 noundef %238)
  br label %240

240:                                              ; preds = %235, %232
  br label %241

241:                                              ; preds = %240
  %242 = load i32, ptr %9, align 4, !tbaa !14
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %9, align 4, !tbaa !14
  br label %225, !llvm.loop !24

244:                                              ; preds = %228
  call void @sc_map_term_32(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #5
  ret void
}

declare zeroext i1 @sc_map_init_32(ptr noundef, i32 noundef, i32 noundef) #4

declare void @sc_map_term_32(ptr noundef) #4

declare i32 @sc_map_del_32(ptr noundef, i32 noundef) #4

declare i32 @sc_map_get_32(ptr noundef, i32 noundef) #4

declare i32 @sc_map_put_32(ptr noundef, i32 noundef, i32 noundef) #4

declare void @sc_map_clear_32(ptr noundef) #4

declare i32 @sc_map_size_32(ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 }

!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, !11, i64 26}
!6 = !{!"sc_map_32", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 25, !11, i64 26}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !11, i64 25}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = distinct !{!24, !17}


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

%struct.sc_map_32 = type { ptr, i32, i32, i32, i32, i8, i8, i8 }

@.str.14 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [27 x i8], align 1
@__PRETTY_FUNCTION__.test_32 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [18 x i8], align 1

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

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

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @test_32() local_unnamed_addr #3 {
  %1 = alloca %struct.sc_map_32, align 8
  tail call void @srand(i32 noundef 2132132131) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  %2 = call zeroext i1 @sc_map_init_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0) #5
  br i1 %2, label %4, label %3

3:                                                ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.14, i32 noundef 758, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

4:                                                ; preds = %0
  call void @sc_map_term_32(ptr noundef nonnull %1) #5
  %5 = call zeroext i1 @sc_map_init_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 1) #5
  br i1 %5, label %6, label %7

6:                                                ; preds = %4
  call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.14, i32 noundef 760, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

7:                                                ; preds = %4
  %8 = call zeroext i1 @sc_map_init_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 99) #5
  br i1 %8, label %9, label %10

9:                                                ; preds = %7
  call void @__assert_fail(ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.14, i32 noundef 761, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

10:                                               ; preds = %7
  %11 = call zeroext i1 @sc_map_init_32(ptr noundef nonnull %1, i32 noundef 16, i32 noundef 94) #5
  br i1 %11, label %13, label %12

12:                                               ; preds = %10
  call void @__assert_fail(ptr noundef nonnull @.str.56, ptr noundef nonnull @.str.14, i32 noundef 763, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

13:                                               ; preds = %10
  %14 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 0) #5
  %15 = getelementptr inbounds i8, ptr %1, i64 26
  %16 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %17 = icmp eq i8 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %13
  call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.14, i32 noundef 766, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

19:                                               ; preds = %13
  %20 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 1) #5
  %21 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %22 = icmp eq i8 %21, 0
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.14, i32 noundef 769, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

24:                                               ; preds = %19
  %25 = call i32 @sc_map_get_32(ptr noundef nonnull %1, i32 noundef 0) #5
  %26 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %28, label %29

28:                                               ; preds = %24
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 772, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

29:                                               ; preds = %24
  %30 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 200) #5
  %31 = call i32 @sc_map_get_32(ptr noundef nonnull %1, i32 noundef 0) #5
  %32 = icmp eq i32 %31, 200
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.14, i32 noundef 774, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

34:                                               ; preds = %29
  %35 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %.preheader42, label %41

.preheader42:                                     ; preds = %34
  %37 = getelementptr inbounds i8, ptr %1, i64 25
  %38 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0) #5
  %39 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %94, label %42

41:                                               ; preds = %34
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 775, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

42:                                               ; preds = %.preheader42
  %43 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 1, i32 noundef 1) #5
  %44 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %94, label %46

46:                                               ; preds = %42
  %47 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 2, i32 noundef 2) #5
  %48 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %49 = trunc nuw i8 %48 to i1
  br i1 %49, label %94, label %50

50:                                               ; preds = %46
  %51 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 3, i32 noundef 3) #5
  %52 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %53 = trunc nuw i8 %52 to i1
  br i1 %53, label %94, label %54

54:                                               ; preds = %50
  %55 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 4, i32 noundef 4) #5
  %56 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %57 = trunc nuw i8 %56 to i1
  br i1 %57, label %94, label %58

58:                                               ; preds = %54
  %59 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 5, i32 noundef 5) #5
  %60 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %94, label %62

62:                                               ; preds = %58
  %63 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 6, i32 noundef 6) #5
  %64 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %65 = trunc nuw i8 %64 to i1
  br i1 %65, label %94, label %66

66:                                               ; preds = %62
  %67 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 7, i32 noundef 7) #5
  %68 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %69 = trunc nuw i8 %68 to i1
  br i1 %69, label %94, label %70

70:                                               ; preds = %66
  %71 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 8, i32 noundef 8) #5
  %72 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %73 = trunc nuw i8 %72 to i1
  br i1 %73, label %94, label %74

74:                                               ; preds = %70
  %75 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 9, i32 noundef 9) #5
  %76 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %94, label %78

78:                                               ; preds = %74
  %79 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 10, i32 noundef 10) #5
  %80 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %94, label %82

82:                                               ; preds = %78
  %83 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 11, i32 noundef 11) #5
  %84 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %85 = trunc nuw i8 %84 to i1
  br i1 %85, label %94, label %86

86:                                               ; preds = %82
  %87 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 12, i32 noundef 12) #5
  %88 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %89 = trunc nuw i8 %88 to i1
  br i1 %89, label %94, label %90

90:                                               ; preds = %86
  %91 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 13, i32 noundef 13) #5
  %92 = load i8, ptr %37, align 1, !tbaa !14, !range !12, !noundef !13
  %93 = trunc nuw i8 %92 to i1
  br i1 %93, label %94, label %.preheader41

94:                                               ; preds = %90, %86, %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %.preheader42
  call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.14, i32 noundef 779, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

95:                                               ; preds = %.preheader41
  %96 = add nuw nsw i32 %.03744, 1
  %exitcond.not = icmp eq i32 %96, 200
  br i1 %exitcond.not, label %97, label %.preheader41, !llvm.loop !15

97:                                               ; preds = %95
  call void @sc_map_clear_32(ptr noundef nonnull %1) #5
  call void @sc_map_clear_32(ptr noundef nonnull %1) #5
  %98 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0) #5
  %99 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 1, i32 noundef 1) #5
  %100 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 2, i32 noundef 2) #5
  %101 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 3, i32 noundef 3) #5
  %102 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 4, i32 noundef 4) #5
  %103 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 31, i32 noundef 15) #5
  %104 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 15, i32 noundef 15) #5
  %105 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 46, i32 noundef 15) #5
  %106 = call i32 @sc_map_get_32(ptr noundef nonnull %1, i32 noundef 19) #5
  %107 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %108 = icmp eq i8 %107, 0
  br i1 %108, label %.preheader40.preheader, label %121

.preheader41:                                     ; preds = %90, %95
  %.03744 = phi i32 [ %96, %95 ], [ 100, %90 ]
  %109 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef %.03744) #5
  %110 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %111 = icmp eq i8 %110, 0
  br i1 %111, label %95, label %112

112:                                              ; preds = %.preheader41
  call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.14, i32 noundef 784, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

.preheader40.preheader:                           ; preds = %97
  %113 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 0, i32 noundef 0) #5
  %114 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 6, i32 noundef 1) #5
  %115 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 12, i32 noundef 2) #5
  %116 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 18, i32 noundef 3) #5
  %117 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 24, i32 noundef 4) #5
  %118 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 4) #5
  %119 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %123, label %122

121:                                              ; preds = %97
  call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.14, i32 noundef 798, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

122:                                              ; preds = %.preheader40.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 805, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

123:                                              ; preds = %.preheader40.preheader
  %124 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 46) #5
  %125 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %126 = trunc nuw i8 %125 to i1
  br i1 %126, label %128, label %127

127:                                              ; preds = %123
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 808, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

128:                                              ; preds = %123
  %129 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 15) #5
  %130 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %131 = trunc nuw i8 %130 to i1
  br i1 %131, label %.preheader39.preheader, label %132

132:                                              ; preds = %128
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 811, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

.preheader39.preheader:                           ; preds = %128
  call void @sc_map_clear_32(ptr noundef nonnull %1) #5
  %133 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 16, i32 noundef 1) #5
  %134 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 32, i32 noundef 2) #5
  %135 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 48, i32 noundef 3) #5
  %136 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef 1) #5
  %137 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 2048, i32 noundef 2) #5
  %138 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 3072, i32 noundef 3) #5
  %139 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 512, i32 noundef 1) #5
  %140 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 1024, i32 noundef 2) #5
  %141 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef 1536, i32 noundef 3) #5
  %142 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 512) #5
  %143 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %144 = trunc nuw i8 %143 to i1
  br i1 %144, label %146, label %145

145:                                              ; preds = %.preheader39.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 826, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

146:                                              ; preds = %.preheader39.preheader
  %147 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 1024) #5
  %148 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %149 = trunc nuw i8 %148 to i1
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 829, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

151:                                              ; preds = %146
  %152 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef 48) #5
  %153 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %154 = trunc nuw i8 %153 to i1
  br i1 %154, label %156, label %155

155:                                              ; preds = %151
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 832, ptr noundef nonnull @__PRETTY_FUNCTION__.test_32) #6
  unreachable

156:                                              ; preds = %151
  call void @sc_map_term_32(ptr noundef nonnull %1) #5
  %157 = call zeroext i1 @sc_map_init_32(ptr noundef nonnull %1, i32 noundef 2, i32 noundef 0) #5
  br label %159

158:                                              ; preds = %168
  call void @sc_map_term_32(ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  ret void

159:                                              ; preds = %156, %168
  %.050 = phi i32 [ 0, %156 ], [ %169, %168 ]
  %160 = call i32 @sc_map_size_32(ptr noundef nonnull %1) #5
  %161 = icmp ult i32 %160, 16
  br i1 %161, label %162, label %164

162:                                              ; preds = %159
  %163 = call i32 @sc_map_put_32(ptr noundef nonnull %1, i32 noundef %.050, i32 noundef 1) #5
  br label %168

164:                                              ; preds = %159
  %165 = call i32 @rand() #5
  %166 = srem i32 %165, %.050
  %167 = call i32 @sc_map_del_32(ptr noundef nonnull %1, i32 noundef %166) #5
  br label %168

168:                                              ; preds = %162, %164
  %169 = add nuw nsw i32 %.050, 1
  %exitcond56.not = icmp eq i32 %169, 1000000
  br i1 %exitcond56.not, label %158, label %159, !llvm.loop !17
}

declare zeroext i1 @sc_map_init_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @sc_map_term_32(ptr noundef) local_unnamed_addr #4

declare i32 @sc_map_del_32(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @sc_map_get_32(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @sc_map_put_32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @sc_map_clear_32(ptr noundef) local_unnamed_addr #4

declare i32 @sc_map_size_32(ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 }

!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, !11, i64 26}
!6 = !{!"sc_map_32", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 25, !11, i64 26}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_Bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!6, !11, i64 25}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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