; 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::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, 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 }
%"struct.__sanitizer::CoverageData::NamedPcRange" = type { ptr, i64, i64 }

@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [37 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

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) #3

declare noundef ptr @_ZN11__sanitizer10Symbolizer9GetOrInitEv() #3

; 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
define dso_local void @_ZN11__sanitizer12CoverageData9DumpTraceEv(ptr noundef nonnull align 8 dereferenceable(193) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %20 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 16
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 14
  %23 = load ptr, ptr %22, align 8, !tbaa !19
  %24 = ptrtoint ptr %21 to i64
  %25 = ptrtoint ptr %23 to i64
  %26 = sub i64 %24, %25
  %27 = sdiv exact i64 %26, 4
  store i64 %27, ptr %3, align 8, !tbaa !20
  %28 = load i64, ptr %3, align 8, !tbaa !20
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %31, label %30

30:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %205

31:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %32 = call noundef ptr @_ZN11__sanitizer10Symbolizer9GetOrInitEv()
  store ptr %32, ptr %5, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %36, label %35

35:                                               ; preds = %31
  store i32 1, ptr %4, align 4
  br label %204

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 33554432)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %37 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %19)
          to label %38 unwind label %44

38:                                               ; preds = %36
  store i64 %37, ptr %8, align 8, !tbaa !20
  br label %39

39:                                               ; preds = %62, %38
  %40 = load i64, ptr %7, align 8, !tbaa !20
  %41 = load i64, ptr %8, align 8, !tbaa !20
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %48, label %43

43:                                               ; preds = %39
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %70

44:                                               ; preds = %36
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %9, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %10, align 4
  br label %69

48:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store ptr @.str.23, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !20
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  %52 = load i64, ptr %7, align 8, !tbaa !20
  %53 = getelementptr inbounds i64, ptr %51, i64 %52
  %54 = load i64, ptr %53, align 8, !tbaa !20
  %55 = invoke noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %54)
          to label %56 unwind label %65

56:                                               ; preds = %48
  %57 = invoke noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200) %49, i64 noundef %55, ptr noundef %11, ptr noundef %12)
          to label %58 unwind label %65

58:                                               ; preds = %56
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = load i64, ptr %12, align 8, !tbaa !20
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef @.str.24, ptr noundef %59, i64 noundef %60)
          to label %61 unwind label %65

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %62

62:                                               ; preds = %61
  %63 = load i64, ptr %7, align 8, !tbaa !20
  %64 = add i64 %63, 1
  store i64 %64, ptr %7, align 8, !tbaa !20
  br label %39, !llvm.loop !22

65:                                               ; preds = %58, %56, %48
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %69

69:                                               ; preds = %65, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %211

70:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 4096)
          to label %71 unwind label %77

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %72 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef %13, i1 noundef zeroext false, ptr noundef @.str.25, ptr noundef @.str.26)
          to label %73 unwind label %81

73:                                               ; preds = %71
  store i32 %72, ptr %14, align 4, !tbaa !24
  %74 = load i32, ptr %14, align 4, !tbaa !24
  %75 = icmp eq i32 %74, -1
  br i1 %75, label %76, label %85

76:                                               ; preds = %73
  store i32 1, ptr %4, align 4
  br label %203

77:                                               ; preds = %70
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %9, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %10, align 4
  br label %210

81:                                               ; preds = %133, %131, %129, %127, %124, %100, %94, %92, %90, %88, %85, %71
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %9, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %10, align 4
  br label %209

85:                                               ; preds = %73
  %86 = load i32, ptr %14, align 4, !tbaa !24
  %87 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %88 unwind label %81

88:                                               ; preds = %85
  %89 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %90 unwind label %81

90:                                               ; preds = %88
  %91 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %86, ptr noundef %87, i64 noundef %89, ptr noundef null, ptr noundef null)
          to label %92 unwind label %81

92:                                               ; preds = %90
  %93 = load i32, ptr %14, align 4, !tbaa !24
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %93)
          to label %94 unwind label %81

94:                                               ; preds = %92
  %95 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef %13, i1 noundef zeroext false, ptr noundef @.str.27, ptr noundef @.str.26)
          to label %96 unwind label %81

96:                                               ; preds = %94
  store i32 %95, ptr %14, align 4, !tbaa !24
  %97 = load i32, ptr %14, align 4, !tbaa !24
  %98 = icmp eq i32 %97, -1
  br i1 %98, label %99, label %100

99:                                               ; preds = %96
  store i32 1, ptr %4, align 4
  br label %203

100:                                              ; preds = %96
  invoke void @_ZN11__sanitizer20InternalScopedString5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %101 unwind label %81

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 0, ptr %15, align 8, !tbaa !20
  br label %102

102:                                              ; preds = %121, %101
  %103 = load i64, ptr %15, align 8, !tbaa !20
  %104 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 7
  %105 = invoke noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %104)
          to label %106 unwind label %109

106:                                              ; preds = %102
  %107 = icmp ult i64 %103, %105
  br i1 %107, label %113, label %108

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

109:                                              ; preds = %117, %113, %102
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %209

113:                                              ; preds = %106
  %114 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 7
  %115 = load i64, ptr %15, align 8, !tbaa !20
  %116 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115)
          to label %117 unwind label %109

117:                                              ; preds = %113
  %118 = getelementptr inbounds %"struct.__sanitizer::CoverageData::NamedPcRange", ptr %116, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !25
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef @.str.28, ptr noundef %119)
          to label %120 unwind label %109

120:                                              ; preds = %117
  br label %121

121:                                              ; preds = %120
  %122 = load i64, ptr %15, align 8, !tbaa !20
  %123 = add i64 %122, 1
  store i64 %123, ptr %15, align 8, !tbaa !20
  br label %102, !llvm.loop !27

124:                                              ; preds = %108
  %125 = load i32, ptr %14, align 4, !tbaa !24
  %126 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %127 unwind label %81

127:                                              ; preds = %124
  %128 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %129 unwind label %81

129:                                              ; preds = %127
  %130 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %125, ptr noundef %126, i64 noundef %128, ptr noundef null, ptr noundef null)
          to label %131 unwind label %81

131:                                              ; preds = %129
  %132 = load i32, ptr %14, align 4, !tbaa !24
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %132)
          to label %133 unwind label %81

133:                                              ; preds = %131
  %134 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef %13, i1 noundef zeroext false, ptr noundef @.str.29, ptr noundef @.str.26)
          to label %135 unwind label %81

135:                                              ; preds = %133
  store i32 %134, ptr %14, align 4, !tbaa !24
  %136 = load i32, ptr %14, align 4, !tbaa !24
  %137 = icmp eq i32 %136, -1
  br i1 %137, label %138, label %139

138:                                              ; preds = %135
  store i32 1, ptr %4, align 4
  br label %203

139:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %140 = load i64, ptr %3, align 8, !tbaa !20
  %141 = mul i64 %140, 4
  store i64 %141, ptr %16, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %142 = getelementptr inbounds %"class.__sanitizer::CoverageData", ptr %19, i32 0, i32 14
  %143 = load ptr, ptr %142, align 8, !tbaa !19
  store ptr %143, ptr %17, align 8, !tbaa !5
  br label %144

144:                                              ; preds = %172, %139
  %145 = load i64, ptr %16, align 8, !tbaa !20
  %146 = icmp ne i64 %145, 0
  br i1 %146, label %147, label %173

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %148 = load i32, ptr %14, align 4, !tbaa !24
  %149 = load ptr, ptr %17, align 8, !tbaa !5
  %150 = load i64, ptr %16, align 8, !tbaa !20
  %151 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %148, ptr noundef %149, i64 noundef %150, ptr noundef %18, ptr noundef null)
          to label %152 unwind label %164

152:                                              ; preds = %147
  br i1 %151, label %153, label %168

153:                                              ; preds = %152
  %154 = load i64, ptr %18, align 8, !tbaa !20
  %155 = load i64, ptr %16, align 8, !tbaa !20
  %156 = icmp ule i64 %154, %155
  br i1 %156, label %157, label %168

157:                                              ; preds = %153
  %158 = load i64, ptr %18, align 8, !tbaa !20
  %159 = load i64, ptr %16, align 8, !tbaa !20
  %160 = sub i64 %159, %158
  store i64 %160, ptr %16, align 8, !tbaa !20
  %161 = load i64, ptr %18, align 8, !tbaa !20
  %162 = load ptr, ptr %17, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 %161
  store ptr %163, ptr %17, align 8, !tbaa !5
  br label %169

164:                                              ; preds = %147
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %9, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %208

168:                                              ; preds = %153, %152
  store i32 9, ptr %4, align 4
  br label %170

169:                                              ; preds = %157
  store i32 0, ptr %4, align 4
  br label %170

170:                                              ; preds = %169, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %171 = load i32, ptr %4, align 4
  switch i32 %171, label %217 [
    i32 0, label %172
    i32 9, label %173
  ]

172:                                              ; preds = %170
  br label %144, !llvm.loop !28

173:                                              ; preds = %170, %144
  %174 = load i32, ptr %14, align 4, !tbaa !24
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %174)
          to label %175 unwind label %185

175:                                              ; preds = %173
  br label %176

176:                                              ; preds = %175
  %177 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %178 unwind label %185

178:                                              ; preds = %176
  %179 = sext i32 %177 to i64
  %180 = icmp uge i64 %179, 1
  br i1 %180, label %181, label %189

181:                                              ; preds = %178
  %182 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %19)
          to label %183 unwind label %185

183:                                              ; preds = %181
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.30, i64 noundef %182)
          to label %184 unwind label %185

184:                                              ; preds = %183
  br label %189

185:                                              ; preds = %197, %192, %183, %181, %176, %173
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %9, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %10, align 4
  br label %208

189:                                              ; preds = %184, %178
  br label %190

190:                                              ; preds = %189
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  %193 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %194 unwind label %185

194:                                              ; preds = %192
  %195 = sext i32 %193 to i64
  %196 = icmp uge i64 %195, 1
  br i1 %196, label %197, label %200

197:                                              ; preds = %194
  %198 = load i64, ptr %3, align 8, !tbaa !20
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.31, i64 noundef %198)
          to label %199 unwind label %185

199:                                              ; preds = %197
  br label %200

200:                                              ; preds = %199, %194
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  store i32 0, ptr %4, align 4
  br label %203

203:                                              ; preds = %202, %138, %99, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  br label %204

204:                                              ; preds = %203, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %205

205:                                              ; preds = %204, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %206 = load i32, ptr %4, align 4
  switch i32 %206, label %217 [
    i32 0, label %207
    i32 1, label %207
  ]

207:                                              ; preds = %205, %205
  ret void

208:                                              ; preds = %185, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %209

209:                                              ; preds = %208, %109, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br label %210

210:                                              ; preds = %209, %77
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  br label %211

211:                                              ; preds = %210, %69
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %212

212:                                              ; preds = %211
  %213 = load ptr, ptr %9, align 8
  %214 = load i32, ptr %10, align 4
  %215 = insertvalue { ptr, i32 } poison, ptr %213, 0
  %216 = insertvalue { ptr, i32 } %215, i32 %214, 1
  resume { ptr, i32 } %216

217:                                              ; preds = %205, %170
  unreachable
}

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

declare void @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ...) #3

; 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 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

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


; 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::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }

@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [37 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

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) local_unnamed_addr #3

declare noundef ptr @_ZN11__sanitizer10Symbolizer9GetOrInitEv() local_unnamed_addr #3

; 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
define dso_local void @_ZN11__sanitizer12CoverageData9DumpTraceEv(ptr noundef nonnull align 8 dereferenceable(193) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %6 = alloca i64, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 184
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 168
  %10 = load ptr, ptr %9, align 8, !tbaa !18
  %11 = ptrtoint ptr %8 to i64
  %12 = ptrtoint ptr %10 to i64
  %13 = sub i64 %11, %12
  %14 = ashr exact i64 %13, 2
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %96, label %15

15:                                               ; preds = %1
  %16 = tail call noundef ptr @_ZN11__sanitizer10Symbolizer9GetOrInitEv()
  %.not48 = icmp eq ptr %16, null
  br i1 %.not48, label %96, label %17

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 33554432)
  %18 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
          to label %.preheader64 unwind label %19

.preheader64:                                     ; preds = %17
  %.not71 = icmp eq i64 %18, 0
  br i1 %.not71, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %30, %.preheader64
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 4096)
          to label %34 unwind label %38

19:                                               ; preds = %17
  %20 = landingpad { ptr, i32 }
          cleanup
  br label %99

.lr.ph:                                           ; preds = %.preheader64, %30
  %.04165 = phi i64 [ %31, %30 ], [ 0, %.preheader64 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store ptr @.str.23, ptr %3, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store i64 0, ptr %4, align 8, !tbaa !20
  %21 = load ptr, ptr %0, align 8, !tbaa !21
  %22 = getelementptr inbounds i64, ptr %21, i64 %.04165
  %23 = load i64, ptr %22, align 8, !tbaa !20
  %24 = invoke noundef i64 @_ZN11__sanitizer10UnbundlePcEm(i64 noundef %23)
          to label %25 unwind label %32

25:                                               ; preds = %.lr.ph
  %26 = invoke noundef zeroext i1 @_ZN11__sanitizer10Symbolizer27GetModuleNameAndOffsetForPCEmPPKcPm(ptr noundef nonnull align 8 dereferenceable(200) %16, i64 noundef %24, ptr noundef nonnull %3, ptr noundef nonnull %4)
          to label %27 unwind label %32

27:                                               ; preds = %25
  %28 = load ptr, ptr %3, align 8, !tbaa !19
  %29 = load i64, ptr %4, align 8, !tbaa !20
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.24, ptr noundef %28, i64 noundef %29)
          to label %30 unwind label %32

30:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %31 = add nuw i64 %.04165, 1
  %exitcond.not = icmp eq i64 %31, %18
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !22

32:                                               ; preds = %27, %25, %.lr.ph
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %99

34:                                               ; preds = %._crit_edge
  %35 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef nonnull %5, i1 noundef zeroext false, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.26)
          to label %36 unwind label %40

36:                                               ; preds = %34
  %37 = icmp eq i32 %35, -1
  br i1 %37, label %95, label %42

38:                                               ; preds = %._crit_edge
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %98

40:                                               ; preds = %67, %66, %._crit_edge68, %51, %47, %46, %42, %34
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %97

42:                                               ; preds = %36
  %43 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %44 = call noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %45 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %35, ptr noundef %43, i64 noundef %44, ptr noundef null, ptr noundef null)
          to label %46 unwind label %40

46:                                               ; preds = %42
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %35)
          to label %47 unwind label %40

47:                                               ; preds = %46
  %48 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef nonnull %5, i1 noundef zeroext false, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.26)
          to label %49 unwind label %40

49:                                               ; preds = %47
  %50 = icmp eq i32 %48, -1
  br i1 %50, label %95, label %51

51:                                               ; preds = %49
  invoke void @_ZN11__sanitizer20InternalScopedString5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %.preheader unwind label %40

.preheader:                                       ; preds = %51
  %52 = getelementptr inbounds i8, ptr %0, i64 64
  %53 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  %.not72 = icmp eq i64 %53, 0
  br i1 %.not72, label %._crit_edge68, label %.lr.ph67

._crit_edge68:                                    ; preds = %62, %.preheader
  %54 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %55 = call noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %56 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %48, ptr noundef %54, i64 noundef %55, ptr noundef null, ptr noundef null)
          to label %66 unwind label %40

57:                                               ; preds = %60, %.lr.ph67
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %97

.lr.ph67:                                         ; preds = %.preheader, %62
  %.03266 = phi i64 [ %63, %62 ], [ 0, %.preheader ]
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %.03266)
          to label %60 unwind label %57

60:                                               ; preds = %.lr.ph67
  %61 = load ptr, ptr %59, align 8, !tbaa !24
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull @.str.28, ptr noundef %61)
          to label %62 unwind label %57

62:                                               ; preds = %60
  %63 = add nuw i64 %.03266, 1
  %64 = call noundef i64 @_ZNK11__sanitizer24InternalMmapVectorNoCtorINS_12CoverageData12NamedPcRangeEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
  %65 = icmp ult i64 %63, %64
  br i1 %65, label %.lr.ph67, label %._crit_edge68, !llvm.loop !26

66:                                               ; preds = %._crit_edge68
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %48)
          to label %67 unwind label %40

67:                                               ; preds = %66
  %68 = invoke noundef i32 @_ZN11__sanitizerL11CovOpenFileEPNS_20InternalScopedStringEbPKcS3_(ptr noundef nonnull %5, i1 noundef zeroext false, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.26)
          to label %69 unwind label %40

69:                                               ; preds = %67
  %70 = icmp eq i32 %68, -1
  br i1 %70, label %95, label %71

71:                                               ; preds = %69
  %72 = load ptr, ptr %9, align 8, !tbaa !18
  br label %73

73:                                               ; preds = %71, %80
  %.070 = phi ptr [ %72, %71 ], [ %82, %80 ]
  %.03069 = phi i64 [ %13, %71 ], [ %81, %80 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %74 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %68, ptr noundef %.070, i64 noundef %.03069, ptr noundef nonnull %6, ptr noundef null)
          to label %75 unwind label %78

75:                                               ; preds = %73
  br i1 %74, label %76, label %.thread

76:                                               ; preds = %75
  %77 = load i64, ptr %6, align 8, !tbaa !20
  %.not50 = icmp ugt i64 %77, %.03069
  br i1 %.not50, label %.thread, label %80

78:                                               ; preds = %73
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %97

.thread:                                          ; preds = %76, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %.loopexit

80:                                               ; preds = %76
  %81 = sub i64 %.03069, %77
  %82 = getelementptr inbounds i8, ptr %.070, i64 %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %.not49 = icmp eq i64 %81, 0
  br i1 %.not49, label %.loopexit, label %73

.loopexit:                                        ; preds = %80, %.thread
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %68)
          to label %83 unwind label %89

83:                                               ; preds = %.loopexit
  %84 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %85 unwind label %89

85:                                               ; preds = %83
  %.not51 = icmp eq i32 %84, 0
  br i1 %.not51, label %91, label %86

86:                                               ; preds = %85
  %87 = invoke noundef i64 @_ZNK11__sanitizer12CoverageData4sizeEv(ptr noundef nonnull align 8 dereferenceable(193) %0)
          to label %88 unwind label %89

88:                                               ; preds = %86
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.30, i64 noundef %87)
          to label %91 unwind label %89

89:                                               ; preds = %94, %91, %88, %86, %83, %.loopexit
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %97

91:                                               ; preds = %85, %88
  %92 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %93 unwind label %89

93:                                               ; preds = %91
  %.not52 = icmp eq i32 %92, 0
  br i1 %.not52, label %95, label %94

94:                                               ; preds = %93
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.31, i64 noundef %14)
          to label %95 unwind label %89

95:                                               ; preds = %93, %94, %69, %49, %36
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  br label %96

96:                                               ; preds = %95, %15, %1
  ret void

97:                                               ; preds = %78, %89, %57, %40
  %.pn54 = phi { ptr, i32 } [ %58, %57 ], [ %41, %40 ], [ %90, %89 ], [ %79, %78 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %98

98:                                               ; preds = %97, %38
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %97 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %99

99:                                               ; preds = %19, %32, %98
  %.pn57.pn = phi { ptr, i32 } [ %.pn54.pn, %98 ], [ %33, %32 ], [ %20, %19 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn57.pn
}

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

declare void @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ...) local_unnamed_addr #3

; 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 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass