; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_coverage_mapping_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::StaticSpinMutex" = type { %"struct.__sanitizer::atomic_uint8_t" }
%"struct.__sanitizer::atomic_uint8_t" = type { i8 }
%"struct.__sanitizer::CachedMapping" = type <{ i64, i64, i32, [4 x i8] }>
%"class.__sanitizer::GenericScopedLock" = type { ptr }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::ListOfModules" = type { %"class.__sanitizer::InternalMmapVector" }
%"class.__sanitizer::InternalMmapVector" = type { %"class.__sanitizer::InternalMmapVectorNoCtor" }
%"class.__sanitizer::InternalMmapVectorNoCtor" = type { ptr, i64, i64 }
%"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase" = type { ptr }
%"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 }
%"struct.__sanitizer::LoadedModule::AddressRange" = type <{ ptr, i64, i64, i8, [7 x i8] }>
%"class.__sanitizer::LoadedModule" = type { ptr, i64, %"struct.__sanitizer::IntrusiveList" }
%"struct.__sanitizer::IntrusiveList" = type { i64, ptr, ptr }

@_ZN11__sanitizerL10mapping_muE = external hidden global %"class.__sanitizer::StaticSpinMutex", align 1
@_ZN11__sanitizerL14cached_mappingE = external hidden global %"struct.__sanitizer::CachedMapping", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer16CovUpdateMappingEPKcm(ptr noundef %0, i64 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %10 = alloca %"class.__sanitizer::ListOfModules", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", align 8
  %19 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", align 8
  %20 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %33 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %34 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %33, i32 0, i32 41
  %35 = load i8, ptr %34, align 8, !tbaa !11, !range !15, !noundef !16
  %36 = trunc i8 %35 to i1
  br i1 %36, label %38, label %37

37:                                               ; preds = %2
  br label %333

38:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef @_ZN11__sanitizerL10mapping_muE)
  %39 = load i64, ptr %4, align 8, !tbaa !9
  %40 = invoke noundef zeroext i1 @_ZN11__sanitizer13CachedMapping11NeedsUpdateEm(ptr noundef nonnull align 8 dereferenceable(20) @_ZN11__sanitizerL14cached_mappingE, i64 noundef %39)
          to label %41 unwind label %43

41:                                               ; preds = %38
  br i1 %40, label %47, label %42

42:                                               ; preds = %41
  store i32 1, ptr %8, align 4
  br label %331

43:                                               ; preds = %38
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %6, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %7, align 4
  br label %341

47:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 65536)
          to label %48 unwind label %63

48:                                               ; preds = %47
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef @.str, i64 noundef 64)
          to label %49 unwind label %67

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  invoke void @_ZN11__sanitizer13ListOfModulesC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %50 unwind label %71

50:                                               ; preds = %49
  invoke void @_ZN11__sanitizer13ListOfModules4initEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %51 unwind label %75

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store ptr %10, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %52 = load ptr, ptr %11, align 8, !tbaa !5
  %53 = invoke noundef ptr @_ZN11__sanitizer13ListOfModules5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %54 unwind label %79

54:                                               ; preds = %51
  store ptr %53, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = invoke noundef ptr @_ZN11__sanitizer13ListOfModules3endEv(ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %57 unwind label %83

57:                                               ; preds = %54
  store ptr %56, ptr %13, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %185, %57
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = icmp ne ptr %59, %60
  br i1 %61, label %87, label %62

62:                                               ; preds = %58
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %192

63:                                               ; preds = %47
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %6, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %7, align 4
  br label %340

67:                                               ; preds = %48
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  br label %339

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

75:                                               ; preds = %50
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  br label %225

79:                                               ; preds = %51
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %6, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %7, align 4
  br label %191

83:                                               ; preds = %54
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %6, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %7, align 4
  br label %190

87:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %88, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %89 = load ptr, ptr %14, align 8, !tbaa !5
  %90 = invoke noundef ptr @_ZNK11__sanitizer12LoadedModule9full_nameEv(ptr noundef nonnull align 8 dereferenceable(40) %89)
          to label %91 unwind label %114

91:                                               ; preds = %87
  %92 = invoke noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef %90)
          to label %93 unwind label %114

93:                                               ; preds = %91
  store ptr %92, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %94 = load ptr, ptr %14, align 8, !tbaa !5
  %95 = invoke noundef i64 @_ZNK11__sanitizer12LoadedModule12base_addressEv(ptr noundef nonnull align 8 dereferenceable(40) %94)
          to label %96 unwind label %118

96:                                               ; preds = %93
  store i64 %95, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  %98 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11__sanitizer12LoadedModule6rangesEv(ptr noundef nonnull align 8 dereferenceable(40) %97)
          to label %99 unwind label %122

99:                                               ; preds = %96
  store ptr %98, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %100)
          to label %102 unwind label %126

102:                                              ; preds = %99
  %103 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", ptr %18, i32 0, i32 0
  store ptr %101, ptr %103, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %104 = load ptr, ptr %17, align 8, !tbaa !5
  %105 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %104)
          to label %106 unwind label %130

106:                                              ; preds = %102
  %107 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", ptr %19, i32 0, i32 0
  store ptr %105, ptr %107, align 8
  br label %108

108:                                              ; preds = %179, %106
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %19, i64 8, i1 false), !tbaa.struct !17
  %109 = getelementptr inbounds %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", ptr %20, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  %111 = invoke noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr %110)
          to label %112 unwind label %130

112:                                              ; preds = %108
  br i1 %111, label %134, label %113

113:                                              ; preds = %112
  store i32 4, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %184

114:                                              ; preds = %91, %87
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %6, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %7, align 4
  br label %189

118:                                              ; preds = %93
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %6, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %7, align 4
  br label %188

122:                                              ; preds = %96
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %6, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %7, align 4
  br label %183

126:                                              ; preds = %99
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %6, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %7, align 4
  br label %182

130:                                              ; preds = %177, %108, %102
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %6, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %7, align 4
  br label %181

134:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %135 = invoke noundef nonnull align 8 dereferenceable(25) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %136 unwind label %167

136:                                              ; preds = %134
  store ptr %135, ptr %21, align 8, !tbaa !5
  %137 = load ptr, ptr %21, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.__sanitizer::LoadedModule::AddressRange", ptr %137, i32 0, i32 3
  %139 = load i8, ptr %138, align 8, !tbaa !18, !range !15, !noundef !16
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %176

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.__sanitizer::LoadedModule::AddressRange", ptr %142, i32 0, i32 1
  %144 = load i64, ptr %143, align 8, !tbaa !20
  store i64 %144, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %145 = load ptr, ptr %21, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.__sanitizer::LoadedModule::AddressRange", ptr %145, i32 0, i32 2
  %147 = load i64, ptr %146, align 8, !tbaa !21
  store i64 %147, ptr %23, align 8, !tbaa !9
  %148 = load i64, ptr %22, align 8, !tbaa !9
  %149 = load i64, ptr %23, align 8, !tbaa !9
  %150 = load i64, ptr %16, align 8, !tbaa !9
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef @.str.1, i64 noundef %148, i64 noundef %149, i64 noundef %150, ptr noundef %151)
          to label %152 unwind label %171

152:                                              ; preds = %141
  %153 = load i64, ptr %4, align 8, !tbaa !9
  %154 = icmp ne i64 %153, 0
  br i1 %154, label %155, label %175

155:                                              ; preds = %152
  %156 = load i64, ptr %4, align 8, !tbaa !9
  %157 = load i64, ptr %22, align 8, !tbaa !9
  %158 = icmp uge i64 %156, %157
  br i1 %158, label %159, label %175

159:                                              ; preds = %155
  %160 = load i64, ptr %4, align 8, !tbaa !9
  %161 = load i64, ptr %23, align 8, !tbaa !9
  %162 = icmp ult i64 %160, %161
  br i1 %162, label %163, label %175

163:                                              ; preds = %159
  %164 = load i64, ptr %22, align 8, !tbaa !9
  %165 = load i64, ptr %23, align 8, !tbaa !9
  invoke void @_ZN11__sanitizer13CachedMapping14SetModuleRangeEmm(ptr noundef nonnull align 8 dereferenceable(20) @_ZN11__sanitizerL14cached_mappingE, i64 noundef %164, i64 noundef %165)
          to label %166 unwind label %171

166:                                              ; preds = %163
  br label %175

167:                                              ; preds = %134
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %6, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %7, align 4
  br label %180

171:                                              ; preds = %163, %141
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %6, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %180

175:                                              ; preds = %166, %159, %155, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %176

176:                                              ; preds = %175, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %177

177:                                              ; preds = %176
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EppEv(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %179 unwind label %130

179:                                              ; preds = %177
  br label %108

180:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %181

181:                                              ; preds = %180, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %182

182:                                              ; preds = %181, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %183

183:                                              ; preds = %182, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %188

184:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %185

185:                                              ; preds = %184
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.__sanitizer::LoadedModule", ptr %186, i32 1
  store ptr %187, ptr %12, align 8, !tbaa !5
  br label %58

188:                                              ; preds = %183, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %189

189:                                              ; preds = %188, %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %190

190:                                              ; preds = %189, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %191

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

192:                                              ; preds = %62
  call void @_ZN11__sanitizer13ListOfModulesD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #8
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = invoke noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %193)
          to label %195 unwind label %227

195:                                              ; preds = %192
  %196 = add i64 64, %194
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %196)
          to label %197 unwind label %227

197:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %198 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %199 unwind label %231

199:                                              ; preds = %197
  %200 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %201 unwind label %231

201:                                              ; preds = %199
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = invoke noundef i64 @_ZN11__sanitizer15internal_getpidEv()
          to label %204 unwind label %231

204:                                              ; preds = %201
  %205 = invoke noundef i32 (ptr, i64, ptr, ...) @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef %198, i64 noundef %200, ptr noundef @.str.2, ptr noundef %202, i64 noundef %203)
          to label %206 unwind label %231

206:                                              ; preds = %204
  %207 = sext i32 %205 to i64
  store i64 %207, ptr %26, align 8, !tbaa !9
  br label %208

208:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %209 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %209, ptr %27, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %210 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %211 unwind label %235

211:                                              ; preds = %208
  store i64 %210, ptr %28, align 8, !tbaa !22
  %212 = load i64, ptr %27, align 8, !tbaa !22
  %213 = load i64, ptr %28, align 8, !tbaa !22
  %214 = icmp ule i64 %212, %213
  %215 = xor i1 %214, true
  %216 = xor i1 %215, true
  %217 = xor i1 %216, true
  %218 = zext i1 %217 to i64
  %219 = call i64 @llvm.expect.i64(i64 %218, i64 0)
  %220 = icmp ne i64 %219, 0
  br i1 %220, label %221, label %239

221:                                              ; preds = %211
  %222 = load i64, ptr %27, align 8, !tbaa !22
  %223 = load i64, ptr %28, align 8, !tbaa !22
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.3, i32 noundef 98, ptr noundef @.str.4, i64 noundef %222, i64 noundef %223) #9
          to label %224 unwind label %235

224:                                              ; preds = %221
  unreachable

225:                                              ; preds = %191, %75
  call void @_ZN11__sanitizer13ListOfModulesD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %226

226:                                              ; preds = %225, %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  br label %339

227:                                              ; preds = %195, %192
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %6, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %7, align 4
  br label %338

231:                                              ; preds = %204, %201, %199, %197
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %6, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %7, align 4
  br label %337

235:                                              ; preds = %221, %208
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %6, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %337

239:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %242 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %243 unwind label %254

243:                                              ; preds = %241
  %244 = invoke noundef i32 @_ZN11__sanitizer8OpenFileEPKcNS_14FileAccessModeEPi(ptr noundef %242, i32 noundef 1, ptr noundef %24)
          to label %245 unwind label %254

245:                                              ; preds = %243
  store i32 %244, ptr %29, align 4, !tbaa !24
  %246 = load i32, ptr %29, align 4, !tbaa !24
  %247 = icmp eq i32 %246, -1
  br i1 %247, label %248, label %258

248:                                              ; preds = %245
  %249 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %250 unwind label %254

250:                                              ; preds = %248
  %251 = load i32, ptr %24, align 4, !tbaa !24
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.5, ptr noundef %249, i32 noundef %251)
          to label %252 unwind label %254

252:                                              ; preds = %250
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %253 unwind label %254

253:                                              ; preds = %252
  unreachable

254:                                              ; preds = %270, %268, %266, %263, %261, %258, %252, %250, %248, %243, %241
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %6, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %7, align 4
  br label %336

258:                                              ; preds = %245
  %259 = load i32, ptr %29, align 4, !tbaa !24
  %260 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %261 unwind label %254

261:                                              ; preds = %258
  %262 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %263 unwind label %254

263:                                              ; preds = %261
  %264 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %259, ptr noundef %260, i64 noundef %262, ptr noundef null, ptr noundef %24)
          to label %265 unwind label %254

265:                                              ; preds = %263
  br i1 %264, label %270, label %266

266:                                              ; preds = %265
  %267 = load i32, ptr %24, align 4, !tbaa !24
  invoke void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef @.str.6, i32 noundef %267)
          to label %268 unwind label %254

268:                                              ; preds = %266
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %269 unwind label %254

269:                                              ; preds = %268
  unreachable

270:                                              ; preds = %265
  %271 = load i32, ptr %29, align 4, !tbaa !24
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %271)
          to label %272 unwind label %254

272:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #8
  %273 = load ptr, ptr %3, align 8, !tbaa !5
  %274 = invoke noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %273)
          to label %275 unwind label %305

275:                                              ; preds = %272
  %276 = add i64 64, %274
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %276)
          to label %277 unwind label %305

277:                                              ; preds = %275
  %278 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %279 unwind label %309

279:                                              ; preds = %277
  %280 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %281 unwind label %309

281:                                              ; preds = %279
  %282 = load ptr, ptr %3, align 8, !tbaa !5
  %283 = invoke noundef i64 @_ZN11__sanitizer15internal_getpidEv()
          to label %284 unwind label %309

284:                                              ; preds = %281
  %285 = invoke noundef i32 (ptr, i64, ptr, ...) @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef %278, i64 noundef %280, ptr noundef @.str.7, ptr noundef %282, i64 noundef %283)
          to label %286 unwind label %309

286:                                              ; preds = %284
  %287 = sext i32 %285 to i64
  store i64 %287, ptr %26, align 8, !tbaa !9
  br label %288

288:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %289 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %289, ptr %31, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %290 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %291 unwind label %313

291:                                              ; preds = %288
  store i64 %290, ptr %32, align 8, !tbaa !22
  %292 = load i64, ptr %31, align 8, !tbaa !22
  %293 = load i64, ptr %32, align 8, !tbaa !22
  %294 = icmp ule i64 %292, %293
  %295 = xor i1 %294, true
  %296 = xor i1 %295, true
  %297 = xor i1 %296, true
  %298 = zext i1 %297 to i64
  %299 = call i64 @llvm.expect.i64(i64 %298, i64 0)
  %300 = icmp ne i64 %299, 0
  br i1 %300, label %301, label %317

301:                                              ; preds = %291
  %302 = load i64, ptr %31, align 8, !tbaa !22
  %303 = load i64, ptr %32, align 8, !tbaa !22
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef @.str.3, i32 noundef 115, ptr noundef @.str.8, i64 noundef %302, i64 noundef %303) #9
          to label %304 unwind label %313

304:                                              ; preds = %301
  unreachable

305:                                              ; preds = %275, %272
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %6, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %7, align 4
  br label %335

309:                                              ; preds = %328, %326, %323, %321, %319, %284, %281, %279, %277
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %6, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %7, align 4
  br label %334

313:                                              ; preds = %301, %288
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %6, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %334

317:                                              ; preds = %291
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %318

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  %320 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %321 unwind label %309

321:                                              ; preds = %319
  %322 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %323 unwind label %309

323:                                              ; preds = %321
  %324 = invoke noundef zeroext i1 @_ZN11__sanitizer10RenameFileEPKcS1_Pi(ptr noundef %320, ptr noundef %322, ptr noundef %24)
          to label %325 unwind label %309

325:                                              ; preds = %323
  br i1 %324, label %330, label %326

326:                                              ; preds = %325
  %327 = load i32, ptr %24, align 4, !tbaa !24
  invoke void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef @.str.9, i32 noundef %327)
          to label %328 unwind label %309

328:                                              ; preds = %326
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %329 unwind label %309

329:                                              ; preds = %328
  unreachable

330:                                              ; preds = %325
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  store i32 0, ptr %8, align 4
  br label %331

331:                                              ; preds = %330, %42
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  %332 = load i32, ptr %8, align 4
  switch i32 %332, label %347 [
    i32 0, label %333
    i32 1, label %333
  ]

333:                                              ; preds = %331, %331, %37
  ret void

334:                                              ; preds = %313, %309
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  br label %335

335:                                              ; preds = %334, %305
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  br label %336

336:                                              ; preds = %335, %254
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %337

337:                                              ; preds = %336, %235, %231
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  br label %338

338:                                              ; preds = %337, %227
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %339

339:                                              ; preds = %338, %226, %67
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br label %340

340:                                              ; preds = %339, %63
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  br label %341

341:                                              ; preds = %340, %43
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  br label %342

342:                                              ; preds = %341
  %343 = load ptr, ptr %6, align 8
  %344 = load i32, ptr %7, align 4
  %345 = insertvalue { ptr, i32 } poison, ptr %343, 0
  %346 = insertvalue { ptr, i32 } %345, i32 %344, 1
  resume { ptr, i32 } %346

347:                                              ; preds = %331
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11__sanitizer13CachedMapping11NeedsUpdateEm(ptr noundef nonnull align 8 dereferenceable(20), i64 noundef) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #0 align 2

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

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

declare void @_ZN11__sanitizer13ListOfModules4initEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

declare noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef) #3

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer13CachedMapping14SetModuleRangeEmm(ptr noundef nonnull align 8 dereferenceable(20), i64 noundef, i64 noundef) #4 align 2

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

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

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

declare noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef) #3

declare noundef i32 @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #3

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

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

declare noundef i64 @_ZN11__sanitizer15internal_getpidEv() #3

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

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

declare noundef i32 @_ZN11__sanitizer8OpenFileEPKcNS_14FileAccessModeEPi(ptr noundef, i32 noundef, ptr noundef) #3

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

; Function Attrs: noreturn
declare void @_ZN11__sanitizer3DieEv() #7

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)) #4 align 2

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

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) #3

declare noundef zeroext i1 @_ZN11__sanitizer10RenameFileEPKcS1_Pi(ptr noundef, ptr noundef, ptr noundef) #3

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 128}
!12 = !{!"_ZTSN11__sanitizer11CommonFlagsE", !13, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !13, i64 33, !13, i64 34, !13, i64 35, !14, i64 36, !6, i64 40, !13, i64 48, !13, i64 49, !14, i64 52, !13, i64 56, !13, i64 57, !13, i64 58, !13, i64 59, !13, i64 60, !13, i64 61, !13, i64 62, !13, i64 63, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !10, i64 72, !6, i64 80, !13, i64 88, !13, i64 89, !13, i64 90, !10, i64 96, !10, i64 104, !10, i64 112, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !6, i64 136, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !14, i64 152, !6, i64 160, !13, i64 168, !13, i64 169, !13, i64 170, !13, i64 171, !13, i64 172, !13, i64 173, !13, i64 174, !13, i64 175, !13, i64 176, !13, i64 177, !13, i64 178, !13, i64 179, !13, i64 180, !13, i64 181, !14, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !13, i64 191, !6, i64 192}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{i64 0, i64 8, !5}
!18 = !{!19, !13, i64 24}
!19 = !{!"_ZTSN11__sanitizer12LoadedModule12AddressRangeE", !6, i64 0, !10, i64 8, !10, i64 16, !13, i64 24}
!20 = !{!19, !10, i64 8}
!21 = !{!19, !10, i64 16}
!22 = !{!23, !23, i64 0}
!23 = !{!"long long", !7, i64 0}
!24 = !{!14, !14, i64 0}


; 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::StaticSpinMutex" = type { %"struct.__sanitizer::atomic_uint8_t" }
%"struct.__sanitizer::atomic_uint8_t" = type { i8 }
%"struct.__sanitizer::CachedMapping" = type <{ i64, i64, i32, [4 x i8] }>
%"class.__sanitizer::GenericScopedLock" = type { ptr }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::ListOfModules" = type { %"class.__sanitizer::InternalMmapVector" }
%"class.__sanitizer::InternalMmapVector" = type { %"class.__sanitizer::InternalMmapVectorNoCtor" }
%"class.__sanitizer::InternalMmapVectorNoCtor" = type { ptr, i64, i64 }
%"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase" = type { ptr }

@_ZN11__sanitizerL10mapping_muE = external hidden global %"class.__sanitizer::StaticSpinMutex", align 1
@_ZN11__sanitizerL14cached_mappingE = external hidden global %"struct.__sanitizer::CachedMapping", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer16CovUpdateMappingEPKcm(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %4 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %5 = alloca %"class.__sanitizer::ListOfModules", align 8
  %6 = alloca %"class.__sanitizer::IntrusiveList<__sanitizer::LoadedModule::AddressRange>::IteratorBase", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %9 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %10 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %11 = getelementptr inbounds i8, ptr %10, i64 128
  %12 = load i8, ptr %11, align 8, !tbaa !5, !range !13, !noundef !14
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %14, label %167

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @_ZN11__sanitizerL10mapping_muE)
  %15 = invoke noundef zeroext i1 @_ZN11__sanitizer13CachedMapping11NeedsUpdateEm(ptr noundef nonnull align 8 dereferenceable(20) @_ZN11__sanitizerL14cached_mappingE, i64 noundef %1)
          to label %16 unwind label %17

16:                                               ; preds = %14
  br i1 %15, label %19, label %166

17:                                               ; preds = %14
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %174

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 65536)
          to label %20 unwind label %57

20:                                               ; preds = %19
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull @.str, i64 noundef 64)
          to label %21 unwind label %59

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  invoke void @_ZN11__sanitizer13ListOfModulesC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %22 unwind label %61

22:                                               ; preds = %21
  invoke void @_ZN11__sanitizer13ListOfModules4initEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %23 unwind label %63

23:                                               ; preds = %22
  %24 = invoke noundef ptr @_ZN11__sanitizer13ListOfModules5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %25 unwind label %65

25:                                               ; preds = %23
  %26 = invoke noundef ptr @_ZN11__sanitizer13ListOfModules3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %.preheader89 unwind label %67

.preheader89:                                     ; preds = %25
  %.not90 = icmp eq ptr %24, %26
  br i1 %.not90, label %._crit_edge93, label %.lr.ph92

.lr.ph92:                                         ; preds = %.preheader89
  %.not85.not = icmp eq i64 %1, 0
  br i1 %.not85.not, label %.lr.ph92.split, label %.lr.ph92.split.us

.lr.ph92.split.us:                                ; preds = %.lr.ph92, %._crit_edge.split.us94
  %.06091.us = phi ptr [ %35, %._crit_edge.split.us94 ], [ %24, %.lr.ph92 ]
  %27 = call noundef ptr @_ZNK11__sanitizer12LoadedModule9full_nameEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091.us)
  %28 = invoke noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef %27)
          to label %29 unwind label %.split97.us

