; 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"

%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"struct.__sanitizer::CoverageData::NamedPcRange" = type { ptr, i64, i64 }
%"struct.__sanitizer::CommonFlags" = type { i8, ptr, i8, ptr, i8, i8, i8, i8, i32, ptr, i8, i8, i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i64, ptr, i8, i8, i8, i64, i64, i64, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, i8, i8, i8, i8, i8, i8, i32, ptr, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i8, i8, i8, i8, ptr }
%"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.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [65 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: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN11__sanitizer6ReportEPKcz(ptr noundef, ...) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer12common_flagsEv() #4

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #1

declare noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN11__sanitizer9VerbosityEv() #7

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

declare noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer12CoverageData12DumpAsBitSetEv(ptr noundef nonnull align 8 dereferenceable(193) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.__sanitizer::InternalScopedBuffer", align 8
  %4 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"struct.__sanitizer::CoverageData::NamedPcRange", 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 i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %21 = load ptr, ptr %2, align 8
  %22 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %23 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %22, i32 0, i32 39
  %24 = load i8, ptr %23, align 2, !tbaa !9, !range !14, !noundef !15
  %25 = trunc i8 %24 to i1
  br i1 %25, label %27, label %26

26:                                               ; preds = %1
  br label %234

27:                                               ; preds = %1
  %28 = call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %21)
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  br label %234

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #9
  %32 = call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %21)
  call void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %32)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #9
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 4096)
          to label %33 unwind label %41

33:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store i64 0, ptr %7, align 8, !tbaa !16
  br label %34

34:                                               ; preds = %223, %33
  %35 = load i64, ptr %7, align 8, !tbaa !16
  %36 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 8
  %37 = invoke noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36)
          to label %38 unwind label %45

38:                                               ; preds = %34
  %39 = icmp ult i64 %35, %37
  br i1 %39, label %49, label %40

40:                                               ; preds = %38
  store i32 2, ptr %8, align 4
  br label %228

41:                                               ; preds = %31
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %5, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %6, align 4
  br label %235

45:                                               ; preds = %34
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %5, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %6, align 4
  br label %230

49:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  store i64 0, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #9
  %50 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 8
  %51 = load i64, ptr %7, align 8, !tbaa !16
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %51)
          to label %53 unwind label %71

53:                                               ; preds = %49
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %52, i64 24, i1 false), !tbaa.struct !17
  br label %54

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %55 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  %57 = ptrtoint ptr %56 to i64
  store i64 %57, ptr %11, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  store i64 0, ptr %12, align 8, !tbaa !20
  %58 = load i64, ptr %11, align 8, !tbaa !20
  %59 = load i64, ptr %12, align 8, !tbaa !20
  %60 = icmp ne i64 %58, %59
  %61 = xor i1 %60, true
  %62 = xor i1 %61, true
  %63 = xor i1 %62, true
  %64 = zext i1 %63 to i64
  %65 = call i64 @llvm.expect.i64(i64 %64, i64 0)
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %79

67:                                               ; preds = %54
  %68 = load i64, ptr %11, align 8, !tbaa !20
  %69 = load i64, ptr %12, align 8, !tbaa !20
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 730, ptr noundef @.str.36, i64 noundef %68, i64 noundef %69) #10
          to label %70 unwind label %75

70:                                               ; preds = %67
  unreachable

71:                                               ; preds = %49
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %5, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %6, align 4
  br label %227

75:                                               ; preds = %67
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %5, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %227

79:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %83 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 1
  %84 = load i64, ptr %83, align 8, !tbaa !22
  store i64 %84, ptr %13, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %85 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 2
  %86 = load i64, ptr %85, align 8, !tbaa !23
  store i64 %86, ptr %14, align 8, !tbaa !20
  %87 = load i64, ptr %13, align 8, !tbaa !20
  %88 = load i64, ptr %14, align 8, !tbaa !20
  %89 = icmp ule i64 %87, %88
  %90 = xor i1 %89, true
  %91 = xor i1 %90, true
  %92 = xor i1 %91, true
  %93 = zext i1 %92 to i64
  %94 = call i64 @llvm.expect.i64(i64 %93, i64 0)
  %95 = icmp ne i64 %94, 0
  br i1 %95, label %96, label %104

96:                                               ; preds = %82
  %97 = load i64, ptr %13, align 8, !tbaa !20
  %98 = load i64, ptr %14, align 8, !tbaa !20
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 731, ptr noundef @.str.37, i64 noundef %97, i64 noundef %98) #10
          to label %99 unwind label %100

99:                                               ; preds = %96
  unreachable

100:                                              ; preds = %96
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %5, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %227

104:                                              ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %108 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 2
  %109 = load i64, ptr %108, align 8, !tbaa !23
  store i64 %109, ptr %15, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %110 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %21)
          to label %111 unwind label %125

111:                                              ; preds = %107
  store i64 %110, ptr %16, align 8, !tbaa !20
  %112 = load i64, ptr %15, align 8, !tbaa !20
  %113 = load i64, ptr %16, align 8, !tbaa !20
  %114 = icmp ule i64 %112, %113
  %115 = xor i1 %114, true
  %116 = xor i1 %115, true
  %117 = xor i1 %116, true
  %118 = zext i1 %117 to i64
  %119 = call i64 @llvm.expect.i64(i64 %118, i64 0)
  %120 = icmp ne i64 %119, 0
  br i1 %120, label %121, label %129

121:                                              ; preds = %111
  %122 = load i64, ptr %15, align 8, !tbaa !20
  %123 = load i64, ptr %16, align 8, !tbaa !20
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.5, i32 noundef 732, ptr noundef @.str.38, i64 noundef %122, i64 noundef %123) #10
          to label %124 unwind label %125

124:                                              ; preds = %121
  unreachable

125:                                              ; preds = %121, %107
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %5, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %227

129:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %130

130:                                              ; preds = %129
  br label %131

131:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %132 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 1
  %133 = load i64, ptr %132, align 8, !tbaa !22
  store i64 %133, ptr %17, align 8, !tbaa !16
  br label %134

134:                                              ; preds = %165, %131
  %135 = load i64, ptr %17, align 8, !tbaa !16
  %136 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 2
  %137 = load i64, ptr %136, align 8, !tbaa !23
  %138 = icmp ult i64 %135, %137
  br i1 %138, label %140, label %139

139:                                              ; preds = %134
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %168

140:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %141 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %21, i32 0, i32 0
  %142 = load ptr, ptr %141, align 8, !tbaa !24
  %143 = load i64, ptr %17, align 8, !tbaa !16
  %144 = getelementptr inbounds i64, ptr %142, i64 %143
  %145 = load i64, ptr %144, align 8, !tbaa !16
  %146 = invoke noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %145)
          to label %147 unwind label %160

147:                                              ; preds = %140
  store i64 %146, ptr %18, align 8, !tbaa !16
  %148 = load i64, ptr %18, align 8, !tbaa !16
  %149 = icmp ne i64 %148, 0
  %150 = zext i1 %149 to i64
  %151 = select i1 %149, i8 49, i8 48
  %152 = load i64, ptr %17, align 8, !tbaa !16
  %153 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef %152)
          to label %154 unwind label %160

154:                                              ; preds = %147
  store i8 %151, ptr %153, align 1, !tbaa !32
  %155 = load i64, ptr %18, align 8, !tbaa !16
  %156 = icmp ne i64 %155, 0
  br i1 %156, label %157, label %164

157:                                              ; preds = %154
  %158 = load i64, ptr %9, align 8, !tbaa !16
  %159 = add i64 %158, 1
  store i64 %159, ptr %9, align 8, !tbaa !16
  br label %164

160:                                              ; preds = %147, %140
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %5, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %227

164:                                              ; preds = %157, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %165

165:                                              ; preds = %164
  %166 = load i64, ptr %17, align 8, !tbaa !16
  %167 = add i64 %166, 1
  store i64 %167, ptr %17, align 8, !tbaa !16
  br label %134, !llvm.loop !33

168:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %169 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8, !tbaa !18
  %171 = invoke noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef %170)
          to label %172 unwind label %179

172:                                              ; preds = %168
  store ptr %171, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %173 = load ptr, ptr %19, align 8, !tbaa !5
  %174 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef %4, i1 noundef zeroext false, ptr noundef %173, ptr noundef @.str.41)
          to label %175 unwind label %183

175:                                              ; preds = %172
  store i32 %174, ptr %20, align 4, !tbaa !35
  %176 = load i32, ptr %20, align 4, !tbaa !35
  %177 = icmp eq i32 %176, -1
  br i1 %177, label %178, label %187

178:                                              ; preds = %175
  store i32 1, ptr %8, align 4
  br label %220

179:                                              ; preds = %168
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %5, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %6, align 4
  br label %226

183:                                              ; preds = %208, %203, %200, %190, %187, %172
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %5, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %226

187:                                              ; preds = %175
  %188 = load i32, ptr %20, align 4, !tbaa !35
  %189 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %190 unwind label %183

190:                                              ; preds = %187
  %191 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 1
  %192 = load i64, ptr %191, align 8, !tbaa !22
  %193 = getelementptr inbounds i8, ptr %189, i64 %192
  %194 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 2
  %195 = load i64, ptr %194, align 8, !tbaa !23
  %196 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 1
  %197 = load i64, ptr %196, align 8, !tbaa !22
  %198 = sub i64 %195, %197
  %199 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %188, ptr noundef %193, i64 noundef %198, ptr noundef null, ptr noundef null)
          to label %200 unwind label %183

200:                                              ; preds = %190
  %201 = load i32, ptr %20, align 4, !tbaa !35
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %201)
          to label %202 unwind label %183

202:                                              ; preds = %200
  br label %203

203:                                              ; preds = %202
  %204 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %205 unwind label %183

205:                                              ; preds = %203
  %206 = sext i32 %204 to i64
  %207 = icmp uge i64 %206, 1
  br i1 %207, label %208, label %217

208:                                              ; preds = %205
  %209 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 2
  %210 = load i64, ptr %209, align 8, !tbaa !23
  %211 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %10, i32 0, i32 1
  %212 = load i64, ptr %211, align 8, !tbaa !22
  %213 = sub i64 %210, %212
  %214 = load ptr, ptr %19, align 8, !tbaa !5
  %215 = load i64, ptr %9, align 8, !tbaa !16
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.42, i64 noundef %213, ptr noundef %214, i64 noundef %215)
          to label %216 unwind label %183

216:                                              ; preds = %208
  br label %217

217:                                              ; preds = %216, %205
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  store i32 0, ptr %8, align 4
  br label %220

220:                                              ; preds = %219, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  %221 = load i32, ptr %8, align 4
  switch i32 %221, label %228 [
    i32 0, label %222
  ]

222:                                              ; preds = %220
  br label %223

223:                                              ; preds = %222
  %224 = load i64, ptr %7, align 8, !tbaa !16
  %225 = add i64 %224, 1
  store i64 %225, ptr %7, align 8, !tbaa !16
  br label %34, !llvm.loop !36

226:                                              ; preds = %183, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  br label %227

227:                                              ; preds = %226, %160, %125, %100, %75, %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %230

228:                                              ; preds = %220, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  %229 = load i32, ptr %8, align 4
  switch i32 %229, label %232 [
    i32 2, label %231
  ]

230:                                              ; preds = %227, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %235

231:                                              ; preds = %228
  store i32 0, ptr %8, align 4
  br label %232

232:                                              ; preds = %231, %228
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #9
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #9
  %233 = load i32, ptr %8, align 4
  switch i32 %233, label %241 [
    i32 0, label %234
    i32 1, label %234
  ]

234:                                              ; preds = %232, %232, %30, %26
  ret void

235:                                              ; preds = %230, %41
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #9
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #9
  br label %236

236:                                              ; preds = %235
  %237 = load ptr, ptr %5, align 8
  %238 = load i32, ptr %6, align 4
  %239 = insertvalue { ptr, i32 } poison, ptr %237, 0
  %240 = insertvalue { ptr, i32 } %239, i32 %238, 1
  resume { ptr, i32 } %240

241:                                              ; preds = %232
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint 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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { 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 #7 = { inlinehint 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nounwind }
attributes #10 = { 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, !11, i64 126}
!10 = !{!"_ZTSN11__sanitizer11CommonFlagsE", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 33, !11, i64 34, !11, i64 35, !12, i64 36, !6, i64 40, !11, i64 48, !11, i64 49, !12, i64 52, !11, i64 56, !11, i64 57, !11, i64 58, !11, i64 59, !11, i64 60, !11, i64 61, !11, i64 62, !11, i64 63, !11, i64 64, !11, i64 65, !11, i64 66, !11, i64 67, !13, i64 72, !6, i64 80, !11, i64 88, !11, i64 89, !11, i64 90, !13, i64 96, !13, i64 104, !13, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !6, i64 136, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !12, i64 152, !6, i64 160, !11, i64 168, !11, i64 169, !11, i64 170, !11, i64 171, !11, i64 172, !11, i64 173, !11, i64 174, !11, i64 175, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !12, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !6, i64 192}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!13, !13, i64 0}
!17 = !{i64 0, i64 8, !5, i64 8, i64 8, !16, i64 16, i64 8, !16}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSN11__sanitizer12CoverageData12NamedPcRangeE", !6, i64 0, !13, i64 8, !13, i64 16}
!20 = !{!21, !21, i64 0}
!21 = !{!"long long", !7, i64 0}
!22 = !{!19, !13, i64 8}
!23 = !{!19, !13, i64 16}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTSN11__sanitizer12CoverageDataE", !6, i64 0, !26, i64 8, !26, i64 16, !13, i64 24, !12, i64 32, !27, i64 40, !28, i64 64, !28, i64 88, !29, i64 112, !13, i64 136, !6, i64 144, !26, i64 152, !26, i64 160, !6, i64 168, !13, i64 176, !6, i64 184, !30, i64 192}
!26 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !13, i64 0}
!27 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !6, i64 0, !13, i64 8, !13, i64 16}
!28 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !6, i64 0, !13, i64 8, !13, i64 16}
!29 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !6, i64 0, !13, i64 8, !13, i64 16}
!30 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !31, i64 0}
!31 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !7, i64 0}
!32 = !{!7, !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!12, !12, i64 0}
!36 = distinct !{!36, !34}


; 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"

%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }

@.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.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [65 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 uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare void @_ZN11__sanitizer6ReportEPKcz(ptr noundef, ...) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN11__sanitizer12common_flagsEv() local_unnamed_addr #4

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN11__sanitizer9VerbosityEv() local_unnamed_addr #6

declare noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer12CoverageData12DumpAsBitSetEv(ptr noundef nonnull align 8 dereferenceable(193) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__sanitizer::InternalScopedBuffer", align 8
  %3 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %4 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %5 = getelementptr inbounds i8, ptr %4, i64 126
  %6 = load i8, ptr %5, align 2, !tbaa !5, !range !13, !noundef !14
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %69

8:                                                ; preds = %1
  %9 = tail call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
  %.not = icmp eq i64 %9, 0
  br i1 %.not, label %69, label %10

10:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %11 = tail call noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
  call void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %11)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 4096)
          to label %.preheader62 unwind label %14

.preheader62:                                     ; preds = %10
  %12 = getelementptr inbounds i8, ptr %0, i64 88
  %13 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  %.not90 = icmp eq i64 %13, 0
  br i1 %.not90, label %.critedge, label %.lr.ph88

14:                                               ; preds = %10
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %70

.lr.ph88:                                         ; preds = %.preheader62, %64
  %.04587 = phi i64 [ %65, %64 ], [ 0, %.preheader62 ]
  %16 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.04587)
          to label %17 unwind label %20

17:                                               ; preds = %.lr.ph88
  %.sroa.0.0.copyload = load ptr, ptr %16, align 8, !tbaa !15
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 8
  %.sroa.6.0.copyload = load i64, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !16
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %16, i64 16
  %.sroa.11.0.copyload = load i64, ptr %.sroa.11.0..sroa_idx, align 8, !tbaa !16
  %.not52 = icmp eq ptr %.sroa.0.0.copyload, null
  br i1 %.not52, label %18, label %24, !prof !17

18:                                               ; preds = %17
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 730, ptr noundef nonnull @.str.36, i64 noundef 0, i64 noundef 0) #8
          to label %19 unwind label %22

19:                                               ; preds = %18
  unreachable

20:                                               ; preds = %.lr.ph88
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %68

22:                                               ; preds = %18
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %68

24:                                               ; preds = %17
  %.not53 = icmp ugt i64 %.sroa.6.0.copyload, %.sroa.11.0.copyload
  br i1 %.not53, label %25, label %29, !prof !17

25:                                               ; preds = %24
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 731, ptr noundef nonnull @.str.37, i64 noundef %.sroa.6.0.copyload, i64 noundef %.sroa.11.0.copyload) #8
          to label %26 unwind label %27

26:                                               ; preds = %25
  unreachable

27:                                               ; preds = %25
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %68

29:                                               ; preds = %24
  %30 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
          to label %31 unwind label %.loopexit

31:                                               ; preds = %29
  %.not54 = icmp ugt i64 %.sroa.11.0.copyload, %30
  br i1 %.not54, label %33, label %.preheader, !prof !17

.preheader:                                       ; preds = %31
  %32 = icmp ult i64 %.sroa.6.0.copyload, %.sroa.11.0.copyload
  br i1 %32, label %.lr.ph, label %._crit_edge

33:                                               ; preds = %31
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.5, i32 noundef 732, ptr noundef nonnull @.str.38, i64 noundef %.sroa.11.0.copyload, i64 noundef %30) #8
          to label %34 unwind label %.loopexit.split-lp

34:                                               ; preds = %33
  unreachable

.loopexit:                                        ; preds = %29
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %68

.loopexit.split-lp:                               ; preds = %33
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %68

._crit_edge:                                      ; preds = %40, %.preheader
  %.049.lcssa = phi i64 [ 0, %.preheader ], [ %spec.select, %40 ]
  %35 = invoke noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef nonnull %.sroa.0.0.copyload)
          to label %47 unwind label %50

.lr.ph:                                           ; preds = %.preheader, %40
  %.04686 = phi i64 [ %44, %40 ], [ %.sroa.6.0.copyload, %.preheader ]
  %.04985 = phi i64 [ %spec.select, %40 ], [ 0, %.preheader ]
  %36 = load ptr, ptr %0, align 8, !tbaa !18
  %37 = getelementptr inbounds i64, ptr %36, i64 %.04686
  %38 = load i64, ptr %37, align 8, !tbaa !16
  %39 = invoke noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %38)
          to label %40 unwind label %45

40:                                               ; preds = %.lr.ph
  %.not58 = icmp ne i64 %39, 0
  %41 = select i1 %.not58, i8 49, i8 48
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %2, i64 noundef %.04686)
  store i8 %41, ptr %42, align 1, !tbaa !26
  %43 = zext i1 %.not58 to i64
  %spec.select = add i64 %.04985, %43
  %44 = add i64 %.04686, 1
  %exitcond.not = icmp eq i64 %44, %.sroa.11.0.copyload
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !27

45:                                               ; preds = %.lr.ph
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %68

47:                                               ; preds = %._crit_edge
  %48 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef nonnull %3, i1 noundef zeroext false, ptr noundef %35, ptr noundef nonnull @.str.41)
          to label %49 unwind label %52

49:                                               ; preds = %47
  %.not57 = icmp eq i32 %48, -1
  br i1 %.not57, label %.critedge, label %54

50:                                               ; preds = %._crit_edge
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %68

52:                                               ; preds = %63, %60, %59, %54, %47
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %68

54:                                               ; preds = %49
  %55 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %56 = getelementptr inbounds i8, ptr %55, i64 %.sroa.6.0.copyload
  %57 = sub i64 %.sroa.11.0.copyload, %.sroa.6.0.copyload
  %58 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %48, ptr noundef %56, i64 noundef %57, ptr noundef null, ptr noundef null)
          to label %59 unwind label %52

59:                                               ; preds = %54
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %48)
          to label %60 unwind label %52

60:                                               ; preds = %59
  %61 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %62 unwind label %52

62:                                               ; preds = %60
  %.not55 = icmp eq i32 %61, 0
  br i1 %.not55, label %64, label %63

63:                                               ; preds = %62
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.42, i64 noundef %57, ptr noundef %35, i64 noundef %.049.lcssa)
          to label %64 unwind label %52

64:                                               ; preds = %63, %62
  %65 = add nuw i64 %.04587, 1
  %66 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  %67 = icmp ult i64 %65, %66
  br i1 %67, label %.lr.ph88, label %.critedge, !llvm.loop !29

68:                                               ; preds = %.loopexit, %.loopexit.split-lp, %50, %52, %45, %27, %22, %20
  %.pn59 = phi { ptr, i32 } [ %23, %22 ], [ %28, %27 ], [ %46, %45 ], [ %21, %20 ], [ %53, %52 ], [ %51, %50 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %70

.critedge:                                        ; preds = %64, %49, %.preheader62
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  br label %69

69:                                               ; preds = %8, %1, %.critedge
  ret void

70:                                               ; preds = %68, %14
  %.pn59.pn = phi { ptr, i32 } [ %.pn59, %68 ], [ %15, %14 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn59.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint 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 = { 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 #6 = { inlinehint 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 #7 = { nounwind }
attributes #8 = { 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, !7, i64 126}
!6 = !{!"_ZTSN11__sanitizer11CommonFlagsE", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !11, i64 36, !10, i64 40, !7, i64 48, !7, i64 49, !11, i64 52, !7, i64 56, !7, i64 57, !7, i64 58, !7, i64 59, !7, i64 60, !7, i64 61, !7, i64 62, !7, i64 63, !7, i64 64, !7, i64 65, !7, i64 66, !7, i64 67, !12, i64 72, !10, i64 80, !7, i64 88, !7, i64 89, !7, i64 90, !12, i64 96, !12, i64 104, !12, i64 112, !7, i64 120, !7, i64 121, !7, i64 122, !7, i64 123, !7, i64 124, !7, i64 125, !7, i64 126, !7, i64 127, !7, i64 128, !10, i64 136, !7, i64 144, !7, i64 145, !7, i64 146, !7, i64 147, !7, i64 148, !7, i64 149, !11, i64 152, !10, i64 160, !7, i64 168, !7, i64 169, !7, i64 170, !7, i64 171, !7, i64 172, !7, i64 173, !7, i64 174, !7, i64 175, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !7, i64 180, !7, i64 181, !11, i64 184, !7, i64 188, !7, i64 189, !7, i64 190, !7, i64 191, !10, i64 192}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!10, !10, i64 0}
!16 = !{!12, !12, i64 0}
!17 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!18 = !{!19, !10, i64 0}
!19 = !{!"_ZTSN11__sanitizer12CoverageDataE", !10, i64 0, !20, i64 8, !20, i64 16, !12, i64 24, !11, i64 32, !21, i64 40, !22, i64 64, !22, i64 88, !23, i64 112, !12, i64 136, !10, i64 144, !20, i64 152, !20, i64 160, !10, i64 168, !12, i64 176, !10, i64 184, !24, i64 192}
!20 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !12, i64 0}
!21 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorIPiEE", !10, i64 0, !12, i64 8, !12, i64 16}
!22 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEE", !10, i64 0, !12, i64 8, !12, i64 16}
!23 = !{!"_ZTSN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData14CounterAndSizeEEE", !10, i64 0, !12, i64 8, !12, i64 16}
!24 = !{!"_ZTSN11__sanitizer15StaticSpinMutexE", !25, i64 0}
!25 = !{!"_ZTSN11__sanitizer14atomic_uint8_tE", !8, i64 0}
!26 = !{!8, !8, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}


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