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

; 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 [51 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 [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [57 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 ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = 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
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = icmp slt i32 %34, 3
  br i1 %35, label %36, label %41

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

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

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

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

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

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

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

88:                                               ; preds = %63
  %89 = load ptr, ptr %14, align 8, !tbaa !9
  %90 = getelementptr inbounds i8, ptr %89, i64 8
  store ptr %90, 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 %91

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

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

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

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

108:                                              ; preds = %95
  %109 = 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 %110

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

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

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

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

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

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

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

156:                                              ; preds = %147
  %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %20, align 4
  br label %304

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

164:                                              ; preds = %193, %158
  %165 = load i32, ptr %22, align 4, !tbaa !5
  %166 = load i32, ptr %7, align 4, !tbaa !5
  %167 = icmp ne i32 %165, %166
  br i1 %167, label %169, label %168

168:                                              ; preds = %164
  store i32 8, ptr %20, align 4
  br label %196

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

184:                                              ; preds = %169
  %185 = load i32, ptr %24, align 4, !tbaa !5
  %186 = icmp eq i32 %185, -1
  br i1 %186, label %187, label %189

187:                                              ; preds = %184, %169
  %188 = load i32, ptr %22, align 4, !tbaa !5
  store i32 %188, ptr %7, align 4, !tbaa !5
  store i32 8, ptr %20, align 4
  br label %190

189:                                              ; preds = %184
  store i32 0, ptr %20, align 4
  br label %190

190:                                              ; preds = %189, %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  %191 = load i32, ptr %20, align 4
  switch i32 %191, label %196 [
    i32 0, label %192
  ]

192:                                              ; preds = %190
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %22, align 4, !tbaa !5
  %195 = add i32 %194, 1
  store i32 %195, ptr %22, align 4, !tbaa !5
  br label %164, !llvm.loop !18

196:                                              ; preds = %190, %168
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %197

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

200:                                              ; preds = %253, %197
  %201 = load i32, ptr %27, align 4, !tbaa !5
  %202 = icmp ne i32 %201, 11
  br i1 %202, label %204, label %203

203:                                              ; preds = %200
  store i32 11, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %256

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

206:                                              ; preds = %238, %204
  %207 = load i32, ptr %29, align 4, !tbaa !5
  %208 = load i32, ptr %7, align 4, !tbaa !5
  %209 = icmp ne i32 %207, %208
  br i1 %209, label %211, label %210

210:                                              ; preds = %206
  store i32 14, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %241

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

238:                                              ; preds = %211
  %239 = load i32, ptr %29, align 4, !tbaa !5
  %240 = add i32 %239, 1
  store i32 %240, ptr %29, align 4, !tbaa !5
  br label %206, !llvm.loop !25

241:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %242 = call double @get_time_usecs()
  store double %242, ptr %31, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %243 = load double, ptr %31, align 8, !tbaa !19
  %244 = load double, ptr %28, align 8, !tbaa !19
  %245 = fsub double %243, %244
  store double %245, ptr %32, align 8, !tbaa !19
  %246 = load i32, ptr %27, align 4, !tbaa !5
  %247 = icmp ne i32 %246, 0
  br i1 %247, label %248, label %252

248:                                              ; preds = %241
  %249 = load double, ptr %32, align 8, !tbaa !19
  %250 = load double, ptr %25, align 8, !tbaa !19
  %251 = fadd double %250, %249
  store double %251, ptr %25, align 8, !tbaa !19
  br label %252

252:                                              ; preds = %248, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %27, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %27, align 4, !tbaa !5
  br label %200, !llvm.loop !26

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

270:                                              ; preds = %285, %256
  %271 = load i32, ptr %33, align 4, !tbaa !5
  %272 = load i32, ptr %10, align 4, !tbaa !5
  %273 = icmp ne i32 %271, %272
  br i1 %273, label %275, label %274

274:                                              ; preds = %270
  store i32 17, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %288

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

285:                                              ; preds = %275
  %286 = load i32, ptr %33, align 4, !tbaa !5
  %287 = add i32 %286, 1
  store i32 %287, ptr %33, align 4, !tbaa !5
  br label %270, !llvm.loop !27

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

299:                                              ; preds = %288
  %300 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @exit(i32 noundef 1) #10
  unreachable

301:                                              ; preds = %288
  %302 = load i32, ptr %8, align 4, !tbaa !5
  %303 = call i32 @close(i32 noundef %302)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %304

304:                                              ; preds = %301, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  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 %305

305:                                              ; preds = %304, %36
  %306 = load i32, ptr %3, align 4
  ret i32 %306
}

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_and(ptr noundef, 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 [51 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 [42 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [57 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 %325

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
  %.not100111 = icmp eq i32 %28, 0
  br i1 %.not100111, label %._crit_edge.thread, label %.lr.ph118.preheader

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

.lr.ph118.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.ph118

._crit_edge119:                                   ; preds = %64, %._crit_edge.thread
  %.187.lcssa = phi ptr [ %43, %._crit_edge.thread ], [ %65, %64 ]
  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 = tail call noalias dereferenceable_or_null(131072) ptr @malloc(i64 noundef 131072) #15
  %54 = icmp eq i32 %28, 1
  br i1 %54, label %66, label %68

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

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

64:                                               ; preds = %.lr.ph118
  %65 = getelementptr inbounds i8, ptr %57, i64 %58
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not101 = icmp eq i64 %indvars.iv.next, %32
  br i1 %.not101, label %._crit_edge119, label %.lr.ph118, !llvm.loop !15

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

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

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

.lr.ph125:                                        ; preds = %68, %80
  %indvars.iv153 = phi i64 [ %indvars.iv.next154, %80 ], [ 0, %68 ]
  %74 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv153
  %75 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.10, ptr noundef %74)
  %76 = getelementptr inbounds i8, ptr %74, i64 4
  %77 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.10, ptr noundef nonnull %76)
  %78 = icmp ne i32 %75, -1
  %79 = icmp ne i32 %77, -1
  %or.cond.not = and i1 %78, %79
  br i1 %or.cond.not, label %80, label %._crit_edge126.split.loop.exit

80:                                               ; preds = %.lr.ph125
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %.not102 = icmp eq i64 %indvars.iv.next154, %69
  br i1 %.not102, label %._crit_edge126, label %.lr.ph125, !llvm.loop !17

._crit_edge126.split.loop.exit:                   ; preds = %.lr.ph125
  %81 = trunc nuw i64 %indvars.iv153 to i32
  br label %._crit_edge126

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

.lr.ph134.preheader:                              ; preds = %._crit_edge126
  %83 = zext i32 %.2 to i64
  %84 = tail call double @get_time_usecs()
  br label %301

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

.split141.us:                                     ; preds = %._crit_edge135.10, %.split.us.preheader
  %.sink182 = phi double [ %286, %._crit_edge135.10 ], [ %123, %.split.us.preheader ]
  %.sink = phi double [ %300, %._crit_edge135.10 ], [ %122, %.split.us.preheader ]
  %.2165 = phi i32 [ %.2, %._crit_edge135.10 ], [ 0, %.split.us.preheader ]
  %.us-phi142 = phi i64 [ %299, %._crit_edge135.10 ], [ 0, %.split.us.preheader ]
  %124 = tail call double @get_time_usecs()
  %125 = fsub double %124, %.sink182
  %126 = fadd double %.sink, %125
  %127 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i64 noundef %.us-phi142)
  %128 = fdiv double %126, 1.000000e+01
  %129 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %.2165, double noundef %128, i32 noundef 10)
  %130 = uitofp i32 %.2165 to double
  %131 = fdiv double %128, %130
  %132 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %131, i32 noundef %.2165)
  br i1 %.not100111, label %._crit_edge147, label %.lr.ph146

._crit_edge135:                                   ; preds = %301
  %133 = tail call double @get_time_usecs()
  %134 = tail call double @get_time_usecs()
  br label %135

135:                                              ; preds = %135, %._crit_edge135
  %indvars.iv156.1 = phi i64 [ 0, %._crit_edge135 ], [ %indvars.iv.next157.1, %135 ]
  %.192131.1 = phi i64 [ %313, %._crit_edge135 ], [ %147, %135 ]
  %136 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.1
  %137 = load i32, ptr %136, align 4, !tbaa !18
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds ptr, ptr %36, i64 %138
  %140 = load ptr, ptr %139, align 8, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %136, i64 4
  %142 = load i32, ptr %141, align 4, !tbaa !20
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds ptr, ptr %36, i64 %143
  %145 = load ptr, ptr %144, align 8, !tbaa !5
  %146 = tail call i64 @_roaring_bitmap_and(ptr noundef %140, ptr noundef %145, ptr noundef %52, ptr noundef %53) #13
  %147 = add i64 %146, %.192131.1
  %indvars.iv.next157.1 = add nuw nsw i64 %indvars.iv156.1, 1
  %.not107.1 = icmp eq i64 %indvars.iv.next157.1, %83
  br i1 %.not107.1, label %._crit_edge135.1, label %135, !llvm.loop !21

._crit_edge135.1:                                 ; preds = %135
  %148 = tail call double @get_time_usecs()
  %149 = fsub double %148, %134
  %150 = tail call double @get_time_usecs()
  br label %151

151:                                              ; preds = %151, %._crit_edge135.1
  %indvars.iv156.2 = phi i64 [ 0, %._crit_edge135.1 ], [ %indvars.iv.next157.2, %151 ]
  %.192131.2 = phi i64 [ %147, %._crit_edge135.1 ], [ %163, %151 ]
  %152 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.2
  %153 = load i32, ptr %152, align 4, !tbaa !18
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds ptr, ptr %36, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !5
  %157 = getelementptr inbounds i8, ptr %152, i64 4
  %158 = load i32, ptr %157, align 4, !tbaa !20
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds ptr, ptr %36, i64 %159
  %161 = load ptr, ptr %160, align 8, !tbaa !5
  %162 = tail call i64 @_roaring_bitmap_and(ptr noundef %156, ptr noundef %161, ptr noundef %52, ptr noundef %53) #13
  %163 = add i64 %162, %.192131.2
  %indvars.iv.next157.2 = add nuw nsw i64 %indvars.iv156.2, 1
  %.not107.2 = icmp eq i64 %indvars.iv.next157.2, %83
  br i1 %.not107.2, label %._crit_edge135.2, label %151, !llvm.loop !21

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

168:                                              ; preds = %168, %._crit_edge135.2
  %indvars.iv156.3 = phi i64 [ 0, %._crit_edge135.2 ], [ %indvars.iv.next157.3, %168 ]
  %.192131.3 = phi i64 [ %163, %._crit_edge135.2 ], [ %180, %168 ]
  %169 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.3
  %170 = load i32, ptr %169, align 4, !tbaa !18
  %171 = zext i32 %170 to i64
  %172 = getelementptr inbounds ptr, ptr %36, i64 %171
  %173 = load ptr, ptr %172, align 8, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %169, i64 4
  %175 = load i32, ptr %174, align 4, !tbaa !20
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds ptr, ptr %36, i64 %176
  %178 = load ptr, ptr %177, align 8, !tbaa !5
  %179 = tail call i64 @_roaring_bitmap_and(ptr noundef %173, ptr noundef %178, ptr noundef %52, ptr noundef %53) #13
  %180 = add i64 %179, %.192131.3
  %indvars.iv.next157.3 = add nuw nsw i64 %indvars.iv156.3, 1
  %.not107.3 = icmp eq i64 %indvars.iv.next157.3, %83
  br i1 %.not107.3, label %._crit_edge135.3, label %168, !llvm.loop !21

._crit_edge135.3:                                 ; preds = %168
  %181 = fadd double %164, %166
  %182 = tail call double @get_time_usecs()
  %183 = fsub double %182, %167
  %184 = tail call double @get_time_usecs()
  br label %185

185:                                              ; preds = %185, %._crit_edge135.3
  %indvars.iv156.4 = phi i64 [ 0, %._crit_edge135.3 ], [ %indvars.iv.next157.4, %185 ]
  %.192131.4 = phi i64 [ %180, %._crit_edge135.3 ], [ %197, %185 ]
  %186 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.4
  %187 = load i32, ptr %186, align 4, !tbaa !18
  %188 = zext i32 %187 to i64
  %189 = getelementptr inbounds ptr, ptr %36, i64 %188
  %190 = load ptr, ptr %189, align 8, !tbaa !5
  %191 = getelementptr inbounds i8, ptr %186, i64 4
  %192 = load i32, ptr %191, align 4, !tbaa !20
  %193 = zext i32 %192 to i64
  %194 = getelementptr inbounds ptr, ptr %36, i64 %193
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  %196 = tail call i64 @_roaring_bitmap_and(ptr noundef %190, ptr noundef %195, ptr noundef %52, ptr noundef %53) #13
  %197 = add i64 %196, %.192131.4
  %indvars.iv.next157.4 = add nuw nsw i64 %indvars.iv156.4, 1
  %.not107.4 = icmp eq i64 %indvars.iv.next157.4, %83
  br i1 %.not107.4, label %._crit_edge135.4, label %185, !llvm.loop !21

._crit_edge135.4:                                 ; preds = %185
  %198 = fadd double %181, %183
  %199 = tail call double @get_time_usecs()
  %200 = fsub double %199, %184
  %201 = tail call double @get_time_usecs()
  br label %202

202:                                              ; preds = %202, %._crit_edge135.4
  %indvars.iv156.5 = phi i64 [ 0, %._crit_edge135.4 ], [ %indvars.iv.next157.5, %202 ]
  %.192131.5 = phi i64 [ %197, %._crit_edge135.4 ], [ %214, %202 ]
  %203 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.5
  %204 = load i32, ptr %203, align 4, !tbaa !18
  %205 = zext i32 %204 to i64
  %206 = getelementptr inbounds ptr, ptr %36, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !5
  %208 = getelementptr inbounds i8, ptr %203, i64 4
  %209 = load i32, ptr %208, align 4, !tbaa !20
  %210 = zext i32 %209 to i64
  %211 = getelementptr inbounds ptr, ptr %36, i64 %210
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = tail call i64 @_roaring_bitmap_and(ptr noundef %207, ptr noundef %212, ptr noundef %52, ptr noundef %53) #13
  %214 = add i64 %213, %.192131.5
  %indvars.iv.next157.5 = add nuw nsw i64 %indvars.iv156.5, 1
  %.not107.5 = icmp eq i64 %indvars.iv.next157.5, %83
  br i1 %.not107.5, label %._crit_edge135.5, label %202, !llvm.loop !21

._crit_edge135.5:                                 ; preds = %202
  %215 = fadd double %198, %200
  %216 = tail call double @get_time_usecs()
  %217 = fsub double %216, %201
  %218 = tail call double @get_time_usecs()
  br label %219

219:                                              ; preds = %219, %._crit_edge135.5
  %indvars.iv156.6 = phi i64 [ 0, %._crit_edge135.5 ], [ %indvars.iv.next157.6, %219 ]
  %.192131.6 = phi i64 [ %214, %._crit_edge135.5 ], [ %231, %219 ]
  %220 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.6
  %221 = load i32, ptr %220, align 4, !tbaa !18
  %222 = zext i32 %221 to i64
  %223 = getelementptr inbounds ptr, ptr %36, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  %225 = getelementptr inbounds i8, ptr %220, i64 4
  %226 = load i32, ptr %225, align 4, !tbaa !20
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %36, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !5
  %230 = tail call i64 @_roaring_bitmap_and(ptr noundef %224, ptr noundef %229, ptr noundef %52, ptr noundef %53) #13
  %231 = add i64 %230, %.192131.6
  %indvars.iv.next157.6 = add nuw nsw i64 %indvars.iv156.6, 1
  %.not107.6 = icmp eq i64 %indvars.iv.next157.6, %83
  br i1 %.not107.6, label %._crit_edge135.6, label %219, !llvm.loop !21

._crit_edge135.6:                                 ; preds = %219
  %232 = fadd double %215, %217
  %233 = tail call double @get_time_usecs()
  %234 = fsub double %233, %218
  %235 = tail call double @get_time_usecs()
  br label %236

236:                                              ; preds = %236, %._crit_edge135.6
  %indvars.iv156.7 = phi i64 [ 0, %._crit_edge135.6 ], [ %indvars.iv.next157.7, %236 ]
  %.192131.7 = phi i64 [ %231, %._crit_edge135.6 ], [ %248, %236 ]
  %237 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.7
  %238 = load i32, ptr %237, align 4, !tbaa !18
  %239 = zext i32 %238 to i64
  %240 = getelementptr inbounds ptr, ptr %36, i64 %239
  %241 = load ptr, ptr %240, align 8, !tbaa !5
  %242 = getelementptr inbounds i8, ptr %237, i64 4
  %243 = load i32, ptr %242, align 4, !tbaa !20
  %244 = zext i32 %243 to i64
  %245 = getelementptr inbounds ptr, ptr %36, i64 %244
  %246 = load ptr, ptr %245, align 8, !tbaa !5
  %247 = tail call i64 @_roaring_bitmap_and(ptr noundef %241, ptr noundef %246, ptr noundef %52, ptr noundef %53) #13
  %248 = add i64 %247, %.192131.7
  %indvars.iv.next157.7 = add nuw nsw i64 %indvars.iv156.7, 1
  %.not107.7 = icmp eq i64 %indvars.iv.next157.7, %83
  br i1 %.not107.7, label %._crit_edge135.7, label %236, !llvm.loop !21

._crit_edge135.7:                                 ; preds = %236
  %249 = fadd double %232, %234
  %250 = tail call double @get_time_usecs()
  %251 = fsub double %250, %235
  %252 = tail call double @get_time_usecs()
  br label %253

253:                                              ; preds = %253, %._crit_edge135.7
  %indvars.iv156.8 = phi i64 [ 0, %._crit_edge135.7 ], [ %indvars.iv.next157.8, %253 ]
  %.192131.8 = phi i64 [ %248, %._crit_edge135.7 ], [ %265, %253 ]
  %254 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.8
  %255 = load i32, ptr %254, align 4, !tbaa !18
  %256 = zext i32 %255 to i64
  %257 = getelementptr inbounds ptr, ptr %36, i64 %256
  %258 = load ptr, ptr %257, align 8, !tbaa !5
  %259 = getelementptr inbounds i8, ptr %254, i64 4
  %260 = load i32, ptr %259, align 4, !tbaa !20
  %261 = zext i32 %260 to i64
  %262 = getelementptr inbounds ptr, ptr %36, i64 %261
  %263 = load ptr, ptr %262, align 8, !tbaa !5
  %264 = tail call i64 @_roaring_bitmap_and(ptr noundef %258, ptr noundef %263, ptr noundef %52, ptr noundef %53) #13
  %265 = add i64 %264, %.192131.8
  %indvars.iv.next157.8 = add nuw nsw i64 %indvars.iv156.8, 1
  %.not107.8 = icmp eq i64 %indvars.iv.next157.8, %83
  br i1 %.not107.8, label %._crit_edge135.8, label %253, !llvm.loop !21

._crit_edge135.8:                                 ; preds = %253
  %266 = fadd double %249, %251
  %267 = tail call double @get_time_usecs()
  %268 = fsub double %267, %252
  %269 = tail call double @get_time_usecs()
  br label %270

270:                                              ; preds = %270, %._crit_edge135.8
  %indvars.iv156.9 = phi i64 [ 0, %._crit_edge135.8 ], [ %indvars.iv.next157.9, %270 ]
  %.192131.9 = phi i64 [ %265, %._crit_edge135.8 ], [ %282, %270 ]
  %271 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.9
  %272 = load i32, ptr %271, align 4, !tbaa !18
  %273 = zext i32 %272 to i64
  %274 = getelementptr inbounds ptr, ptr %36, i64 %273
  %275 = load ptr, ptr %274, align 8, !tbaa !5
  %276 = getelementptr inbounds i8, ptr %271, i64 4
  %277 = load i32, ptr %276, align 4, !tbaa !20
  %278 = zext i32 %277 to i64
  %279 = getelementptr inbounds ptr, ptr %36, i64 %278
  %280 = load ptr, ptr %279, align 8, !tbaa !5
  %281 = tail call i64 @_roaring_bitmap_and(ptr noundef %275, ptr noundef %280, ptr noundef %52, ptr noundef %53) #13
  %282 = add i64 %281, %.192131.9
  %indvars.iv.next157.9 = add nuw nsw i64 %indvars.iv156.9, 1
  %.not107.9 = icmp eq i64 %indvars.iv.next157.9, %83
  br i1 %.not107.9, label %._crit_edge135.9, label %270, !llvm.loop !21

._crit_edge135.9:                                 ; preds = %270
  %283 = fadd double %266, %268
  %284 = tail call double @get_time_usecs()
  %285 = fsub double %284, %269
  %286 = tail call double @get_time_usecs()
  br label %287

287:                                              ; preds = %287, %._crit_edge135.9
  %indvars.iv156.10 = phi i64 [ 0, %._crit_edge135.9 ], [ %indvars.iv.next157.10, %287 ]
  %.192131.10 = phi i64 [ %282, %._crit_edge135.9 ], [ %299, %287 ]
  %288 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156.10
  %289 = load i32, ptr %288, align 4, !tbaa !18
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds ptr, ptr %36, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !5
  %293 = getelementptr inbounds i8, ptr %288, i64 4
  %294 = load i32, ptr %293, align 4, !tbaa !20
  %295 = zext i32 %294 to i64
  %296 = getelementptr inbounds ptr, ptr %36, i64 %295
  %297 = load ptr, ptr %296, align 8, !tbaa !5
  %298 = tail call i64 @_roaring_bitmap_and(ptr noundef %292, ptr noundef %297, ptr noundef %52, ptr noundef %53) #13
  %299 = add i64 %298, %.192131.10
  %indvars.iv.next157.10 = add nuw nsw i64 %indvars.iv156.10, 1
  %.not107.10 = icmp eq i64 %indvars.iv.next157.10, %83
  br i1 %.not107.10, label %._crit_edge135.10, label %287, !llvm.loop !21

._crit_edge135.10:                                ; preds = %287
  %300 = fadd double %283, %285
  br label %.split141.us

301:                                              ; preds = %.lr.ph134.preheader, %301
  %indvars.iv156 = phi i64 [ 0, %.lr.ph134.preheader ], [ %indvars.iv.next157, %301 ]
  %.192131 = phi i64 [ 0, %.lr.ph134.preheader ], [ %313, %301 ]
  %302 = getelementptr inbounds %struct.query, ptr %71, i64 %indvars.iv156
  %303 = load i32, ptr %302, align 4, !tbaa !18
  %304 = zext i32 %303 to i64
  %305 = getelementptr inbounds ptr, ptr %36, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  %307 = getelementptr inbounds i8, ptr %302, i64 4
  %308 = load i32, ptr %307, align 4, !tbaa !20
  %309 = zext i32 %308 to i64
  %310 = getelementptr inbounds ptr, ptr %36, i64 %309
  %311 = load ptr, ptr %310, align 8, !tbaa !5
  %312 = tail call i64 @_roaring_bitmap_and(ptr noundef %306, ptr noundef %311, ptr noundef %52, ptr noundef %53) #13
  %313 = add i64 %312, %.192131
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %.not107 = icmp eq i64 %indvars.iv.next157, %83
  br i1 %.not107, label %._crit_edge135, label %301, !llvm.loop !21

._crit_edge147:                                   ; preds = %.lr.ph146, %.split141.us
  tail call void @free(ptr noundef %36) #13
  %314 = sub i64 0, %38
  %315 = getelementptr inbounds i8, ptr %.187.lcssa, i64 %314
  %316 = tail call i32 @munmap(ptr noundef %315, i64 noundef %38) #13
  %317 = icmp eq i32 %316, -1
  br i1 %317, label %320, label %322

.lr.ph146:                                        ; preds = %.split141.us, %.lr.ph146
  %indvars.iv159 = phi i64 [ %indvars.iv.next160, %.lr.ph146 ], [ 0, %.split141.us ]
  %318 = getelementptr inbounds ptr, ptr %36, i64 %indvars.iv159
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  tail call void @roaring_bitmap_free(ptr noundef %319) #13
  store ptr null, ptr %318, align 8, !tbaa !5
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %.not106 = icmp eq i64 %indvars.iv.next160, %32
  br i1 %.not106, label %._crit_edge147, label %.lr.ph146, !llvm.loop !22

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

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

324:                                              ; preds = %322, %66
  %.083 = phi i32 [ 1, %66 ], [ 0, %322 ]
  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 %325

325:                                              ; preds = %324, %7
  %.1 = phi i32 [ 1, %7 ], [ %.083, %324 ]
  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_and(ptr noundef, 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