29:                                               ; preds = %.lr.ph92.split.us
  %30 = call noundef i64 @_ZNK11__sanitizer12LoadedModule12base_addressEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091.us)
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11__sanitizer12LoadedModule6rangesEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091.us)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %32 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %33 unwind label %.split100.us

33:                                               ; preds = %29
  store ptr %32, ptr %6, align 8
  %34 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %.preheader.us unwind label %.split103.us

._crit_edge.split.us94:                           ; preds = %48, %.preheader.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %35 = getelementptr inbounds i8, ptr %.06091.us, i64 40
  %.not.us = icmp eq ptr %35, %26
  br i1 %.not.us, label %._crit_edge93, label %.lr.ph92.split.us

.lr.ph.us:                                        ; preds = %.preheader.us, %48
  %36 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %37 = getelementptr inbounds i8, ptr %36, i64 24
  %38 = load i8, ptr %37, align 8, !tbaa !15, !range !13, !noundef !14
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %40, label %48

40:                                               ; preds = %.lr.ph.us
  %41 = getelementptr inbounds i8, ptr %36, i64 8
  %42 = load i64, ptr %41, align 8, !tbaa !17
  %43 = getelementptr inbounds i8, ptr %36, i64 16
  %44 = load i64, ptr %43, align 8, !tbaa !18
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull @.str.1, i64 noundef %42, i64 noundef %44, i64 noundef %30, ptr noundef %28)
          to label %45 unwind label %.split.split.us

45:                                               ; preds = %40
  %.not86.us = icmp ule i64 %42, %1
  %46 = icmp ugt i64 %44, %1
  %or.cond87.us = and i1 %.not86.us, %46
  br i1 %or.cond87.us, label %47, label %48

47:                                               ; preds = %45
  call void @_ZN11__sanitizer13CachedMapping14SetModuleRangeEmm(ptr noundef nonnull align 8 dereferenceable(20) @_ZN11__sanitizerL14cached_mappingE, i64 noundef %42, i64 noundef %44)
  br label %48

48:                                               ; preds = %47, %45, %.lr.ph.us
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EppEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %50 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %34)
  br i1 %50, label %.lr.ph.us, label %._crit_edge.split.us94

.preheader.us:                                    ; preds = %33
  %51 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %34)
  br i1 %51, label %.lr.ph.us, label %._crit_edge.split.us94

.split97.us:                                      ; preds = %.lr.ph92.split.us
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %109

.split100.us:                                     ; preds = %29
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %95

.split103.us:                                     ; preds = %33
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %95

.split.split.us:                                  ; preds = %40
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %95

._crit_edge93:                                    ; preds = %._crit_edge.split.us94, %._crit_edge.split.us, %.preheader89
  call void @_ZN11__sanitizer13ListOfModulesD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  %56 = invoke noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %0)
          to label %96 unwind label %111

57:                                               ; preds = %19
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %173

59:                                               ; preds = %20
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %172

61:                                               ; preds = %21
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %110

63:                                               ; preds = %22
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %109

65:                                               ; preds = %23
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %109

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

.lr.ph92.split:                                   ; preds = %.lr.ph92, %._crit_edge.split.us
  %.06091 = phi ptr [ %91, %._crit_edge.split.us ], [ %24, %.lr.ph92 ]
  %69 = call noundef ptr @_ZNK11__sanitizer12LoadedModule9full_nameEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091)
  %70 = invoke noundef ptr @_ZN11__sanitizer15StripModuleNameEPKc(ptr noundef %69)
          to label %71 unwind label %.split97

71:                                               ; preds = %.lr.ph92.split
  %72 = call noundef i64 @_ZNK11__sanitizer12LoadedModule12base_addressEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091)
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK11__sanitizer12LoadedModule6rangesEv(ptr noundef nonnull align 8 dereferenceable(40) %.06091)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %74 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %75 unwind label %.split100

75:                                               ; preds = %71
  store ptr %74, ptr %6, align 8
  %76 = invoke ptr @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %.preheader unwind label %.split103

.preheader:                                       ; preds = %75
  %77 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %76)
  br i1 %77, label %.lr.ph, label %._crit_edge.split.us

.lr.ph:                                           ; preds = %.preheader, %87
  %78 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %79 = getelementptr inbounds i8, ptr %78, i64 24
  %80 = load i8, ptr %79, align 8, !tbaa !15, !range !13, !noundef !14
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %82, label %87

82:                                               ; preds = %.lr.ph
  %83 = getelementptr inbounds i8, ptr %78, i64 8
  %84 = load i64, ptr %83, align 8, !tbaa !17
  %85 = getelementptr inbounds i8, ptr %78, i64 16
  %86 = load i64, ptr %85, align 8, !tbaa !18
  invoke void (ptr, ptr, ...) @_ZN11__sanitizer20InternalScopedString6appendEPKcz(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull @.str.1, i64 noundef %84, i64 noundef %86, i64 noundef %72, ptr noundef %70)
          to label %87 unwind label %.split.us

87:                                               ; preds = %82, %.lr.ph
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EppEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %89 = call noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr %76)
  br i1 %89, label %.lr.ph, label %._crit_edge.split.us

.split.us:                                        ; preds = %82
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %95

._crit_edge.split.us:                             ; preds = %87, %.preheader
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %91 = getelementptr inbounds i8, ptr %.06091, i64 40
  %.not = icmp eq ptr %91, %26
  br i1 %.not, label %._crit_edge93, label %.lr.ph92.split

.split97:                                         ; preds = %.lr.ph92.split
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %109

.split100:                                        ; preds = %71
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %95

.split103:                                        ; preds = %75
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %95

95:                                               ; preds = %.split.split.us, %.split.us, %.split103, %.split103.us, %.split100, %.split100.us
  %.pn74.pn = phi { ptr, i32 } [ %93, %.split100 ], [ %53, %.split100.us ], [ %94, %.split103 ], [ %54, %.split103.us ], [ %55, %.split.split.us ], [ %90, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %109

96:                                               ; preds = %._crit_edge93
  %97 = add i64 %56, 64
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %97)
          to label %98 unwind label %111

98:                                               ; preds = %96
  %99 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %100 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %101 = invoke noundef i64 @_ZN11__sanitizer15internal_getpidEv()
          to label %102 unwind label %113

102:                                              ; preds = %98
  %103 = invoke noundef i32 (ptr, i64, ptr, ...) @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef %99, i64 noundef %100, ptr noundef nonnull @.str.2, ptr noundef %0, i64 noundef %101)
          to label %104 unwind label %113

104:                                              ; preds = %102
  %105 = sext i32 %103 to i64
  %106 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %.not65 = icmp ult i64 %106, %105
  br i1 %.not65, label %107, label %117, !prof !19

107:                                              ; preds = %104
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.3, i32 noundef 98, ptr noundef nonnull @.str.4, i64 noundef %105, i64 noundef %106) #7
          to label %108 unwind label %115

108:                                              ; preds = %107
  unreachable

109:                                              ; preds = %.split97, %.split97.us, %65, %95, %67, %63
  %.pn74.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %64, %63 ], [ %66, %65 ], [ %68, %67 ], [ %.pn74.pn, %95 ], [ %92, %.split97 ], [ %52, %.split97.us ]
  call void @_ZN11__sanitizer13ListOfModulesD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %110

110:                                              ; preds = %109, %61
  %.pn74.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn74.pn.pn.pn.pn.pn, %109 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %172

111:                                              ; preds = %96, %._crit_edge93
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %171

113:                                              ; preds = %102, %98
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %170

115:                                              ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %170

117:                                              ; preds = %104
  %118 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %119 = invoke noundef i32 @_ZN11__sanitizer8OpenFileEPKcNS_14FileAccessModeEPi(ptr noundef %118, i32 noundef 1, ptr noundef nonnull %7)
          to label %120 unwind label %125

120:                                              ; preds = %117
  %121 = icmp eq i32 %119, -1
  br i1 %121, label %122, label %127

122:                                              ; preds = %120
  %123 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %124 = load i32, ptr %7, align 4, !tbaa !20
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.5, ptr noundef %123, i32 noundef %124)
          to label %.invoke unwind label %125

125:                                              ; preds = %.invoke, %134, %132, %127, %122, %117
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %170

127:                                              ; preds = %120
  %128 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %129 = call noundef i64 @_ZN11__sanitizer20InternalScopedString6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %130 = invoke noundef zeroext i1 @_ZN11__sanitizer11WriteToFileEiPKvmPmPi(i32 noundef %119, ptr noundef %128, i64 noundef %129, ptr noundef null, ptr noundef nonnull %7)
          to label %131 unwind label %125

131:                                              ; preds = %127
  br i1 %130, label %134, label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %7, align 4, !tbaa !20
  invoke void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef nonnull @.str.6, i32 noundef %133)
          to label %.invoke unwind label %125

.invoke:                                          ; preds = %122, %132
  invoke void @_ZN11__sanitizer3DieEv() #7
          to label %.cont unwind label %125

.cont:                                            ; preds = %.invoke
  unreachable

134:                                              ; preds = %131
  invoke void @_ZN11__sanitizer9CloseFileEi(i32 noundef %119)
          to label %135 unwind label %125

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %136 = invoke noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef %0)
          to label %137 unwind label %150

137:                                              ; preds = %135
  %138 = add i64 %136, 64
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %138)
          to label %139 unwind label %150

139:                                              ; preds = %137
  %140 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %141 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %142 = invoke noundef i64 @_ZN11__sanitizer15internal_getpidEv()
          to label %143 unwind label %152

143:                                              ; preds = %139
  %144 = invoke noundef i32 (ptr, i64, ptr, ...) @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef %140, i64 noundef %141, ptr noundef nonnull @.str.7, ptr noundef %0, i64 noundef %142)
          to label %145 unwind label %152

145:                                              ; preds = %143
  %146 = sext i32 %144 to i64
  %147 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %.not66 = icmp ult i64 %147, %146
  br i1 %.not66, label %148, label %156, !prof !19

148:                                              ; preds = %145
  invoke void @_ZN11__sanitizer11CheckFailedEPKciS1_yy(ptr noundef nonnull @.str.3, i32 noundef 115, ptr noundef nonnull @.str.8, i64 noundef %146, i64 noundef %147) #7
          to label %149 unwind label %154

149:                                              ; preds = %148
  unreachable

150:                                              ; preds = %137, %135
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %169

152:                                              ; preds = %163, %161, %156, %143, %139
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %168

154:                                              ; preds = %148
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %168

156:                                              ; preds = %145
  %157 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %158 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %159 = invoke noundef zeroext i1 @_ZN11__sanitizer10RenameFileEPKcS1_Pi(ptr noundef %157, ptr noundef %158, ptr noundef nonnull %7)
          to label %160 unwind label %152

160:                                              ; preds = %156
  br i1 %159, label %165, label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %7, align 4, !tbaa !20
  invoke void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef nonnull @.str.9, i32 noundef %162)
          to label %163 unwind label %152

163:                                              ; preds = %161
  invoke void @_ZN11__sanitizer3DieEv() #7
          to label %164 unwind label %152

164:                                              ; preds = %163
  unreachable

165:                                              ; preds = %160
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %166

166:                                              ; preds = %16, %165
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %167

167:                                              ; preds = %2, %166
  ret void

168:                                              ; preds = %154, %152
  %.pn = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %169

169:                                              ; preds = %168, %150
  %.pn.pn = phi { ptr, i32 } [ %.pn, %168 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %170

170:                                              ; preds = %125, %169, %115, %113
  %.pn71 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ], [ %126, %125 ], [ %.pn.pn, %169 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %171

171:                                              ; preds = %170, %111
  %.pn71.pn = phi { ptr, i32 } [ %.pn71, %170 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %172

172:                                              ; preds = %171, %110, %59
  %.pn74.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn74.pn.pn.pn.pn.pn.pn, %110 ], [ %.pn71.pn, %171 ], [ %60, %59 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %173

173:                                              ; preds = %172, %57
  %.pn74.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn74.pn.pn.pn.pn.pn.pn.pn, %172 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %174

174:                                              ; preds = %173, %17
  %.pn74.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn74.pn.pn.pn.pn.pn.pn.pn.pn, %173 ], [ %18, %17 ]
  call void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn74.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer17GenericScopedLockINS_15StaticSpinMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN11__sanitizer13CachedMapping11NeedsUpdateEm(ptr noundef nonnull align 8 dereferenceable(20), i64 noundef) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) unnamed_addr #0 align 2

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

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

declare void @_ZN11__sanitizer13ListOfModules4initEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11__sanitizer13IntrusiveListINS_12LoadedModule12AddressRangeEE12IteratorBaseIKS2_EneES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer13CachedMapping14SetModuleRangeEmm(ptr noundef nonnull align 8 dereferenceable(20), i64 noundef, i64 noundef) local_unnamed_addr #4 align 2

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

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

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

declare noundef i64 @_ZN11__sanitizer15internal_strlenEPKc(ptr noundef) local_unnamed_addr #3

declare noundef i32 @_ZN11__sanitizer17internal_snprintfEPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #3

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

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

declare noundef i64 @_ZN11__sanitizer15internal_getpidEv() 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

declare noundef i32 @_ZN11__sanitizer8OpenFileEPKcNS_14FileAccessModeEPi(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: noreturn
declare void @_ZN11__sanitizer3DieEv() local_unnamed_addr #5

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 #4 align 2

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

declare void @_ZN11__sanitizer9CloseFileEi(i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN11__sanitizer10RenameFileEPKcS1_Pi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 128}
!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 = !{!16, !7, i64 24}
!16 = !{!"_ZTSN11__sanitizer12LoadedModule12AddressRangeE", !10, i64 0, !12, i64 8, !12, i64 16, !7, i64 24}
!17 = !{!16, !12, i64 8}
!18 = !{!16, !12, i64 16}
!19 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!20 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass