; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_coverage_libcdep)

; 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.__sanitizer::CoverageData::NamedPcRange" = type { ptr, i64, i64 }
%"class.__sanitizer::CoverageData" = type <{ ptr, %"struct.__sanitizer::atomic_uintptr_t", %"struct.__sanitizer::atomic_uintptr_t", i64, i32, [4 x i8], %"class.__sanitizer::InternalMmapVectorNoCtor", %"class.__sanitizer::InternalMmapVectorNoCtor.0", %"class.__sanitizer::InternalMmapVectorNoCtor.0", %"class.__sanitizer::InternalMmapVectorNoCtor.1", i64, ptr, %"struct.__sanitizer::atomic_uintptr_t", %"struct.__sanitizer::atomic_uintptr_t", ptr, i64, ptr, %"class.__sanitizer::StaticSpinMutex", [7 x i8] }>
%"class.__sanitizer::InternalMmapVectorNoCtor" = type { ptr, i64, i64 }
%"class.__sanitizer::InternalMmapVectorNoCtor.0" = type { ptr, i64, i64 }
%"class.__sanitizer::InternalMmapVectorNoCtor.1" = type { ptr, i64, i64 }
%"struct.__sanitizer::atomic_uintptr_t" = type { i64 }
%"class.__sanitizer::StaticSpinMutex" = type { %"struct.__sanitizer::atomic_uint8_t" }
%"struct.__sanitizer::atomic_uint8_t" = type { i8 }

@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [45 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: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer18BundlePcAndCounterEmm(i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer15UnbundleCounterEm(i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193)) #3 align 2

declare noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200), i64 noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK11__sanitizer12CoverageData15GetRangeOffsetsERKNS0_12NamedPcRangeEPNS_10SymbolizerEPNS_18InternalMmapVectorImEE(ptr noundef nonnull align 8 dereferenceable(193) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %27)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %28

28:                                               ; preds = %34, %4
  %29 = load i64, ptr %9, align 8, !tbaa !9
  %30 = icmp ult i64 %29, 1
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %37

32:                                               ; preds = %28
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !9
  call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %34

34:                                               ; preds = %32
  %35 = load i64, ptr %9, align 8, !tbaa !9
  %36 = add i64 %35, 1
  store i64 %36, ptr %9, align 8, !tbaa !9
  br label %28, !llvm.loop !11

37:                                               ; preds = %31
  br label %38

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !13
  %42 = ptrtoint ptr %41 to i64
  store i64 %42, ptr %11, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !15
  %43 = load i64, ptr %11, align 8, !tbaa !15
  %44 = load i64, ptr %12, align 8, !tbaa !15
  %45 = icmp ne i64 %43, %44
  %46 = xor i1 %45, true
  %47 = xor i1 %46, true
  %48 = xor i1 %47, true
  %49 = zext i1 %48 to i64
  %50 = call i64 @llvm.expect.i64(i64 %49, i64 0)
  %51 = icmp ne i64 %50, 0
  br i1 %51, label %52, label %55

52:                                               ; preds = %38
  %53 = load i64, ptr %11, align 8, !tbaa !15
  %54 = load i64, ptr %12, align 8, !tbaa !15
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 756, ptr noundef @.str.36, i64 noundef %53, i64 noundef %54) #7
  unreachable

55:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %58, i32 0, i32 1
  %60 = load i64, ptr %59, align 8, !tbaa !17
  store i64 %60, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %61, i32 0, i32 2
  %63 = load i64, ptr %62, align 8, !tbaa !18
  store i64 %63, ptr %14, align 8, !tbaa !15
  %64 = load i64, ptr %13, align 8, !tbaa !15
  %65 = load i64, ptr %14, align 8, !tbaa !15
  %66 = icmp ule i64 %64, %65
  %67 = xor i1 %66, true
  %68 = xor i1 %67, true
  %69 = xor i1 %68, true
  %70 = zext i1 %69 to i64
  %71 = call i64 @llvm.expect.i64(i64 %70, i64 0)
  %72 = icmp ne i64 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %57
  %74 = load i64, ptr %13, align 8, !tbaa !15
  %75 = load i64, ptr %14, align 8, !tbaa !15
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 757, ptr noundef @.str.37, i64 noundef %74, i64 noundef %75) #7
  unreachable

76:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %79, i32 0, i32 2
  %81 = load i64, ptr %80, align 8, !tbaa !18
  store i64 %81, ptr %15, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %82 = call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %26)
  store i64 %82, ptr %16, align 8, !tbaa !15
  %83 = load i64, ptr %15, align 8, !tbaa !15
  %84 = load i64, ptr %16, align 8, !tbaa !15
  %85 = icmp ule i64 %83, %84
  %86 = xor i1 %85, true
  %87 = xor i1 %86, true
  %88 = xor i1 %87, true
  %89 = zext i1 %88 to i64
  %90 = call i64 @llvm.expect.i64(i64 %89, i64 0)
  %91 = icmp ne i64 %90, 0
  br i1 %91, label %92, label %95

92:                                               ; preds = %78
  %93 = load i64, ptr %15, align 8, !tbaa !15
  %94 = load i64, ptr %16, align 8, !tbaa !15
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 758, ptr noundef @.str.38, i64 noundef %93, i64 noundef %94) #7
  unreachable

95:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %96

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %97, i32 0, i32 1
  %99 = load i64, ptr %98, align 8, !tbaa !17
  store i64 %99, ptr %17, align 8, !tbaa !9
  br label %100

100:                                              ; preds = %134, %96
  %101 = load i64, ptr %17, align 8, !tbaa !9
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %102, i32 0, i32 2
  %104 = load i64, ptr %103, align 8, !tbaa !18
  %105 = icmp ult i64 %101, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %100
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %137

107:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %108 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %26, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !19
  %110 = load i64, ptr %17, align 8, !tbaa !9
  %111 = getelementptr inbounds i64, ptr %109, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %113 = call noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %112)
  store i64 %113, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %114 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %26, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !19
  %116 = load i64, ptr %17, align 8, !tbaa !9
  %117 = getelementptr inbounds i64, ptr %115, i64 %116
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = call noundef i64 @_ZN11__sanitizer15UnbundleCounterEm(i64 noundef %118)
  store i64 %119, ptr %20, align 8, !tbaa !9
  %120 = load i64, ptr %19, align 8, !tbaa !9
  %121 = icmp ne i64 %120, 0
  br i1 %121, label %123, label %122

122:                                              ; preds = %107
  store i32 13, ptr %18, align 4
  br label %131

123:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  store i64 0, ptr %21, align 8, !tbaa !9
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load i64, ptr %19, align 8, !tbaa !9
  %126 = call noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200) %124, i64 noundef %125, ptr noundef null, ptr noundef %21)
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %128 = load i64, ptr %21, align 8, !tbaa !9
  %129 = load i64, ptr %20, align 8, !tbaa !9
  %130 = call noundef i64 @_ZN11__sanitizer18BundlePcAndCounterEmm(i64 noundef %128, i64 noundef %129)
  store i64 %130, ptr %22, align 8, !tbaa !9
  call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %127, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  store i32 0, ptr %18, align 4
  br label %131

131:                                              ; preds = %123, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %132 = load i32, ptr %18, align 4
  switch i32 %132, label %178 [
    i32 0, label %133
    i32 13, label %134
  ]

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133, %131
  %135 = load i64, ptr %17, align 8, !tbaa !9
  %136 = add i64 %135, 1
  store i64 %136, ptr %17, align 8, !tbaa !9
  br label %100, !llvm.loop !28

137:                                              ; preds = %106
  br label %138

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139)
  store i64 %140, ptr %23, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 1, ptr %24, align 8, !tbaa !15
  %141 = load i64, ptr %23, align 8, !tbaa !15
  %142 = load i64, ptr %24, align 8, !tbaa !15
  %143 = icmp uge i64 %141, %142
  %144 = xor i1 %143, true
  %145 = xor i1 %144, true
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i64
  %148 = call i64 @llvm.expect.i64(i64 %147, i64 0)
  %149 = icmp ne i64 %148, 0
  br i1 %149, label %150, label %153

150:                                              ; preds = %138
  %151 = load i64, ptr %23, align 8, !tbaa !15
  %152 = load i64, ptr %24, align 8, !tbaa !15
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 768, ptr noundef @.str.43, i64 noundef %151, i64 noundef %152) #7
  unreachable

153:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %154

154:                                              ; preds = %153
  %155 = load ptr, ptr %8, align 8, !tbaa !5
  %156 = call noundef ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %155)
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %157)
  call void @_ZN11__sanitizer9SortArrayEPmm(ptr noundef %156, i64 noundef %158)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %159

159:                                              ; preds = %174, %154
  %160 = load i64, ptr %25, align 8, !tbaa !9
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %161)
  %163 = icmp ult i64 %160, %162
  br i1 %163, label %165, label %164

164:                                              ; preds = %159
  store i32 16, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %177

165:                                              ; preds = %159
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = load i64, ptr %25, align 8, !tbaa !9
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %167)
  %169 = load i64, ptr %168, align 8, !tbaa !9
  %170 = call noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %169)
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i64, ptr %25, align 8, !tbaa !9
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %172)
  store i64 %170, ptr %173, align 8, !tbaa !9
  br label %174

174:                                              ; preds = %165
  %175 = load i64, ptr %25, align 8, !tbaa !9
  %176 = add i64 %175, 1
  store i64 %176, ptr %25, align 8, !tbaa !9
  br label %159, !llvm.loop !29

177:                                              ; preds = %164
  ret void

178:                                              ; preds = %131
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

declare void @_ZN11__sanitizer9SortArrayEPmm(ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN11__sanitizer12CoverageData12NamedPcRangeE", !6, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!16, !16, i64 0}
!16 = !{!"long long", !7, i64 0}
!17 = !{!14, !10, i64 8}
!18 = !{!14, !10, i64 16}
!19 = !{!20, !6, i64 0}
!20 = !{!"_ZTSN11__sanitizer12CoverageDataE", !6, i64 0, !21, i64 8, !21, i64 16, !10, i64 24, !22, i64 32, !23, i64 40, !24, i64 64, !24, i64 88, !25, i64 112, !10, i64 136, !6, i64 144, !21, i64 152, !21, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !26, i64 192}
!21 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !10, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !6, i64 0, !10, i64 8, !10, i64 16}
!24 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !6, i64 0, !10, i64 8, !10, i64 16}
!25 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !6, i64 0, !10, i64 8, !10, i64 16}
!26 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !27, i64 0}
!27 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !7, i64 0}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}


; 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.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [45 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: noreturn
declare void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer18BundlePcAndCounterEmm(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN11__sanitizer15UnbundleCounterEm(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200), i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK11__sanitizer12CoverageData15GetRangeOffsetsERKNS0_12NamedPcRangeEPNS_10SymbolizerEPNS_18InternalMmapVectorImEE(ptr noundef nonnull align 8 dereferenceable(193) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef nonnull %3) local_unnamed_addr #2 align 2 {
.critedge:
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  tail call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %7 = load ptr, ptr %1, align 8, !tbaa !9
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9, !prof !12

8:                                                ; preds = %.critedge
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 756, ptr noundef nonnull @.str.36, i64 noundef 0, i64 noundef 0) #6
  unreachable

9:                                                ; preds = %.critedge
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load i64, ptr %10, align 8, !tbaa !13
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = load i64, ptr %12, align 8, !tbaa !14
  %.not48 = icmp ugt i64 %11, %13
  br i1 %.not48, label %14, label %15, !prof !12

14:                                               ; preds = %9
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 757, ptr noundef nonnull @.str.37, i64 noundef %11, i64 noundef %13) #6
  unreachable

15:                                               ; preds = %9
  %16 = call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
  %.not49 = icmp ugt i64 %13, %16
  br i1 %.not49, label %17, label %18, !prof !12

17:                                               ; preds = %15
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 758, ptr noundef nonnull @.str.38, i64 noundef %13, i64 noundef %16) #6
  unreachable

18:                                               ; preds = %15
  %19 = load i64, ptr %10, align 8, !tbaa !13
  %20 = load i64, ptr %12, align 8, !tbaa !14
  %21 = icmp ult i64 %19, %20
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %35, %18
  %22 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %.not50 = icmp eq i64 %22, 0
  br i1 %.not50, label %39, label %40, !prof !12

.lr.ph:                                           ; preds = %18, %35
  %.04652 = phi i64 [ %36, %35 ], [ %19, %18 ]
  %23 = load ptr, ptr %0, align 8, !tbaa !15
  %24 = getelementptr inbounds i64, ptr %23, i64 %.04652
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = call noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %25)
  %27 = load ptr, ptr %0, align 8, !tbaa !15
  %28 = getelementptr inbounds i64, ptr %27, i64 %.04652
  %29 = load i64, ptr %28, align 8, !tbaa !5
  %30 = call noundef i64 @_ZN11__sanitizer15UnbundleCounterEm(i64 noundef %29)
  %.not51 = icmp eq i64 %26, 0
  br i1 %.not51, label %35, label %31

31:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  store i64 0, ptr %5, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200) %2, i64 noundef %26, ptr noundef null, ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %33 = load i64, ptr %5, align 8, !tbaa !5
  %34 = call noundef i64 @_ZN11__sanitizer18BundlePcAndCounterEmm(i64 noundef %33, i64 noundef %30)
  store i64 %34, ptr %6, align 8, !tbaa !5
  call void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %35

35:                                               ; preds = %.lr.ph, %31
  %36 = add nuw i64 %.04652, 1
  %37 = load i64, ptr %12, align 8, !tbaa !14
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.lr.ph, label %._crit_edge, !llvm.loop !24

39:                                               ; preds = %._crit_edge
  call void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 768, ptr noundef nonnull @.str.43, i64 noundef 0, i64 noundef 1) #6
  unreachable

40:                                               ; preds = %._crit_edge
  %41 = call noundef ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %42 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  call void @_ZN11__sanitizer9SortArrayEPmm(ptr noundef %41, i64 noundef %42)
  %43 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %.not57 = icmp eq i64 %43, 0
  br i1 %.not57, label %._crit_edge56, label %.lr.ph55

._crit_edge56:                                    ; preds = %.lr.ph55, %40
  ret void

.lr.ph55:                                         ; preds = %40, %.lr.ph55
  %.053 = phi i64 [ %48, %.lr.ph55 ], [ 0, %40 ]
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.053)
  %45 = load i64, ptr %44, align 8, !tbaa !5
  %46 = call noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %45)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.053)
  store i64 %46, ptr %47, align 8, !tbaa !5
  %48 = add nuw i64 %.053, 1
  %49 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %50 = icmp ult i64 %48, %49
  br i1 %50, label %.lr.ph55, label %._crit_edge56, !llvm.loop !26
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer24InternalMmapVectorNoCtorImE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorImE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

declare void @_ZN11__sanitizer9SortArrayEPmm(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorImEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

!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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN11__sanitizer12CoverageData12NamedPcRangeE", !11, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !6, i64 16}
!15 = !{!16, !11, i64 0}
!16 = !{!"_ZTSN11__sanitizer12CoverageDataE", !11, i64 0, !17, i64 8, !17, i64 16, !6, i64 24, !18, i64 32, !19, i64 40, !20, i64 64, !20, i64 88, !21, i64 112, !6, i64 136, !11, i64 144, !17, i64 152, !17, i64 160, !11, i64 168, !6, i64 176, !11, i64 184, !22, i64 192}
!17 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !6, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !11, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !11, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !11, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !23, i64 0}
!23 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass