; LLVM IR from jermp/2i_bench :: external/CRoaring/benchmarks (pair_wise_union)

; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.query = type { i32, i32 }

@.str = external hidden unnamed_addr constant [56 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @read_padding(ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.stat, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca i64, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = icmp slt i32 %33, 3
  br i1 %34, label %35, label %40

35:                                               ; preds = %2
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 0
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38)
  store i32 1, ptr %3, align 4
  br label %302

40:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds ptr, ptr %41, i64 1
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  store ptr %43, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = getelementptr inbounds ptr, ptr %44, i64 2
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = call i32 @atoi(ptr noundef %46) #9
  store i32 %47, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %48 = load ptr, ptr %6, align 8, !tbaa !9
  %49 = call i32 (ptr, i32, ...) @open(ptr noundef %48, i32 noundef 0)
  store i32 %49, ptr %8, align 4, !tbaa !5
  %50 = load i32, ptr %8, align 4, !tbaa !5
  %51 = icmp eq i32 %50, -1
  br i1 %51, label %52, label %55

52:                                               ; preds = %40
  %53 = load ptr, ptr %6, align 8, !tbaa !9
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %53)
  call void @exit(i32 noundef 1) #10
  unreachable

55:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 144, ptr %9) #8
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = call i32 @fstat(i32 noundef %56, ptr noundef %9) #8
  %58 = icmp eq i32 %57, -1
  br i1 %58, label %59, label %62

59:                                               ; preds = %55
  %60 = load ptr, ptr %6, align 8, !tbaa !9
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %60)
  call void @exit(i32 noundef 1) #10
  unreachable

62:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !5
  %63 = load i32, ptr %8, align 4, !tbaa !5
  %64 = call i64 @read(i32 noundef %63, ptr noundef %10, i64 noundef 4)
  %65 = load i32, ptr %8, align 4, !tbaa !5
  %66 = call i64 @read(i32 noundef %65, ptr noundef %11, i64 noundef 4)
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %67)
  %69 = load i32, ptr %11, align 4, !tbaa !5
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = zext i32 %71 to i64
  %73 = mul i64 %72, 4
  %74 = call noalias ptr @malloc(i64 noundef %73) #11
  store ptr %74, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = zext i32 %75 to i64
  %77 = mul i64 %76, 8
  %78 = call noalias ptr @malloc(i64 noundef %77) #11
  store ptr %78, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %79 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 8
  %80 = load i64, ptr %79, align 8, !tbaa !11
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = call ptr @mmap(ptr noundef null, i64 noundef %80, i32 noundef 1, i32 noundef 1, i32 noundef %81, i64 noundef 0) #8
  store ptr %82, ptr %14, align 8, !tbaa !9
  %83 = load ptr, ptr %14, align 8, !tbaa !9
  %84 = icmp ne ptr %83, null
  br i1 %84, label %87, label %85

85:                                               ; preds = %62
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  call void @exit(i32 noundef 1) #10
  unreachable

87:                                               ; preds = %62
  %88 = load ptr, ptr %14, align 8, !tbaa !9
  %89 = getelementptr inbounds i8, ptr %88, i64 8
  store ptr %89, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %104, %87
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = icmp ne i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %107

95:                                               ; preds = %90
  %96 = load ptr, ptr %14, align 8, !tbaa !9
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = load ptr, ptr %12, align 8, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds i32, ptr %98, i64 %100
  store i32 %97, ptr %101, align 4, !tbaa !5
  %102 = load ptr, ptr %14, align 8, !tbaa !9
  %103 = getelementptr inbounds i8, ptr %102, i64 4
  store ptr %103, ptr %14, align 8, !tbaa !9
  br label %104

104:                                              ; preds = %95
  %105 = load i32, ptr %15, align 4, !tbaa !5
  %106 = add i32 %105, 1
  store i32 %106, ptr %15, align 4, !tbaa !5
  br label %90, !llvm.loop !15

107:                                              ; preds = %94
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %109

109:                                              ; preds = %143, %107
  %110 = load i32, ptr %16, align 4, !tbaa !5
  %111 = load i32, ptr %10, align 4, !tbaa !5
  %112 = icmp ne i32 %110, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %146

114:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %115 = load ptr, ptr %12, align 8, !tbaa !9
  %116 = load i32, ptr %16, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds i32, ptr %115, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  store i32 %119, ptr %17, align 4, !tbaa !5
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = call ptr @read_padding(ptr noundef %120)
  store ptr %121, ptr %14, align 8, !tbaa !9
  %122 = load ptr, ptr %14, align 8, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = call ptr @roaring_bitmap_frozen_view(ptr noundef %122, i64 noundef %124)
  %126 = load ptr, ptr %13, align 8, !tbaa !9
  %127 = load i32, ptr %16, align 4, !tbaa !5
  %128 = zext i32 %127 to i64
  %129 = getelementptr inbounds ptr, ptr %126, i64 %128
  store ptr %125, ptr %129, align 8, !tbaa !9
  %130 = load ptr, ptr %13, align 8, !tbaa !9
  %131 = load i32, ptr %16, align 4, !tbaa !5
  %132 = zext i32 %131 to i64
  %133 = getelementptr inbounds ptr, ptr %130, i64 %132
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = icmp eq ptr %134, null
  br i1 %135, label %136, label %138

136:                                              ; preds = %114
  %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  call void @exit(i32 noundef 1) #10
  unreachable

138:                                              ; preds = %114
  %139 = load i32, ptr %17, align 4, !tbaa !5
  %140 = load ptr, ptr %14, align 8, !tbaa !9
  %141 = zext i32 %139 to i64
  %142 = getelementptr inbounds i8, ptr %140, i64 %141
  store ptr %142, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %143

143:                                              ; preds = %138
  %144 = load i32, ptr %16, align 4, !tbaa !5
  %145 = add i32 %144, 1
  store i32 %145, ptr %16, align 4, !tbaa !5
  br label %109, !llvm.loop !17

146:                                              ; preds = %113
  %147 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %147) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %148 = load i32, ptr %11, align 4, !tbaa !5
  %149 = zext i32 %148 to i64
  %150 = mul i64 %149, 4
  %151 = call noalias ptr @malloc(i64 noundef %150) #11
  store ptr %151, ptr %18, align 8, !tbaa !9
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = icmp eq i32 %152, 1
  br i1 %153, label %154, label %156

154:                                              ; preds = %146
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %19, align 4
  br label %301

156:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %157 = load i32, ptr %7, align 4, !tbaa !5
  %158 = zext i32 %157 to i64
  %159 = mul i64 %158, 8
  %160 = call noalias ptr @malloc(i64 noundef %159) #11
  store ptr %160, ptr %20, align 8, !tbaa !9
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %162

162:                                              ; preds = %191, %156
  %163 = load i32, ptr %21, align 4, !tbaa !5
  %164 = load i32, ptr %7, align 4, !tbaa !5
  %165 = icmp ne i32 %163, %164
  br i1 %165, label %167, label %166

166:                                              ; preds = %162
  store i32 8, ptr %19, align 4
  br label %194

167:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %168 = load ptr, ptr %20, align 8, !tbaa !9
  %169 = load i32, ptr %21, align 4, !tbaa !5
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds %struct.query, ptr %168, i64 %170
  %172 = getelementptr inbounds %struct.query, ptr %171, i32 0, i32 0
  %173 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.10, ptr noundef %172)
  store i32 %173, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %174 = load ptr, ptr %20, align 8, !tbaa !9
  %175 = load i32, ptr %21, align 4, !tbaa !5
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds %struct.query, ptr %174, i64 %176
  %178 = getelementptr inbounds %struct.query, ptr %177, i32 0, i32 1
  %179 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.10, ptr noundef %178)
  store i32 %179, ptr %23, align 4, !tbaa !5
  %180 = load i32, ptr %22, align 4, !tbaa !5
  %181 = icmp eq i32 %180, -1
  br i1 %181, label %185, label %182

182:                                              ; preds = %167
  %183 = load i32, ptr %23, align 4, !tbaa !5
  %184 = icmp eq i32 %183, -1
  br i1 %184, label %185, label %187

185:                                              ; preds = %182, %167
  %186 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %186, ptr %7, align 4, !tbaa !5
  store i32 8, ptr %19, align 4
  br label %188

187:                                              ; preds = %182
  store i32 0, ptr %19, align 4
  br label %188

188:                                              ; preds = %187, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  %189 = load i32, ptr %19, align 4
  switch i32 %189, label %194 [
    i32 0, label %190
  ]

190:                                              ; preds = %188
  br label %191

191:                                              ; preds = %190
  %192 = load i32, ptr %21, align 4, !tbaa !5
  %193 = add i32 %192, 1
  store i32 %193, ptr %21, align 4, !tbaa !5
  br label %162, !llvm.loop !18

194:                                              ; preds = %188, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %7, align 4, !tbaa !5
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %196)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store double 0.000000e+00, ptr %24, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  store i64 0, ptr %25, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %250, %195
  %199 = load i32, ptr %26, align 4, !tbaa !5
  %200 = icmp ne i32 %199, 11
  br i1 %200, label %202, label %201

201:                                              ; preds = %198
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %253

202:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %203 = call double @get_time_usecs()
  store double %203, ptr %27, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %204

204:                                              ; preds = %235, %202
  %205 = load i32, ptr %28, align 4, !tbaa !5
  %206 = load i32, ptr %7, align 4, !tbaa !5
  %207 = icmp ne i32 %205, %206
  br i1 %207, label %209, label %208

208:                                              ; preds = %204
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %238

209:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %210 = load ptr, ptr %13, align 8, !tbaa !9
  %211 = load ptr, ptr %20, align 8, !tbaa !9
  %212 = load i32, ptr %28, align 4, !tbaa !5
  %213 = zext i32 %212 to i64
  %214 = getelementptr inbounds %struct.query, ptr %211, i64 %213
  %215 = getelementptr inbounds %struct.query, ptr %214, i32 0, i32 0
  %216 = load i32, ptr %215, align 4, !tbaa !22
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds ptr, ptr %210, i64 %217
  %219 = load ptr, ptr %218, align 8, !tbaa !9
  %220 = load ptr, ptr %13, align 8, !tbaa !9
  %221 = load ptr, ptr %20, align 8, !tbaa !9
  %222 = load i32, ptr %28, align 4, !tbaa !5
  %223 = zext i32 %222 to i64
  %224 = getelementptr inbounds %struct.query, ptr %221, i64 %223
  %225 = getelementptr inbounds %struct.query, ptr %224, i32 0, i32 1
  %226 = load i32, ptr %225, align 4, !tbaa !24
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %220, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = load ptr, ptr %18, align 8, !tbaa !9
  %231 = call i64 @_roaring_bitmap_or(ptr noundef %219, ptr noundef %229, ptr noundef %230)
  store i64 %231, ptr %29, align 8, !tbaa !21
  %232 = load i64, ptr %29, align 8, !tbaa !21
  %233 = load i64, ptr %25, align 8, !tbaa !21
  %234 = add i64 %233, %232
  store i64 %234, ptr %25, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %235

235:                                              ; preds = %209
  %236 = load i32, ptr %28, align 4, !tbaa !5
  %237 = add i32 %236, 1
  store i32 %237, ptr %28, align 4, !tbaa !5
  br label %204, !llvm.loop !25

238:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %239 = call double @get_time_usecs()
  store double %239, ptr %30, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %240 = load double, ptr %30, align 8, !tbaa !19
  %241 = load double, ptr %27, align 8, !tbaa !19
  %242 = fsub double %240, %241
  store double %242, ptr %31, align 8, !tbaa !19
  %243 = load i32, ptr %26, align 4, !tbaa !5
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %249

245:                                              ; preds = %238
  %246 = load double, ptr %31, align 8, !tbaa !19
  %247 = load double, ptr %24, align 8, !tbaa !19
  %248 = fadd double %247, %246
  store double %248, ptr %24, align 8, !tbaa !19
  br label %249

249:                                              ; preds = %245, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr %26, align 4, !tbaa !5
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %26, align 4, !tbaa !5
  br label %198, !llvm.loop !26

253:                                              ; preds = %201
  %254 = load i64, ptr %25, align 8, !tbaa !21
  %255 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i64 noundef %254)
  %256 = load i32, ptr %7, align 4, !tbaa !5
  %257 = load double, ptr %24, align 8, !tbaa !19
  %258 = fdiv double %257, 1.000000e+01
  %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %256, double noundef %258, i32 noundef 10)
  %260 = load double, ptr %24, align 8, !tbaa !19
  %261 = fdiv double %260, 1.000000e+01
  %262 = load i32, ptr %7, align 4, !tbaa !5
  %263 = uitofp i32 %262 to double
  %264 = fdiv double %261, %263
  %265 = load i32, ptr %7, align 4, !tbaa !5
  %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %264, i32 noundef %265)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %267

267:                                              ; preds = %282, %253
  %268 = load i32, ptr %32, align 4, !tbaa !5
  %269 = load i32, ptr %10, align 4, !tbaa !5
  %270 = icmp ne i32 %268, %269
  br i1 %270, label %272, label %271

271:                                              ; preds = %267
  store i32 17, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %285

272:                                              ; preds = %267
  %273 = load ptr, ptr %13, align 8, !tbaa !9
  %274 = load i32, ptr %32, align 4, !tbaa !5
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds ptr, ptr %273, i64 %275
  %277 = load ptr, ptr %276, align 8, !tbaa !9
  call void @roaring_bitmap_free(ptr noundef %277)
  %278 = load ptr, ptr %13, align 8, !tbaa !9
  %279 = load i32, ptr %32, align 4, !tbaa !5
  %280 = zext i32 %279 to i64
  %281 = getelementptr inbounds ptr, ptr %278, i64 %280
  store ptr null, ptr %281, align 8, !tbaa !9
  br label %282

282:                                              ; preds = %272
  %283 = load i32, ptr %32, align 4, !tbaa !5
  %284 = add i32 %283, 1
  store i32 %284, ptr %32, align 4, !tbaa !5
  br label %267, !llvm.loop !27

285:                                              ; preds = %271
  %286 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %286) #8
  %287 = load ptr, ptr %14, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 8
  %289 = load i64, ptr %288, align 8, !tbaa !11
  %290 = sub i64 0, %289
  %291 = getelementptr inbounds i8, ptr %287, i64 %290
  %292 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 8
  %293 = load i64, ptr %292, align 8, !tbaa !11
  %294 = call i32 @munmap(ptr noundef %291, i64 noundef %293) #8
  %295 = icmp eq i32 %294, -1
  br i1 %295, label %296, label %298

296:                                              ; preds = %285
  %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @exit(i32 noundef 1) #10
  unreachable

298:                                              ; preds = %285
  %299 = load i32, ptr %8, align 4, !tbaa !5
  %300 = call i32 @close(i32 noundef %299)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %301

301:                                              ; preds = %298, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 144, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %302

302:                                              ; preds = %301, %35
  %303 = load i32, ptr %3, align 4
  ret i32 %303
}

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #3

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

; Function Attrs: nounwind
declare i32 @fstat(i32 noundef, ptr noundef) #5

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #6

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #5

declare ptr @roaring_bitmap_frozen_view(ptr noundef, i64 noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

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

declare i64 @_roaring_bitmap_or(ptr noundef, ptr noundef, ptr noundef) #2

declare void @roaring_bitmap_free(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @munmap(ptr noundef, i64 noundef) #5

declare i32 @close(i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare double @get_time_usecs() #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !13, i64 48}
!12 = !{!"stat", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 88, !14, i64 104, !7, i64 120}
!13 = !{!"long", !7, i64 0}
!14 = !{!"timespec", !13, i64 0, !13, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!13, !13, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"", !6, i64 0, !6, i64 4}
!24 = !{!23, !6, i64 4}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}


; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.query = type { i32, i32 }

@.str = external hidden unnamed_addr constant [56 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @read_padding(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.stat, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = icmp slt i32 %0, 3
  br i1 %6, label %7, label %10

7:                                                ; preds = %2
  %8 = load ptr, ptr %1, align 8, !tbaa !5
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %8)
  br label %324

10:                                               ; preds = %2
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %1, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = tail call i32 @atoi(ptr nocapture noundef %14) #12
  %16 = tail call i32 (ptr, i32, ...) @open(ptr noundef %12, i32 noundef 0) #13
  %17 = icmp eq i32 %16, -1
  br i1 %17, label %18, label %20

18:                                               ; preds = %10
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %12)
  tail call void @exit(i32 noundef 1) #14
  unreachable

20:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %3) #13
  %21 = call i32 @fstat(i32 noundef %16, ptr noundef nonnull %3) #13
  %22 = icmp eq i32 %21, -1
  br i1 %22, label %23, label %25

23:                                               ; preds = %20
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %12)
  tail call void @exit(i32 noundef 1) #14
  unreachable

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #13
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #13
  store i32 0, ptr %5, align 4, !tbaa !9
  %26 = call i64 @read(i32 noundef %16, ptr noundef nonnull %4, i64 noundef 4) #13
  %27 = call i64 @read(i32 noundef %16, ptr noundef nonnull %5, i64 noundef 4) #13
  %28 = load i32, ptr %4, align 4, !tbaa !9
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %28)
  %30 = load i32, ptr %5, align 4, !tbaa !9
  %31 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %30)
  %32 = zext i32 %28 to i64
  %33 = shl nuw nsw i64 %32, 2
  %34 = tail call noalias ptr @malloc(i64 noundef %33) #15
  %35 = shl nuw nsw i64 %32, 3
  %36 = tail call noalias ptr @malloc(i64 noundef %35) #15
  %37 = getelementptr inbounds i8, ptr %3, i64 48
  %38 = load i64, ptr %37, align 8, !tbaa !11
  %39 = tail call ptr @mmap(ptr noundef null, i64 noundef %38, i32 noundef 1, i32 noundef 1, i32 noundef %16, i64 noundef 0) #13
  %.not = icmp eq ptr %39, null
  br i1 %.not, label %40, label %42

40:                                               ; preds = %25
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  tail call void @exit(i32 noundef 1) #14
  unreachable

42:                                               ; preds = %25
  %43 = getelementptr i8, ptr %39, i64 8
  %.not99110 = icmp eq i32 %28, 0
  br i1 %.not99110, label %._crit_edge.thread, label %.lr.ph117.preheader

._crit_edge.thread:                               ; preds = %42
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %._crit_edge118

.lr.ph117.preheader:                              ; preds = %42
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %43, i64 %33, i1 false), !tbaa !9
  %45 = add i32 %28, -1
  %46 = zext i32 %45 to i64
  %47 = shl nuw nsw i64 %46, 2
  %48 = getelementptr i8, ptr %39, i64 %47
  %scevgep = getelementptr i8, ptr %48, i64 12
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %.lr.ph117

._crit_edge118:                                   ; preds = %63, %._crit_edge.thread
  %.186.lcssa = phi ptr [ %43, %._crit_edge.thread ], [ %64, %63 ]
  tail call void @free(ptr noundef %34) #13
  %50 = zext i32 %30 to i64
  %51 = shl nuw nsw i64 %50, 2
  %52 = tail call noalias ptr @malloc(i64 noundef %51) #15
  %53 = icmp eq i32 %28, 1
  br i1 %53, label %65, label %67

.lr.ph117:                                        ; preds = %.lr.ph117.preheader, %63
  %indvars.iv = phi i64 [ 0, %.lr.ph117.preheader ], [ %indvars.iv.next, %63 ]
  %.186115 = phi ptr [ %scevgep, %.lr.ph117.preheader ], [ %64, %63 ]
  %54 = getelementptr inbounds i32, ptr %34, i64 %indvars.iv
  %55 = load i32, ptr %54, align 4, !tbaa !9
  %56 = tail call ptr @read_padding(ptr noundef %.186115)
  %57 = zext i32 %55 to i64
  %58 = tail call ptr @roaring_bitmap_frozen_view(ptr noundef %56, i64 noundef %57) #13
  %59 = getelementptr inbounds ptr, ptr %36, i64 %indvars.iv
  store ptr %58, ptr %59, align 8, !tbaa !5
  %60 = icmp eq ptr %58, null
  br i1 %60, label %61, label %63

61:                                               ; preds = %.lr.ph117
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  tail call void @exit(i32 noundef 1) #14
  unreachable

63:                                               ; preds = %.lr.ph117
  %64 = getelementptr inbounds i8, ptr %56, i64 %57
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not100 = icmp eq i64 %indvars.iv.next, %32
  br i1 %.not100, label %._crit_edge118, label %.lr.ph117, !llvm.loop !15

65:                                               ; preds = %._crit_edge118
  %66 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %323

67:                                               ; preds = %._crit_edge118
  %68 = zext i32 %15 to i64
  %69 = shl nuw nsw i64 %68, 3
  %70 = tail call noalias ptr @malloc(i64 noundef %69) #15
  %71 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %.not101121 = icmp eq i32 %15, 0
  br i1 %.not101121, label %._crit_edge125.thread, label %.lr.ph124

._crit_edge125.thread:                            ; preds = %67
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef 0)
  br label %.split.us.preheader

.lr.ph124:                                        ; preds = %67, %79
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %79 ], [ 0, %67 ]
  %73 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv152
  %74 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.10, ptr noundef %73)
  %75 = getelementptr inbounds i8, ptr %73, i64 4
  %76 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.10, ptr noundef nonnull %75)
  %77 = icmp ne i32 %74, -1
  %78 = icmp ne i32 %76, -1
  %or.cond.not = and i1 %77, %78
  br i1 %or.cond.not, label %79, label %._crit_edge125.split.loop.exit

79:                                               ; preds = %.lr.ph124
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %.not101 = icmp eq i64 %indvars.iv.next153, %68
  br i1 %.not101, label %._crit_edge125, label %.lr.ph124, !llvm.loop !17

._crit_edge125.split.loop.exit:                   ; preds = %.lr.ph124
  %80 = trunc nuw i64 %indvars.iv152 to i32
  br label %._crit_edge125

._crit_edge125:                                   ; preds = %79, %._crit_edge125.split.loop.exit
  %.2 = phi i32 [ %80, %._crit_edge125.split.loop.exit ], [ %15, %79 ]
  %81 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %.2)
  %.not106129 = icmp eq i32 %.2, 0
  br i1 %.not106129, label %.split.us.preheader, label %.lr.ph133.preheader

.lr.ph133.preheader:                              ; preds = %._crit_edge125
  %82 = zext i32 %.2 to i64
  %83 = tail call double @get_time_usecs()
  br label %300

.split.us.preheader:                              ; preds = %._crit_edge125.thread, %._crit_edge125
  %84 = tail call double @get_time_usecs()
  %85 = tail call double @get_time_usecs()
  %86 = tail call double @get_time_usecs()
  %87 = tail call double @get_time_usecs()
  %88 = fsub double %87, %86
  %89 = fadd double %88, 0.000000e+00
  %90 = tail call double @get_time_usecs()
  %91 = tail call double @get_time_usecs()
  %92 = fsub double %91, %90
  %93 = fadd double %89, %92
  %94 = tail call double @get_time_usecs()
  %95 = tail call double @get_time_usecs()
  %96 = fsub double %95, %94
  %97 = fadd double %93, %96
  %98 = tail call double @get_time_usecs()
  %99 = tail call double @get_time_usecs()
  %100 = fsub double %99, %98
  %101 = fadd double %97, %100
  %102 = tail call double @get_time_usecs()
  %103 = tail call double @get_time_usecs()
  %104 = fsub double %103, %102
  %105 = fadd double %101, %104
  %106 = tail call double @get_time_usecs()
  %107 = tail call double @get_time_usecs()
  %108 = fsub double %107, %106
  %109 = fadd double %105, %108
  %110 = tail call double @get_time_usecs()
  %111 = tail call double @get_time_usecs()
  %112 = fsub double %111, %110
  %113 = fadd double %109, %112
  %114 = tail call double @get_time_usecs()
  %115 = tail call double @get_time_usecs()
  %116 = fsub double %115, %114
  %117 = fadd double %113, %116
  %118 = tail call double @get_time_usecs()
  %119 = tail call double @get_time_usecs()
  %120 = fsub double %119, %118
  %121 = fadd double %117, %120
  %122 = tail call double @get_time_usecs()
  br label %.split140.us

.split140.us:                                     ; preds = %._crit_edge134.10, %.split.us.preheader
  %.sink181 = phi double [ %285, %._crit_edge134.10 ], [ %122, %.split.us.preheader ]
  %.sink = phi double [ %299, %._crit_edge134.10 ], [ %121, %.split.us.preheader ]
  %.2164 = phi i32 [ %.2, %._crit_edge134.10 ], [ 0, %.split.us.preheader ]
  %.us-phi141 = phi i64 [ %298, %._crit_edge134.10 ], [ 0, %.split.us.preheader ]
  %123 = tail call double @get_time_usecs()
  %124 = fsub double %123, %.sink181
  %125 = fadd double %.sink, %124
  %126 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i64 noundef %.us-phi141)
  %127 = fdiv double %125, 1.000000e+01
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %.2164, double noundef %127, i32 noundef 10)
  %129 = uitofp i32 %.2164 to double
  %130 = fdiv double %127, %129
  %131 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %130, i32 noundef %.2164)
  br i1 %.not99110, label %._crit_edge146, label %.lr.ph145

._crit_edge134:                                   ; preds = %300
  %132 = tail call double @get_time_usecs()
  %133 = tail call double @get_time_usecs()
  br label %134

134:                                              ; preds = %134, %._crit_edge134
  %indvars.iv155.1 = phi i64 [ 0, %._crit_edge134 ], [ %indvars.iv.next156.1, %134 ]
  %.191130.1 = phi i64 [ %312, %._crit_edge134 ], [ %146, %134 ]
  %135 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.1
  %136 = load i32, ptr %135, align 4, !tbaa !18
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds ptr, ptr %36, i64 %137
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %135, i64 4
  %141 = load i32, ptr %140, align 4, !tbaa !20
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds ptr, ptr %36, i64 %142
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  %145 = tail call i64 @_roaring_bitmap_or(ptr noundef %139, ptr noundef %144, ptr noundef %52) #13
  %146 = add i64 %145, %.191130.1
  %indvars.iv.next156.1 = add nuw nsw i64 %indvars.iv155.1, 1
  %.not106.1 = icmp eq i64 %indvars.iv.next156.1, %82
  br i1 %.not106.1, label %._crit_edge134.1, label %134, !llvm.loop !21

._crit_edge134.1:                                 ; preds = %134
  %147 = tail call double @get_time_usecs()
  %148 = fsub double %147, %133
  %149 = tail call double @get_time_usecs()
  br label %150

150:                                              ; preds = %150, %._crit_edge134.1
  %indvars.iv155.2 = phi i64 [ 0, %._crit_edge134.1 ], [ %indvars.iv.next156.2, %150 ]
  %.191130.2 = phi i64 [ %146, %._crit_edge134.1 ], [ %162, %150 ]
  %151 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.2
  %152 = load i32, ptr %151, align 4, !tbaa !18
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds ptr, ptr %36, i64 %153
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %151, i64 4
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = zext i32 %157 to i64
  %159 = getelementptr inbounds ptr, ptr %36, i64 %158
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  %161 = tail call i64 @_roaring_bitmap_or(ptr noundef %155, ptr noundef %160, ptr noundef %52) #13
  %162 = add i64 %161, %.191130.2
  %indvars.iv.next156.2 = add nuw nsw i64 %indvars.iv155.2, 1
  %.not106.2 = icmp eq i64 %indvars.iv.next156.2, %82
  br i1 %.not106.2, label %._crit_edge134.2, label %150, !llvm.loop !21

._crit_edge134.2:                                 ; preds = %150
  %163 = fadd double %148, 0.000000e+00
  %164 = tail call double @get_time_usecs()
  %165 = fsub double %164, %149
  %166 = tail call double @get_time_usecs()
  br label %167

167:                                              ; preds = %167, %._crit_edge134.2
  %indvars.iv155.3 = phi i64 [ 0, %._crit_edge134.2 ], [ %indvars.iv.next156.3, %167 ]
  %.191130.3 = phi i64 [ %162, %._crit_edge134.2 ], [ %179, %167 ]
  %168 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.3
  %169 = load i32, ptr %168, align 4, !tbaa !18
  %170 = zext i32 %169 to i64
  %171 = getelementptr inbounds ptr, ptr %36, i64 %170
  %172 = load ptr, ptr %171, align 8, !tbaa !5
  %173 = getelementptr inbounds i8, ptr %168, i64 4
  %174 = load i32, ptr %173, align 4, !tbaa !20
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds ptr, ptr %36, i64 %175
  %177 = load ptr, ptr %176, align 8, !tbaa !5
  %178 = tail call i64 @_roaring_bitmap_or(ptr noundef %172, ptr noundef %177, ptr noundef %52) #13
  %179 = add i64 %178, %.191130.3
  %indvars.iv.next156.3 = add nuw nsw i64 %indvars.iv155.3, 1
  %.not106.3 = icmp eq i64 %indvars.iv.next156.3, %82
  br i1 %.not106.3, label %._crit_edge134.3, label %167, !llvm.loop !21

._crit_edge134.3:                                 ; preds = %167
  %180 = fadd double %163, %165
  %181 = tail call double @get_time_usecs()
  %182 = fsub double %181, %166
  %183 = tail call double @get_time_usecs()
  br label %184

184:                                              ; preds = %184, %._crit_edge134.3
  %indvars.iv155.4 = phi i64 [ 0, %._crit_edge134.3 ], [ %indvars.iv.next156.4, %184 ]
  %.191130.4 = phi i64 [ %179, %._crit_edge134.3 ], [ %196, %184 ]
  %185 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.4
  %186 = load i32, ptr %185, align 4, !tbaa !18
  %187 = zext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %36, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !5
  %190 = getelementptr inbounds i8, ptr %185, i64 4
  %191 = load i32, ptr %190, align 4, !tbaa !20
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds ptr, ptr %36, i64 %192
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = tail call i64 @_roaring_bitmap_or(ptr noundef %189, ptr noundef %194, ptr noundef %52) #13
  %196 = add i64 %195, %.191130.4
  %indvars.iv.next156.4 = add nuw nsw i64 %indvars.iv155.4, 1
  %.not106.4 = icmp eq i64 %indvars.iv.next156.4, %82
  br i1 %.not106.4, label %._crit_edge134.4, label %184, !llvm.loop !21

._crit_edge134.4:                                 ; preds = %184
  %197 = fadd double %180, %182
  %198 = tail call double @get_time_usecs()
  %199 = fsub double %198, %183
  %200 = tail call double @get_time_usecs()
  br label %201

201:                                              ; preds = %201, %._crit_edge134.4
  %indvars.iv155.5 = phi i64 [ 0, %._crit_edge134.4 ], [ %indvars.iv.next156.5, %201 ]
  %.191130.5 = phi i64 [ %196, %._crit_edge134.4 ], [ %213, %201 ]
  %202 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.5
  %203 = load i32, ptr %202, align 4, !tbaa !18
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds ptr, ptr %36, i64 %204
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds i8, ptr %202, i64 4
  %208 = load i32, ptr %207, align 4, !tbaa !20
  %209 = zext i32 %208 to i64
  %210 = getelementptr inbounds ptr, ptr %36, i64 %209
  %211 = load ptr, ptr %210, align 8, !tbaa !5
  %212 = tail call i64 @_roaring_bitmap_or(ptr noundef %206, ptr noundef %211, ptr noundef %52) #13
  %213 = add i64 %212, %.191130.5
  %indvars.iv.next156.5 = add nuw nsw i64 %indvars.iv155.5, 1
  %.not106.5 = icmp eq i64 %indvars.iv.next156.5, %82
  br i1 %.not106.5, label %._crit_edge134.5, label %201, !llvm.loop !21

._crit_edge134.5:                                 ; preds = %201
  %214 = fadd double %197, %199
  %215 = tail call double @get_time_usecs()
  %216 = fsub double %215, %200
  %217 = tail call double @get_time_usecs()
  br label %218

218:                                              ; preds = %218, %._crit_edge134.5
  %indvars.iv155.6 = phi i64 [ 0, %._crit_edge134.5 ], [ %indvars.iv.next156.6, %218 ]
  %.191130.6 = phi i64 [ %213, %._crit_edge134.5 ], [ %230, %218 ]
  %219 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.6
  %220 = load i32, ptr %219, align 4, !tbaa !18
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %36, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  %224 = getelementptr inbounds i8, ptr %219, i64 4
  %225 = load i32, ptr %224, align 4, !tbaa !20
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds ptr, ptr %36, i64 %226
  %228 = load ptr, ptr %227, align 8, !tbaa !5
  %229 = tail call i64 @_roaring_bitmap_or(ptr noundef %223, ptr noundef %228, ptr noundef %52) #13
  %230 = add i64 %229, %.191130.6
  %indvars.iv.next156.6 = add nuw nsw i64 %indvars.iv155.6, 1
  %.not106.6 = icmp eq i64 %indvars.iv.next156.6, %82
  br i1 %.not106.6, label %._crit_edge134.6, label %218, !llvm.loop !21

._crit_edge134.6:                                 ; preds = %218
  %231 = fadd double %214, %216
  %232 = tail call double @get_time_usecs()
  %233 = fsub double %232, %217
  %234 = tail call double @get_time_usecs()
  br label %235

235:                                              ; preds = %235, %._crit_edge134.6
  %indvars.iv155.7 = phi i64 [ 0, %._crit_edge134.6 ], [ %indvars.iv.next156.7, %235 ]
  %.191130.7 = phi i64 [ %230, %._crit_edge134.6 ], [ %247, %235 ]
  %236 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.7
  %237 = load i32, ptr %236, align 4, !tbaa !18
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds ptr, ptr %36, i64 %238
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  %241 = getelementptr inbounds i8, ptr %236, i64 4
  %242 = load i32, ptr %241, align 4, !tbaa !20
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds ptr, ptr %36, i64 %243
  %245 = load ptr, ptr %244, align 8, !tbaa !5
  %246 = tail call i64 @_roaring_bitmap_or(ptr noundef %240, ptr noundef %245, ptr noundef %52) #13
  %247 = add i64 %246, %.191130.7
  %indvars.iv.next156.7 = add nuw nsw i64 %indvars.iv155.7, 1
  %.not106.7 = icmp eq i64 %indvars.iv.next156.7, %82
  br i1 %.not106.7, label %._crit_edge134.7, label %235, !llvm.loop !21

._crit_edge134.7:                                 ; preds = %235
  %248 = fadd double %231, %233
  %249 = tail call double @get_time_usecs()
  %250 = fsub double %249, %234
  %251 = tail call double @get_time_usecs()
  br label %252

252:                                              ; preds = %252, %._crit_edge134.7
  %indvars.iv155.8 = phi i64 [ 0, %._crit_edge134.7 ], [ %indvars.iv.next156.8, %252 ]
  %.191130.8 = phi i64 [ %247, %._crit_edge134.7 ], [ %264, %252 ]
  %253 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.8
  %254 = load i32, ptr %253, align 4, !tbaa !18
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds ptr, ptr %36, i64 %255
  %257 = load ptr, ptr %256, align 8, !tbaa !5
  %258 = getelementptr inbounds i8, ptr %253, i64 4
  %259 = load i32, ptr %258, align 4, !tbaa !20
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds ptr, ptr %36, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !5
  %263 = tail call i64 @_roaring_bitmap_or(ptr noundef %257, ptr noundef %262, ptr noundef %52) #13
  %264 = add i64 %263, %.191130.8
  %indvars.iv.next156.8 = add nuw nsw i64 %indvars.iv155.8, 1
  %.not106.8 = icmp eq i64 %indvars.iv.next156.8, %82
  br i1 %.not106.8, label %._crit_edge134.8, label %252, !llvm.loop !21

._crit_edge134.8:                                 ; preds = %252
  %265 = fadd double %248, %250
  %266 = tail call double @get_time_usecs()
  %267 = fsub double %266, %251
  %268 = tail call double @get_time_usecs()
  br label %269

269:                                              ; preds = %269, %._crit_edge134.8
  %indvars.iv155.9 = phi i64 [ 0, %._crit_edge134.8 ], [ %indvars.iv.next156.9, %269 ]
  %.191130.9 = phi i64 [ %264, %._crit_edge134.8 ], [ %281, %269 ]
  %270 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.9
  %271 = load i32, ptr %270, align 4, !tbaa !18
  %272 = zext i32 %271 to i64
  %273 = getelementptr inbounds ptr, ptr %36, i64 %272
  %274 = load ptr, ptr %273, align 8, !tbaa !5
  %275 = getelementptr inbounds i8, ptr %270, i64 4
  %276 = load i32, ptr %275, align 4, !tbaa !20
  %277 = zext i32 %276 to i64
  %278 = getelementptr inbounds ptr, ptr %36, i64 %277
  %279 = load ptr, ptr %278, align 8, !tbaa !5
  %280 = tail call i64 @_roaring_bitmap_or(ptr noundef %274, ptr noundef %279, ptr noundef %52) #13
  %281 = add i64 %280, %.191130.9
  %indvars.iv.next156.9 = add nuw nsw i64 %indvars.iv155.9, 1
  %.not106.9 = icmp eq i64 %indvars.iv.next156.9, %82
  br i1 %.not106.9, label %._crit_edge134.9, label %269, !llvm.loop !21

._crit_edge134.9:                                 ; preds = %269
  %282 = fadd double %265, %267
  %283 = tail call double @get_time_usecs()
  %284 = fsub double %283, %268
  %285 = tail call double @get_time_usecs()
  br label %286

286:                                              ; preds = %286, %._crit_edge134.9
  %indvars.iv155.10 = phi i64 [ 0, %._crit_edge134.9 ], [ %indvars.iv.next156.10, %286 ]
  %.191130.10 = phi i64 [ %281, %._crit_edge134.9 ], [ %298, %286 ]
  %287 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155.10
  %288 = load i32, ptr %287, align 4, !tbaa !18
  %289 = zext i32 %288 to i64
  %290 = getelementptr inbounds ptr, ptr %36, i64 %289
  %291 = load ptr, ptr %290, align 8, !tbaa !5
  %292 = getelementptr inbounds i8, ptr %287, i64 4
  %293 = load i32, ptr %292, align 4, !tbaa !20
  %294 = zext i32 %293 to i64
  %295 = getelementptr inbounds ptr, ptr %36, i64 %294
  %296 = load ptr, ptr %295, align 8, !tbaa !5
  %297 = tail call i64 @_roaring_bitmap_or(ptr noundef %291, ptr noundef %296, ptr noundef %52) #13
  %298 = add i64 %297, %.191130.10
  %indvars.iv.next156.10 = add nuw nsw i64 %indvars.iv155.10, 1
  %.not106.10 = icmp eq i64 %indvars.iv.next156.10, %82
  br i1 %.not106.10, label %._crit_edge134.10, label %286, !llvm.loop !21

._crit_edge134.10:                                ; preds = %286
  %299 = fadd double %282, %284
  br label %.split140.us

300:                                              ; preds = %.lr.ph133.preheader, %300
  %indvars.iv155 = phi i64 [ 0, %.lr.ph133.preheader ], [ %indvars.iv.next156, %300 ]
  %.191130 = phi i64 [ 0, %.lr.ph133.preheader ], [ %312, %300 ]
  %301 = getelementptr inbounds %struct.query, ptr %70, i64 %indvars.iv155
  %302 = load i32, ptr %301, align 4, !tbaa !18
  %303 = zext i32 %302 to i64
  %304 = getelementptr inbounds ptr, ptr %36, i64 %303
  %305 = load ptr, ptr %304, align 8, !tbaa !5
  %306 = getelementptr inbounds i8, ptr %301, i64 4
  %307 = load i32, ptr %306, align 4, !tbaa !20
  %308 = zext i32 %307 to i64
  %309 = getelementptr inbounds ptr, ptr %36, i64 %308
  %310 = load ptr, ptr %309, align 8, !tbaa !5
  %311 = tail call i64 @_roaring_bitmap_or(ptr noundef %305, ptr noundef %310, ptr noundef %52) #13
  %312 = add i64 %311, %.191130
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %.not106 = icmp eq i64 %indvars.iv.next156, %82
  br i1 %.not106, label %._crit_edge134, label %300, !llvm.loop !21

._crit_edge146:                                   ; preds = %.lr.ph145, %.split140.us
  tail call void @free(ptr noundef %36) #13
  %313 = sub i64 0, %38
  %314 = getelementptr inbounds i8, ptr %.186.lcssa, i64 %313
  %315 = tail call i32 @munmap(ptr noundef %314, i64 noundef %38) #13
  %316 = icmp eq i32 %315, -1
  br i1 %316, label %319, label %321

.lr.ph145:                                        ; preds = %.split140.us, %.lr.ph145
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %.lr.ph145 ], [ 0, %.split140.us ]
  %317 = getelementptr inbounds ptr, ptr %36, i64 %indvars.iv158
  %318 = load ptr, ptr %317, align 8, !tbaa !5
  tail call void @roaring_bitmap_free(ptr noundef %318) #13
  store ptr null, ptr %317, align 8, !tbaa !5
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %.not105 = icmp eq i64 %indvars.iv.next159, %32
  br i1 %.not105, label %._crit_edge146, label %.lr.ph145, !llvm.loop !22

319:                                              ; preds = %._crit_edge146
  %320 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  tail call void @exit(i32 noundef 1) #14
  unreachable

321:                                              ; preds = %._crit_edge146
  %322 = tail call i32 @close(i32 noundef %16) #13
  br label %323

323:                                              ; preds = %321, %65
  %.082 = phi i32 [ 1, %65 ], [ 0, %321 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %3) #13
  br label %324

324:                                              ; preds = %323, %7
  %.1 = phi i32 [ 1, %7 ], [ %.082, %323 ]
  ret i32 %.1
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nofree
declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #7

declare ptr @roaring_bitmap_frozen_view(ptr noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare i64 @_roaring_bitmap_or(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare void @roaring_bitmap_free(ptr noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #7

declare i32 @close(i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare double @get_time_usecs() local_unnamed_addr #10

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #7 = { 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 #8 = { "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 #9 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #10 = { inlinehint 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 #11 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { nounwind }
attributes #14 = { noreturn nounwind }
attributes #15 = { nounwind allocsize(0) }

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 48}
!12 = !{!"stat", !13, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 88, !14, i64 104, !7, i64 120}
!13 = !{!"long", !7, i64 0}
!14 = !{!"timespec", !13, i64 0, !13, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !10, i64 0}
!19 = !{!"", !10, i64 0, !10, i64 4}
!20 = !{!19, !10, i64 4}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass