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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [47 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.main.bufsizes = external hidden unnamed_addr constant [5 x i32], align 16
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @iterate_using_advance(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @iterate_using_read(ptr noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #1 {
  %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 i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca [5 x i32], align 16
  %21 = alloca i64, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = 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
  %28 = load i32, ptr %4, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 2
  br i1 %29, label %30, label %39

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

39:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %40 = call ptr @roaring_bitmap_create()
  store ptr %40, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %82, %39
  %42 = load i32, ptr %7, align 4, !tbaa !5
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 2, ptr %8, align 4
  br label %85

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds ptr, ptr %47, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = call ptr @read_integer_file(ptr noundef %51, ptr noundef %9)
  store ptr %52, ptr %10, align 8, !tbaa !9
  %53 = load i64, ptr %9, align 8, !tbaa !11
  %54 = icmp eq i64 %53, 0
  br i1 %54, label %55, label %62

55:                                               ; preds = %46
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds ptr, ptr %56, i64 %58
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %60)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %79

62:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %63

63:                                               ; preds = %74, %62
  %64 = load i64, ptr %11, align 8, !tbaa !11
  %65 = load i64, ptr %9, align 8, !tbaa !11
  %66 = icmp ult i64 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %77

68:                                               ; preds = %63
  %69 = load ptr, ptr %6, align 8, !tbaa !9
  %70 = load ptr, ptr %10, align 8, !tbaa !9
  %71 = load i64, ptr %11, align 8, !tbaa !11
  %72 = getelementptr inbounds i32, ptr %70, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  call void @roaring_bitmap_add(ptr noundef %69, i32 noundef %73)
  br label %74

74:                                               ; preds = %68
  %75 = load i64, ptr %11, align 8, !tbaa !11
  %76 = add i64 %75, 1
  store i64 %76, ptr %11, align 8, !tbaa !11
  br label %63, !llvm.loop !13

77:                                               ; preds = %67
  %78 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %78) #5
  store i32 0, ptr %8, align 4
  br label %79

79:                                               ; preds = %77, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %80 = load i32, ptr %8, align 4
  switch i32 %80, label %85 [
    i32 0, label %81
  ]

81:                                               ; preds = %79
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %7, align 4, !tbaa !5
  br label %41, !llvm.loop !15

85:                                               ; preds = %79, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %86 = load i32, ptr %8, align 4
  switch i32 %86, label %200 [
    i32 2, label %87
  ]

87:                                               ; preds = %85
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %89 = load ptr, ptr %6, align 8, !tbaa !9
  %90 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %89)
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %90)
  %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 5, ptr %14, align 4, !tbaa !5
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %134, %87
  %95 = load i32, ptr %15, align 4, !tbaa !5
  %96 = icmp slt i32 %95, 5
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %137

98:                                               ; preds = %94
  br label %99

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %100 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %101 = extractvalue { i32, i32 } %100, 0
  %102 = extractvalue { i32, i32 } %100, 1
  store i32 %101, ptr %16, align 4, !tbaa !5
  store i32 %102, ptr %17, align 4, !tbaa !5
  %103 = load i32, ptr %16, align 4, !tbaa !5
  %104 = zext i32 %103 to i64
  %105 = shl i64 %104, 32
  %106 = load i32, ptr %17, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = or i64 %105, %107
  store i64 %108, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %109

109:                                              ; preds = %99
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %6, align 8, !tbaa !9
  call void @iterate_using_advance(ptr noundef %111)
  br label %112

112:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %113 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %114 = extractvalue { i32, i32 } %113, 0
  %115 = extractvalue { i32, i32 } %113, 1
  store i32 %114, ptr %18, align 4, !tbaa !5
  store i32 %115, ptr %19, align 4, !tbaa !5
  %116 = load i32, ptr %18, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = shl i64 %117, 32
  %119 = load i32, ptr %19, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = or i64 %118, %120
  store i64 %121, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %122

122:                                              ; preds = %112
  br label %123

123:                                              ; preds = %122
  %124 = load i64, ptr %13, align 8, !tbaa !11
  %125 = load i64, ptr %12, align 8, !tbaa !11
  %126 = sub i64 %124, %125
  %127 = uitofp i64 %126 to double
  %128 = fmul double %127, 1.000000e+00
  %129 = load ptr, ptr %6, align 8, !tbaa !9
  %130 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %129)
  %131 = uitofp i64 %130 to double
  %132 = fdiv double %128, %131
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %132)
  br label %134

134:                                              ; preds = %123
  %135 = load i32, ptr %15, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %15, align 4, !tbaa !5
  br label %94, !llvm.loop !18

137:                                              ; preds = %97
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 20, ptr %20) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 @__const.main.bufsizes, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store i64 0, ptr %21, align 8, !tbaa !11
  br label %139

139:                                              ; preds = %195, %137
  %140 = load i64, ptr %21, align 8, !tbaa !11
  %141 = icmp ult i64 %140, 5
  br i1 %141, label %143, label %142

142:                                              ; preds = %139
  store i32 15, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %198

143:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %144 = load i64, ptr %21, align 8, !tbaa !11
  %145 = getelementptr inbounds [5 x i32], ptr %20, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  store i32 %146, ptr %22, align 4, !tbaa !5
  %147 = load i32, ptr %22, align 4, !tbaa !5
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %147)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %190, %143
  %150 = load i32, ptr %23, align 4, !tbaa !5
  %151 = icmp slt i32 %150, 5
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  store i32 18, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %193

153:                                              ; preds = %149
  br label %154

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %155 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %156 = extractvalue { i32, i32 } %155, 0
  %157 = extractvalue { i32, i32 } %155, 1
  store i32 %156, ptr %24, align 4, !tbaa !5
  store i32 %157, ptr %25, align 4, !tbaa !5
  %158 = load i32, ptr %24, align 4, !tbaa !5
  %159 = zext i32 %158 to i64
  %160 = shl i64 %159, 32
  %161 = load i32, ptr %25, align 4, !tbaa !5
  %162 = zext i32 %161 to i64
  %163 = or i64 %160, %162
  store i64 %163, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %164

164:                                              ; preds = %154
  br label %165

165:                                              ; preds = %164
  %166 = load ptr, ptr %6, align 8, !tbaa !9
  %167 = load i32, ptr %22, align 4, !tbaa !5
  call void @iterate_using_read(ptr noundef %166, i32 noundef %167)
  br label %168

168:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %169 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !20
  %170 = extractvalue { i32, i32 } %169, 0
  %171 = extractvalue { i32, i32 } %169, 1
  store i32 %170, ptr %26, align 4, !tbaa !5
  store i32 %171, ptr %27, align 4, !tbaa !5
  %172 = load i32, ptr %26, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = shl i64 %173, 32
  %175 = load i32, ptr %27, align 4, !tbaa !5
  %176 = zext i32 %175 to i64
  %177 = or i64 %174, %176
  store i64 %177, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %178

178:                                              ; preds = %168
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %13, align 8, !tbaa !11
  %181 = load i64, ptr %12, align 8, !tbaa !11
  %182 = sub i64 %180, %181
  %183 = uitofp i64 %182 to double
  %184 = fmul double %183, 1.000000e+00
  %185 = load ptr, ptr %6, align 8, !tbaa !9
  %186 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %185)
  %187 = uitofp i64 %186 to double
  %188 = fdiv double %184, %187
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %188)
  br label %190

190:                                              ; preds = %179
  %191 = load i32, ptr %23, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %23, align 4, !tbaa !5
  br label %149, !llvm.loop !21

193:                                              ; preds = %152
  %194 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %195

195:                                              ; preds = %193
  %196 = load i64, ptr %21, align 8, !tbaa !11
  %197 = add i64 %196, 1
  store i64 %197, ptr %21, align 8, !tbaa !11
  br label %139, !llvm.loop !22

198:                                              ; preds = %142
  %199 = load ptr, ptr %6, align 8, !tbaa !9
  call void @roaring_bitmap_free(ptr noundef %199)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %200

200:                                              ; preds = %198, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %201

201:                                              ; preds = %200, %30
  %202 = load i32, ptr %3, align 4
  ret i32 %202
}

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

declare ptr @roaring_bitmap_create() #3

; Function Attrs: nounwind uwtable
declare hidden ptr @read_integer_file(ptr noundef, ptr noundef) #1

declare void @roaring_bitmap_add(ptr noundef, i32 noundef) #3

declare i64 @roaring_bitmap_get_cardinality(ptr noundef) #3

; 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) #4

declare void @roaring_bitmap_free(ptr noundef) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{i64 2152111574, i64 2152111582, i64 2152111662, i64 2152111750, i64 2152111830}
!17 = !{i64 2152112319, i64 2152112328, i64 2152112415, i64 2152112495, i64 2152112567}
!18 = distinct !{!18, !14}
!19 = !{i64 2152113064, i64 2152113072, i64 2152113152, i64 2152113240, i64 2152113320}
!20 = !{i64 2152113809, i64 2152113818, i64 2152113905, i64 2152113985, i64 2152114057}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [47 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.main.bufsizes = external hidden unnamed_addr constant [5 x i32], align 16
@.str.9 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @iterate_using_advance(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @iterate_using_read(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

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

.split:                                           ; preds = %2
  %10 = tail call ptr @roaring_bitmap_create() #5
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %.lr.ph70

.lr.ph70:                                         ; preds = %.split, %._crit_edge
  %indvars.iv = phi i64 [ 1, %.split ], [ %indvars.iv.next, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store i64 0, ptr %3, align 8, !tbaa !9
  %11 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = call ptr @read_integer_file(ptr noundef %12, ptr noundef nonnull %3)
  %14 = load i64, ptr %3, align 8, !tbaa !9
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %.thread56, label %.lr.ph

.thread56:                                        ; preds = %.lr.ph70
  %15 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %206

.lr.ph:                                           ; preds = %.lr.ph70, %.lr.ph
  %.04966 = phi i64 [ %20, %.lr.ph ], [ 0, %.lr.ph70 ]
  %18 = getelementptr inbounds i32, ptr %13, i64 %.04966
  %19 = load i32, ptr %18, align 4, !tbaa !11
  call void @roaring_bitmap_add(ptr noundef %10, i32 noundef %19) #5
  %20 = add nuw i64 %.04966, 1
  %21 = load i64, ptr %3, align 8, !tbaa !9
  %22 = icmp ult i64 %20, %21
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph
  call void @free(ptr noundef nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.thread58, label %.lr.ph70, !llvm.loop !15

.thread58:                                        ; preds = %._crit_edge
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %24 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %24)
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %28 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %29 = extractvalue { i32, i32 } %28, 0
  %30 = extractvalue { i32, i32 } %28, 1
  %.neg76 = sub i32 0, %29
  %.neg76.z = zext i32 %.neg76 to i64
  %.neg75 = shl nuw i64 %.neg76.z, 32
  %31 = zext i32 %30 to i64
  call void @iterate_using_advance(ptr noundef %10)
  %32 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %33 = extractvalue { i32, i32 } %32, 0
  %34 = extractvalue { i32, i32 } %32, 1
  %35 = zext i32 %33 to i64
  %36 = shl nuw i64 %35, 32
  %37 = zext i32 %34 to i64
  %.neg64 = sub i64 %.neg75, %31
  %38 = add i64 %.neg64, %37
  %39 = add i64 %38, %36
  %40 = uitofp i64 %39 to double
  %41 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %42 = uitofp i64 %41 to double
  %43 = fdiv double %40, %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %43)
  %45 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %46 = extractvalue { i32, i32 } %45, 0
  %47 = extractvalue { i32, i32 } %45, 1
  %.neg76.1 = sub i32 0, %46
  %.neg76.z.1 = zext i32 %.neg76.1 to i64
  %.neg75.1 = shl nuw i64 %.neg76.z.1, 32
  %48 = zext i32 %47 to i64
  call void @iterate_using_advance(ptr noundef %10)
  %49 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %50 = extractvalue { i32, i32 } %49, 0
  %51 = extractvalue { i32, i32 } %49, 1
  %52 = zext i32 %50 to i64
  %53 = shl nuw i64 %52, 32
  %54 = zext i32 %51 to i64
  %.neg64.1 = sub i64 %.neg75.1, %48
  %55 = add i64 %.neg64.1, %54
  %56 = add i64 %55, %53
  %57 = uitofp i64 %56 to double
  %58 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %59 = uitofp i64 %58 to double
  %60 = fdiv double %57, %59
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %60)
  %62 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %63 = extractvalue { i32, i32 } %62, 0
  %64 = extractvalue { i32, i32 } %62, 1
  %.neg76.2 = sub i32 0, %63
  %.neg76.z.2 = zext i32 %.neg76.2 to i64
  %.neg75.2 = shl nuw i64 %.neg76.z.2, 32
  %65 = zext i32 %64 to i64
  call void @iterate_using_advance(ptr noundef %10)
  %66 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %67 = extractvalue { i32, i32 } %66, 0
  %68 = extractvalue { i32, i32 } %66, 1
  %69 = zext i32 %67 to i64
  %70 = shl nuw i64 %69, 32
  %71 = zext i32 %68 to i64
  %.neg64.2 = sub i64 %.neg75.2, %65
  %72 = add i64 %.neg64.2, %71
  %73 = add i64 %72, %70
  %74 = uitofp i64 %73 to double
  %75 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %76 = uitofp i64 %75 to double
  %77 = fdiv double %74, %76
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %77)
  %79 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %80 = extractvalue { i32, i32 } %79, 0
  %81 = extractvalue { i32, i32 } %79, 1
  %.neg76.3 = sub i32 0, %80
  %.neg76.z.3 = zext i32 %.neg76.3 to i64
  %.neg75.3 = shl nuw i64 %.neg76.z.3, 32
  %82 = zext i32 %81 to i64
  call void @iterate_using_advance(ptr noundef %10)
  %83 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %84 = extractvalue { i32, i32 } %83, 0
  %85 = extractvalue { i32, i32 } %83, 1
  %86 = zext i32 %84 to i64
  %87 = shl nuw i64 %86, 32
  %88 = zext i32 %85 to i64
  %.neg64.3 = sub i64 %.neg75.3, %82
  %89 = add i64 %.neg64.3, %88
  %90 = add i64 %89, %87
  %91 = uitofp i64 %90 to double
  %92 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %93 = uitofp i64 %92 to double
  %94 = fdiv double %91, %93
  %95 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %94)
  %96 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !16
  %97 = extractvalue { i32, i32 } %96, 0
  %98 = extractvalue { i32, i32 } %96, 1
  %.neg76.4 = sub i32 0, %97
  %.neg76.z.4 = zext i32 %.neg76.4 to i64
  %.neg75.4 = shl nuw i64 %.neg76.z.4, 32
  %99 = zext i32 %98 to i64
  call void @iterate_using_advance(ptr noundef %10)
  %100 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !17
  %101 = extractvalue { i32, i32 } %100, 0
  %102 = extractvalue { i32, i32 } %100, 1
  %103 = zext i32 %101 to i64
  %104 = shl nuw i64 %103, 32
  %105 = zext i32 %102 to i64
  %.neg64.4 = sub i64 %.neg75.4, %99
  %106 = add i64 %.neg64.4, %105
  %107 = add i64 %106, %104
  %108 = uitofp i64 %107 to double
  %109 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %110 = uitofp i64 %109 to double
  %111 = fdiv double %108, %110
  %112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %111)
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %115

114:                                              ; preds = %115
  call void @roaring_bitmap_free(ptr noundef %10) #5
  br label %206

115:                                              ; preds = %.thread58, %115
  %.05173 = phi i64 [ 0, %.thread58 ], [ %205, %115 ]
  %116 = getelementptr inbounds [5 x i32], ptr @__const.main.bufsizes, i64 0, i64 %.05173
  %117 = load i32, ptr %116, align 4, !tbaa !11
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i32 noundef %117)
  %119 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !18
  %120 = extractvalue { i32, i32 } %119, 0
  %121 = extractvalue { i32, i32 } %119, 1
  %.neg78 = sub i32 0, %120
  %.neg78.z = zext i32 %.neg78 to i64
  %.neg77 = shl nuw i64 %.neg78.z, 32
  %122 = zext i32 %121 to i64
  call void @iterate_using_read(ptr noundef %10, i32 noundef %117)
  %123 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %124 = extractvalue { i32, i32 } %123, 0
  %125 = extractvalue { i32, i32 } %123, 1
  %126 = zext i32 %124 to i64
  %127 = shl nuw i64 %126, 32
  %128 = zext i32 %125 to i64
  %.neg61 = sub i64 %.neg77, %122
  %129 = add i64 %.neg61, %128
  %130 = add i64 %129, %127
  %131 = uitofp i64 %130 to double
  %132 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %133 = uitofp i64 %132 to double
  %134 = fdiv double %131, %133
  %135 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %134)
  %136 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !18
  %137 = extractvalue { i32, i32 } %136, 0
  %138 = extractvalue { i32, i32 } %136, 1
  %.neg78.1 = sub i32 0, %137
  %.neg78.z.1 = zext i32 %.neg78.1 to i64
  %.neg77.1 = shl nuw i64 %.neg78.z.1, 32
  %139 = zext i32 %138 to i64
  call void @iterate_using_read(ptr noundef %10, i32 noundef %117)
  %140 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %141 = extractvalue { i32, i32 } %140, 0
  %142 = extractvalue { i32, i32 } %140, 1
  %143 = zext i32 %141 to i64
  %144 = shl nuw i64 %143, 32
  %145 = zext i32 %142 to i64
  %.neg61.1 = sub i64 %.neg77.1, %139
  %146 = add i64 %.neg61.1, %145
  %147 = add i64 %146, %144
  %148 = uitofp i64 %147 to double
  %149 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %150 = uitofp i64 %149 to double
  %151 = fdiv double %148, %150
  %152 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %151)
  %153 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !18
  %154 = extractvalue { i32, i32 } %153, 0
  %155 = extractvalue { i32, i32 } %153, 1
  %.neg78.2 = sub i32 0, %154
  %.neg78.z.2 = zext i32 %.neg78.2 to i64
  %.neg77.2 = shl nuw i64 %.neg78.z.2, 32
  %156 = zext i32 %155 to i64
  call void @iterate_using_read(ptr noundef %10, i32 noundef %117)
  %157 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %158 = extractvalue { i32, i32 } %157, 0
  %159 = extractvalue { i32, i32 } %157, 1
  %160 = zext i32 %158 to i64
  %161 = shl nuw i64 %160, 32
  %162 = zext i32 %159 to i64
  %.neg61.2 = sub i64 %.neg77.2, %156
  %163 = add i64 %.neg61.2, %162
  %164 = add i64 %163, %161
  %165 = uitofp i64 %164 to double
  %166 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %167 = uitofp i64 %166 to double
  %168 = fdiv double %165, %167
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %168)
  %170 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !18
  %171 = extractvalue { i32, i32 } %170, 0
  %172 = extractvalue { i32, i32 } %170, 1
  %.neg78.3 = sub i32 0, %171
  %.neg78.z.3 = zext i32 %.neg78.3 to i64
  %.neg77.3 = shl nuw i64 %.neg78.z.3, 32
  %173 = zext i32 %172 to i64
  call void @iterate_using_read(ptr noundef %10, i32 noundef %117)
  %174 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %175 = extractvalue { i32, i32 } %174, 0
  %176 = extractvalue { i32, i32 } %174, 1
  %177 = zext i32 %175 to i64
  %178 = shl nuw i64 %177, 32
  %179 = zext i32 %176 to i64
  %.neg61.3 = sub i64 %.neg77.3, %173
  %180 = add i64 %.neg61.3, %179
  %181 = add i64 %180, %178
  %182 = uitofp i64 %181 to double
  %183 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %184 = uitofp i64 %183 to double
  %185 = fdiv double %182, %184
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %185)
  %187 = call { i32, i32 } asm sideeffect "cpuid\0A\09rdtsc\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !18
  %188 = extractvalue { i32, i32 } %187, 0
  %189 = extractvalue { i32, i32 } %187, 1
  %.neg78.4 = sub i32 0, %188
  %.neg78.z.4 = zext i32 %.neg78.4 to i64
  %.neg77.4 = shl nuw i64 %.neg78.z.4, 32
  %190 = zext i32 %189 to i64
  call void @iterate_using_read(ptr noundef %10, i32 noundef %117)
  %191 = call { i32, i32 } asm sideeffect "rdtscp\0A\09mov %edx, $0\0A\09mov %eax, $1\0A\09cpuid\0A\09", "=r,=r,~{rax},~{rbx},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !19
  %192 = extractvalue { i32, i32 } %191, 0
  %193 = extractvalue { i32, i32 } %191, 1
  %194 = zext i32 %192 to i64
  %195 = shl nuw i64 %194, 32
  %196 = zext i32 %193 to i64
  %.neg61.4 = sub i64 %.neg77.4, %190
  %197 = add i64 %.neg61.4, %196
  %198 = add i64 %197, %195
  %199 = uitofp i64 %198 to double
  %200 = call i64 @roaring_bitmap_get_cardinality(ptr noundef %10) #5
  %201 = uitofp i64 %200 to double
  %202 = fdiv double %199, %201
  %203 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %202)
  %204 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %205 = add nuw nsw i64 %.05173, 1
  %exitcond83.not = icmp eq i64 %205, 5
  br i1 %exitcond83.not, label %114, label %115, !llvm.loop !20

206:                                              ; preds = %.thread56, %114, %5
  %.4 = phi i32 [ 1, %5 ], [ 0, %114 ], [ 1, %.thread56 ]
  ret i32 %.4
}

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

declare ptr @roaring_bitmap_create() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden ptr @read_integer_file(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @roaring_bitmap_add(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i64 @roaring_bitmap_get_cardinality(ptr noundef) local_unnamed_addr #4

declare void @roaring_bitmap_free(ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{i64 2152111574, i64 2152111582, i64 2152111662, i64 2152111750, i64 2152111830}
!17 = !{i64 2152112319, i64 2152112328, i64 2152112415, i64 2152112495, i64 2152112567}
!18 = !{i64 2152113064, i64 2152113072, i64 2152113152, i64 2152113240, i64 2152113320}
!19 = !{i64 2152113809, i64 2152113818, i64 2152113905, i64 2152113985, i64 2152114057}
!20 = distinct !{!20, !14}


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