; 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_s64 = 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.59 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__.test_s64 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [27 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 uwtable
define dso_local void @test_s64() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca %struct.sc_map_s64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @srand(i32 noundef 2132132131) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #5
  store ptr @.str.78, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #5
  %7 = call zeroext i1 @sc_map_init_s64(ptr noundef %2, i32 noundef 0, i32 noundef 0)
  br i1 %7, label %8, label %9

8:                                                ; preds = %0
  br label %10

9:                                                ; preds = %0
  call void @__assert_fail(ptr noundef @.str.94, ptr noundef @.str.14, i32 noundef 1403, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

10:                                               ; preds = %8
  call void @sc_map_term_s64(ptr noundef %2)
  %11 = call zeroext i1 @sc_map_init_s64(ptr noundef %2, i32 noundef 0, i32 noundef 1)
  %12 = zext i1 %11 to i32
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %10
  br label %16

15:                                               ; preds = %10
  call void @__assert_fail(ptr noundef @.str.95, ptr noundef @.str.14, i32 noundef 1405, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

16:                                               ; preds = %14
  %17 = call zeroext i1 @sc_map_init_s64(ptr noundef %2, i32 noundef 0, i32 noundef 99)
  %18 = zext i1 %17 to i32
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %20, label %21

20:                                               ; preds = %16
  br label %22

21:                                               ; preds = %16
  call void @__assert_fail(ptr noundef @.str.96, ptr noundef @.str.14, i32 noundef 1406, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

22:                                               ; preds = %20
  %23 = call zeroext i1 @sc_map_init_s64(ptr noundef %2, i32 noundef 16, i32 noundef 94)
  br i1 %23, label %24, label %25

24:                                               ; preds = %22
  br label %26

25:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.97, ptr noundef @.str.14, i32 noundef 1408, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

26:                                               ; preds = %24
  %27 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef null)
  %28 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %29 = load i8, ptr %28, align 2, !tbaa !9, !range !13, !noundef !14
  %30 = trunc i8 %29 to i1
  br i1 %30, label %32, label %31

31:                                               ; preds = %26
  br label %33

32:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1410, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

33:                                               ; preds = %31
  %34 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef @.str.83)
  %35 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %36 = load i8, ptr %35, align 2, !tbaa !9, !range !13, !noundef !14
  %37 = trunc i8 %36 to i1
  br i1 %37, label %39, label %38

38:                                               ; preds = %33
  br label %40

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

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !15
  br label %41

41:                                               ; preds = %51, %40
  %42 = load i32, ptr %3, align 4, !tbaa !15
  %43 = icmp slt i32 %42, 14
  br i1 %43, label %45, label %44

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

45:                                               ; preds = %41
  %46 = load ptr, ptr %1, align 8, !tbaa !5
  %47 = load i32, ptr %3, align 4, !tbaa !15
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %46, i64 %48
  %50 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %49, i64 noundef 0)
  br label %51

51:                                               ; preds = %45
  %52 = load i32, ptr %3, align 4, !tbaa !15
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !15
  br label %41, !llvm.loop !16

54:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 15, ptr %4, align 4, !tbaa !15
  br label %55

55:                                               ; preds = %71, %54
  %56 = load i32, ptr %4, align 4, !tbaa !15
  %57 = icmp slt i32 %56, 30
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %74

59:                                               ; preds = %55
  %60 = load ptr, ptr %1, align 8, !tbaa !5
  %61 = load i32, ptr %4, align 4, !tbaa !15
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %60, i64 %62
  %64 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef %63)
  %65 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %66 = load i8, ptr %65, align 2, !tbaa !9, !range !13, !noundef !14
  %67 = trunc i8 %66 to i1
  br i1 %67, label %69, label %68

68:                                               ; preds = %59
  br label %70

69:                                               ; preds = %59
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1421, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

70:                                               ; preds = %68
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %4, align 4, !tbaa !15
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %4, align 4, !tbaa !15
  br label %55, !llvm.loop !18

74:                                               ; preds = %58
  call void @sc_map_clear_s64(ptr noundef %2)
  call void @sc_map_clear_s64(ptr noundef %2)
  %75 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.84, i64 noundef 0)
  %76 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.85, i64 noundef 0)
  %77 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef @.str.86)
  %78 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %79 = load i8, ptr %78, align 2, !tbaa !9, !range !13, !noundef !14
  %80 = trunc i8 %79 to i1
  br i1 %80, label %82, label %81

81:                                               ; preds = %74
  br label %83

82:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1431, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

83:                                               ; preds = %81
  %84 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef null)
  %85 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %86 = load i8, ptr %85, align 2, !tbaa !9, !range !13, !noundef !14
  %87 = trunc i8 %86 to i1
  br i1 %87, label %89, label %88

88:                                               ; preds = %83
  br label %90

89:                                               ; preds = %83
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1434, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

90:                                               ; preds = %88
  %91 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef @.str.84)
  %92 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %93 = load i8, ptr %92, align 2, !tbaa !9, !range !13, !noundef !14
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  br label %97

96:                                               ; preds = %90
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1437, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

97:                                               ; preds = %95
  %98 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef @.str.85)
  %99 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %100 = load i8, ptr %99, align 2, !tbaa !9, !range !13, !noundef !14
  %101 = trunc i8 %100 to i1
  br i1 %101, label %102, label %103

102:                                              ; preds = %97
  br label %104

103:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1440, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

104:                                              ; preds = %102
  %105 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef @.str.87)
  %106 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %107 = load i8, ptr %106, align 2, !tbaa !9, !range !13, !noundef !14
  %108 = trunc i8 %107 to i1
  br i1 %108, label %110, label %109

109:                                              ; preds = %104
  br label %111

110:                                              ; preds = %104
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1443, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

111:                                              ; preds = %109
  %112 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef null, i64 noundef 0)
  %113 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %114 = load i8, ptr %113, align 2, !tbaa !9, !range !13, !noundef !14
  %115 = trunc i8 %114 to i1
  br i1 %115, label %117, label %116

116:                                              ; preds = %111
  br label %118

117:                                              ; preds = %111
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1446, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

118:                                              ; preds = %116
  %119 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef null)
  %120 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %121 = load i8, ptr %120, align 2, !tbaa !9, !range !13, !noundef !14
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %124

123:                                              ; preds = %118
  br label %125

124:                                              ; preds = %118
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1449, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

125:                                              ; preds = %123
  %126 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef null)
  %127 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %128 = load i8, ptr %127, align 2, !tbaa !9, !range !13, !noundef !14
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %131

130:                                              ; preds = %125
  br label %132

131:                                              ; preds = %125
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1452, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

132:                                              ; preds = %130
  %133 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef @.str.84)
  %134 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %135 = load i8, ptr %134, align 2, !tbaa !9, !range !13, !noundef !14
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %138

137:                                              ; preds = %132
  br label %139

138:                                              ; preds = %132
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1455, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

139:                                              ; preds = %137
  %140 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef @.str.86)
  %141 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %142 = load i8, ptr %141, align 2, !tbaa !9, !range !13, !noundef !14
  %143 = trunc i8 %142 to i1
  br i1 %143, label %145, label %144

144:                                              ; preds = %139
  br label %146

145:                                              ; preds = %139
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1458, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

146:                                              ; preds = %144
  call void @sc_map_clear_s64(ptr noundef %2)
  %147 = call i32 @sc_map_size_s64(ptr noundef %2)
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %146
  br label %151

150:                                              ; preds = %146
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.14, i32 noundef 1460, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

151:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !15
  br label %152

152:                                              ; preds = %162, %151
  %153 = load i32, ptr %5, align 4, !tbaa !15
  %154 = icmp slt i32 %153, 5
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %165

156:                                              ; preds = %152
  %157 = load ptr, ptr %1, align 8, !tbaa !5
  %158 = load i32, ptr %5, align 4, !tbaa !15
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds i8, ptr %157, i64 %159
  %161 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %160, i64 noundef 0)
  br label %162

162:                                              ; preds = %156
  %163 = load i32, ptr %5, align 4, !tbaa !15
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %5, align 4, !tbaa !15
  br label %152, !llvm.loop !19

165:                                              ; preds = %155
  %166 = load ptr, ptr %1, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 15
  %168 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %167, i64 noundef 0)
  %169 = load ptr, ptr %1, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i64 7
  %171 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %170, i64 noundef 0)
  %172 = load ptr, ptr %1, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %172, i64 9
  %174 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %173, i64 noundef 0)
  %175 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 6
  %176 = load i8, ptr %175, align 1, !tbaa !20, !range !13, !noundef !14
  %177 = trunc i8 %176 to i1
  br i1 %177, label %179, label %178

178:                                              ; preds = %165
  br label %180

179:                                              ; preds = %165
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.14, i32 noundef 1469, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

180:                                              ; preds = %178
  %181 = load ptr, ptr %1, align 8, !tbaa !5
  %182 = getelementptr inbounds i8, ptr %181, i64 16
  %183 = call i64 @sc_map_get_s64(ptr noundef %2, ptr noundef %182)
  %184 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %185 = load i8, ptr %184, align 2, !tbaa !9, !range !13, !noundef !14
  %186 = trunc i8 %185 to i1
  br i1 %186, label %188, label %187

187:                                              ; preds = %180
  br label %189

188:                                              ; preds = %180
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 1472, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

189:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !15
  br label %190

190:                                              ; preds = %209, %189
  %191 = load i32, ptr %6, align 4, !tbaa !15
  %192 = icmp slt i32 %191, 5
  br i1 %192, label %194, label %193

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

194:                                              ; preds = %190
  %195 = load ptr, ptr %1, align 8, !tbaa !5
  %196 = load i32, ptr %6, align 4, !tbaa !15
  %197 = mul nsw i32 5, %196
  %198 = load i32, ptr %6, align 4, !tbaa !15
  %199 = add nsw i32 %197, %198
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds i8, ptr %195, i64 %200
  %202 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef %201, i64 noundef 0)
  %203 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 6
  %204 = load i8, ptr %203, align 1, !tbaa !20, !range !13, !noundef !14
  %205 = trunc i8 %204 to i1
  br i1 %205, label %207, label %206

206:                                              ; preds = %194
  br label %208

207:                                              ; preds = %194
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.14, i32 noundef 1476, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %6, align 4, !tbaa !15
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %6, align 4, !tbaa !15
  br label %190, !llvm.loop !21

212:                                              ; preds = %193
  %213 = load ptr, ptr %1, align 8, !tbaa !5
  %214 = getelementptr inbounds i8, ptr %213, i64 4
  %215 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef %214)
  %216 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %217 = load i8, ptr %216, align 2, !tbaa !9, !range !13, !noundef !14
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %220

219:                                              ; preds = %212
  br label %221

220:                                              ; preds = %212
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1480, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

221:                                              ; preds = %219
  %222 = load ptr, ptr %1, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i64 6
  %224 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef %223)
  %225 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %226 = load i8, ptr %225, align 2, !tbaa !9, !range !13, !noundef !14
  %227 = trunc i8 %226 to i1
  br i1 %227, label %228, label %229

228:                                              ; preds = %221
  br label %230

229:                                              ; preds = %221
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1483, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

230:                                              ; preds = %228
  %231 = load ptr, ptr %1, align 8, !tbaa !5
  %232 = getelementptr inbounds i8, ptr %231, i64 15
  %233 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef %232)
  %234 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %235 = load i8, ptr %234, align 2, !tbaa !9, !range !13, !noundef !14
  %236 = trunc i8 %235 to i1
  br i1 %236, label %237, label %238

237:                                              ; preds = %230
  br label %239

238:                                              ; preds = %230
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1486, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

239:                                              ; preds = %237
  call void @sc_map_clear_s64(ptr noundef %2)
  %240 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.84, i64 noundef 0)
  %241 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.85, i64 noundef 0)
  %242 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef @.str.84)
  %243 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %244 = load i8, ptr %243, align 2, !tbaa !9, !range !13, !noundef !14
  %245 = trunc i8 %244 to i1
  br i1 %245, label %246, label %247

246:                                              ; preds = %239
  br label %248

247:                                              ; preds = %239
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1492, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

248:                                              ; preds = %246
  call void @sc_map_clear_s64(ptr noundef %2)
  %249 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.84, i64 noundef 0)
  %250 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.85, i64 noundef 0)
  %251 = call i64 @sc_map_put_s64(ptr noundef %2, ptr noundef @.str.86, i64 noundef 0)
  %252 = call i64 @sc_map_del_s64(ptr noundef %2, ptr noundef @.str.85)
  %253 = getelementptr inbounds %struct.sc_map_s64, ptr %2, i32 0, i32 7
  %254 = load i8, ptr %253, align 2, !tbaa !9, !range !13, !noundef !14
  %255 = trunc i8 %254 to i1
  br i1 %255, label %256, label %257

256:                                              ; preds = %248
  br label %258

257:                                              ; preds = %248
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.14, i32 noundef 1500, ptr noundef @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

258:                                              ; preds = %256
  call void @sc_map_term_s64(ptr noundef %2)
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #5
  ret void
}

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

declare void @sc_map_term_s64(ptr noundef) #4

declare i64 @sc_map_del_s64(ptr noundef, ptr noundef) #4

declare i64 @sc_map_put_s64(ptr noundef, ptr noundef, i64 noundef) #4

declare void @sc_map_clear_s64(ptr noundef) #4

declare i64 @sc_map_get_s64(ptr noundef, ptr noundef) #4

declare i32 @sc_map_size_s64(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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 26}
!10 = !{!"sc_map_s64", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 25, !12, i64 26}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{!10, !12, i64 25}
!21 = distinct !{!21, !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_s64 = 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.59 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [28 x i8], align 1
@__PRETTY_FUNCTION__.test_s64 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [27 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 uwtable
define dso_local void @test_s64() local_unnamed_addr #3 {
  %1 = alloca %struct.sc_map_s64, 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_s64(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.94, ptr noundef nonnull @.str.14, i32 noundef 1403, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

4:                                                ; preds = %0
  call void @sc_map_term_s64(ptr noundef nonnull %1) #5
  %5 = call zeroext i1 @sc_map_init_s64(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.95, ptr noundef nonnull @.str.14, i32 noundef 1405, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

7:                                                ; preds = %4
  %8 = call zeroext i1 @sc_map_init_s64(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.96, ptr noundef nonnull @.str.14, i32 noundef 1406, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

10:                                               ; preds = %7
  %11 = call zeroext i1 @sc_map_init_s64(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.97, ptr noundef nonnull @.str.14, i32 noundef 1408, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

13:                                               ; preds = %10
  %14 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef null) #5
  %15 = getelementptr inbounds i8, ptr %1, i64 26
  %16 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %18, label %19

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

19:                                               ; preds = %13
  %20 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.83) #5
  %21 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %40, label %.preheader28.preheader

.preheader28.preheader:                           ; preds = %19
  %23 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.78, i64 noundef 0) #5
  %24 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 1), i64 noundef 0) #5
  %25 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 2), i64 noundef 0) #5
  %26 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 3), i64 noundef 0) #5
  %27 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 4), i64 noundef 0) #5
  %28 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 5), i64 noundef 0) #5
  %29 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 6), i64 noundef 0) #5
  %30 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 7), i64 noundef 0) #5
  %31 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 8), i64 noundef 0) #5
  %32 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 9), i64 noundef 0) #5
  %33 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 10), i64 noundef 0) #5
  %34 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 11), i64 noundef 0) #5
  %35 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 12), i64 noundef 0) #5
  %36 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 13), i64 noundef 0) #5
  %37 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 15)) #5
  %38 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %89, label %.preheader27.1

40:                                               ; preds = %19
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1413, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

.preheader27.1:                                   ; preds = %.preheader28.preheader
  %41 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 16)) #5
  %42 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %43 = trunc nuw i8 %42 to i1
  br i1 %43, label %89, label %.preheader27.2

.preheader27.2:                                   ; preds = %.preheader27.1
  %44 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 17)) #5
  %45 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %46 = trunc nuw i8 %45 to i1
  br i1 %46, label %89, label %.preheader27.3

.preheader27.3:                                   ; preds = %.preheader27.2
  %47 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 18)) #5
  %48 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %49 = trunc nuw i8 %48 to i1
  br i1 %49, label %89, label %.preheader27.4

.preheader27.4:                                   ; preds = %.preheader27.3
  %50 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 19)) #5
  %51 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %89, label %.preheader27.5

.preheader27.5:                                   ; preds = %.preheader27.4
  %53 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 20)) #5
  %54 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %55 = trunc nuw i8 %54 to i1
  br i1 %55, label %89, label %.preheader27.6

.preheader27.6:                                   ; preds = %.preheader27.5
  %56 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 21)) #5
  %57 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %89, label %.preheader27.7

.preheader27.7:                                   ; preds = %.preheader27.6
  %59 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 22)) #5
  %60 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %89, label %.preheader27.8

.preheader27.8:                                   ; preds = %.preheader27.7
  %62 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 23)) #5
  %63 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %64 = trunc nuw i8 %63 to i1
  br i1 %64, label %89, label %.preheader27.9

.preheader27.9:                                   ; preds = %.preheader27.8
  %65 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 24)) #5
  %66 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %67 = trunc nuw i8 %66 to i1
  br i1 %67, label %89, label %.preheader27.10

.preheader27.10:                                  ; preds = %.preheader27.9
  %68 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 25)) #5
  %69 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %70 = trunc nuw i8 %69 to i1
  br i1 %70, label %89, label %.preheader27.11

.preheader27.11:                                  ; preds = %.preheader27.10
  %71 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 26)) #5
  %72 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %73 = trunc nuw i8 %72 to i1
  br i1 %73, label %89, label %.preheader27.12

.preheader27.12:                                  ; preds = %.preheader27.11
  %74 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 27)) #5
  %75 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %76 = trunc nuw i8 %75 to i1
  br i1 %76, label %89, label %.preheader27.13

.preheader27.13:                                  ; preds = %.preheader27.12
  %77 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 28)) #5
  %78 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %79 = trunc nuw i8 %78 to i1
  br i1 %79, label %89, label %.preheader27.14

.preheader27.14:                                  ; preds = %.preheader27.13
  %80 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 29)) #5
  %81 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %82 = trunc nuw i8 %81 to i1
  br i1 %82, label %89, label %83

83:                                               ; preds = %.preheader27.14
  call void @sc_map_clear_s64(ptr noundef nonnull %1) #5
  call void @sc_map_clear_s64(ptr noundef nonnull %1) #5
  %84 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84, i64 noundef 0) #5
  %85 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.85, i64 noundef 0) #5
  %86 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.86) #5
  %87 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %90, label %91

89:                                               ; preds = %.preheader27.14, %.preheader27.13, %.preheader27.12, %.preheader27.11, %.preheader27.10, %.preheader27.9, %.preheader27.8, %.preheader27.7, %.preheader27.6, %.preheader27.5, %.preheader27.4, %.preheader27.3, %.preheader27.2, %.preheader27.1, %.preheader28.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1421, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

90:                                               ; preds = %83
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1431, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

91:                                               ; preds = %83
  %92 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef null) #5
  %93 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %94 = trunc nuw i8 %93 to i1
  br i1 %94, label %95, label %96

95:                                               ; preds = %91
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1434, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

96:                                               ; preds = %91
  %97 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84) #5
  %98 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1437, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

101:                                              ; preds = %96
  %102 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.85) #5
  %103 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1440, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

106:                                              ; preds = %101
  %107 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.87) #5
  %108 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %111

110:                                              ; preds = %106
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1443, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

111:                                              ; preds = %106
  %112 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef null, i64 noundef 0) #5
  %113 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %114 = trunc nuw i8 %113 to i1
  br i1 %114, label %115, label %116

115:                                              ; preds = %111
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1446, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

116:                                              ; preds = %111
  %117 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef null) #5
  %118 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %119 = trunc nuw i8 %118 to i1
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1449, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

121:                                              ; preds = %116
  %122 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef null) #5
  %123 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %124 = trunc nuw i8 %123 to i1
  br i1 %124, label %126, label %125

125:                                              ; preds = %121
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1452, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

126:                                              ; preds = %121
  %127 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84) #5
  %128 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %129 = trunc nuw i8 %128 to i1
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1455, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

131:                                              ; preds = %126
  %132 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.86) #5
  %133 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %134 = trunc nuw i8 %133 to i1
  br i1 %134, label %135, label %136

135:                                              ; preds = %131
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1458, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

136:                                              ; preds = %131
  call void @sc_map_clear_s64(ptr noundef nonnull %1) #5
  %137 = call i32 @sc_map_size_s64(ptr noundef nonnull %1) #5
  %138 = icmp eq i32 %137, 0
  br i1 %138, label %.preheader26.preheader, label %150

.preheader26.preheader:                           ; preds = %136
  %139 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.78, i64 noundef 0) #5
  %140 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 1), i64 noundef 0) #5
  %141 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 2), i64 noundef 0) #5
  %142 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 3), i64 noundef 0) #5
  %143 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 4), i64 noundef 0) #5
  %144 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 15), i64 noundef 0) #5
  %145 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 7), i64 noundef 0) #5
  %146 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 9), i64 noundef 0) #5
  %147 = getelementptr inbounds i8, ptr %1, i64 25
  %148 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %149 = trunc nuw i8 %148 to i1
  br i1 %149, label %151, label %152

150:                                              ; preds = %136
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.14, i32 noundef 1460, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

151:                                              ; preds = %.preheader26.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.14, i32 noundef 1469, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

152:                                              ; preds = %.preheader26.preheader
  %153 = call i64 @sc_map_get_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 16)) #5
  %154 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %155 = trunc nuw i8 %154 to i1
  br i1 %155, label %159, label %.preheader.preheader

.preheader.preheader:                             ; preds = %152
  %156 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.78, i64 noundef 0) #5
  %157 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %158 = trunc nuw i8 %157 to i1
  br i1 %158, label %176, label %.preheader.1

159:                                              ; preds = %152
  call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 1472, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

.preheader.1:                                     ; preds = %.preheader.preheader
  %160 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 6), i64 noundef 0) #5
  %161 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %162 = trunc nuw i8 %161 to i1
  br i1 %162, label %176, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %163 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 12), i64 noundef 0) #5
  %164 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %165 = trunc nuw i8 %164 to i1
  br i1 %165, label %176, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %166 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 18), i64 noundef 0) #5
  %167 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %168 = trunc nuw i8 %167 to i1
  br i1 %168, label %176, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %169 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 24), i64 noundef 0) #5
  %170 = load i8, ptr %147, align 1, !tbaa !14, !range !12, !noundef !13
  %171 = trunc nuw i8 %170 to i1
  br i1 %171, label %176, label %172

172:                                              ; preds = %.preheader.4
  %173 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 4)) #5
  %174 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %175 = trunc nuw i8 %174 to i1
  br i1 %175, label %178, label %177

176:                                              ; preds = %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.14, i32 noundef 1476, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

177:                                              ; preds = %172
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1480, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

178:                                              ; preds = %172
  %179 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 6)) #5
  %180 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %181 = trunc nuw i8 %180 to i1
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1483, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

183:                                              ; preds = %178
  %184 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull getelementptr inbounds (i8, ptr @.str.78, i64 15)) #5
  %185 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %186 = trunc nuw i8 %185 to i1
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1486, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

188:                                              ; preds = %183
  call void @sc_map_clear_s64(ptr noundef nonnull %1) #5
  %189 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84, i64 noundef 0) #5
  %190 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.85, i64 noundef 0) #5
  %191 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84) #5
  %192 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %193 = trunc nuw i8 %192 to i1
  br i1 %193, label %195, label %194

194:                                              ; preds = %188
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1492, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

195:                                              ; preds = %188
  call void @sc_map_clear_s64(ptr noundef nonnull %1) #5
  %196 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.84, i64 noundef 0) #5
  %197 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.85, i64 noundef 0) #5
  %198 = call i64 @sc_map_put_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.86, i64 noundef 0) #5
  %199 = call i64 @sc_map_del_s64(ptr noundef nonnull %1, ptr noundef nonnull @.str.85) #5
  %200 = load i8, ptr %15, align 2, !tbaa !5, !range !12, !noundef !13
  %201 = trunc nuw i8 %200 to i1
  br i1 %201, label %203, label %202

202:                                              ; preds = %195
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.14, i32 noundef 1500, ptr noundef nonnull @__PRETTY_FUNCTION__.test_s64) #6
  unreachable

203:                                              ; preds = %195
  call void @sc_map_term_s64(ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  ret void
}

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

declare void @sc_map_term_s64(ptr noundef) local_unnamed_addr #4

declare i64 @sc_map_del_s64(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i64 @sc_map_put_s64(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4

declare void @sc_map_clear_s64(ptr noundef) local_unnamed_addr #4

declare i64 @sc_map_get_s64(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @sc_map_size_s64(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_s64", !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}


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