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

; 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::GenericScopedLock" = type { ptr }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::MemoryMappingLayout" = type { %"struct.__sanitizer::ProcSelfMapsBuff", ptr }
%"struct.__sanitizer::ProcSelfMapsBuff" = type { ptr, i64, i64 }
%"class.__sanitizer::LibIgnore" = type { %"struct.__sanitizer::atomic_uintptr_t", [128 x %"struct.__sanitizer::LibIgnore::LibCodeRange"], %"class.__sanitizer::BlockingMutex", i64, [128 x %"struct.__sanitizer::LibIgnore::Lib"] }
%"struct.__sanitizer::atomic_uintptr_t" = type { i64 }
%"struct.__sanitizer::LibIgnore::LibCodeRange" = type { i64, i64 }
%"class.__sanitizer::BlockingMutex" = type { [10 x i64], i64 }
%"struct.__sanitizer::LibIgnore::Lib" = type { ptr, ptr, ptr, i8 }

@_ZN11__sanitizer17SanitizerToolNameE = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [88 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__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer9LibIgnore15OnLibraryLoadedEPKc(ptr noundef nonnull align 8 dereferenceable(6248) %0, ptr noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %6 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__sanitizer::MemoryMappingLayout", align 8
  %12 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %22 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 2
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %22)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #8
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 4096)
          to label %23 unwind label %48

23:                                               ; preds = %2
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %92

26:                                               ; preds = %23
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %29 unwind label %52

29:                                               ; preds = %26
  %30 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %31 unwind label %52

31:                                               ; preds = %29
  %32 = sub i64 %30, 1
  %33 = invoke noundef i64 @_ZN11__sanitizer17internal_readlinkEPKcPcm(ptr noundef %27, ptr noundef %28, i64 noundef %32)
          to label %34 unwind label %52

34:                                               ; preds = %31
  %35 = icmp ugt i64 %33, 0
  br i1 %35, label %36, label %92

36:                                               ; preds = %34
  %37 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef 0)
          to label %38 unwind label %52

38:                                               ; preds = %36
  %39 = load i8, ptr %37, align 1, !tbaa !9
  %40 = icmp ne i8 %39, 0
  br i1 %40, label %41, label %92

41:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store i64 0, ptr %9, align 8, !tbaa !10
  br label %42

42:                                               ; preds = %88, %41
  %43 = load i64, ptr %9, align 8, !tbaa !10
  %44 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 3
  %45 = load i64, ptr %44, align 8, !tbaa !12
  %46 = icmp ult i64 %43, %45
  br i1 %46, label %56, label %47

47:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %91

48:                                               ; preds = %2
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  br label %251

52:                                               ; preds = %36, %31, %29, %26
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  br label %250

56:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %57 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 4
  %58 = load i64, ptr %9, align 8, !tbaa !10
  %59 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::Lib"], ptr %57, i64 0, i64 %58
  store ptr %59, ptr %10, align 8, !tbaa !5
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %60, i32 0, i32 3
  %62 = load i8, ptr %61, align 8, !tbaa !16, !range !19, !noundef !20
  %63 = trunc i8 %62 to i1
  br i1 %63, label %87, label %64

64:                                               ; preds = %56
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %65, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8, !tbaa !21
  %68 = icmp ne ptr %67, null
  br i1 %68, label %87, label %69

69:                                               ; preds = %64
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !22
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = invoke noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef %72, ptr noundef %73)
          to label %75 unwind label %83

75:                                               ; preds = %69
  br i1 %74, label %76, label %87

76:                                               ; preds = %75
  %77 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %78 unwind label %83

78:                                               ; preds = %76
  %79 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %77)
          to label %80 unwind label %83

80:                                               ; preds = %78
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %81, i32 0, i32 2
  store ptr %79, ptr %82, align 8, !tbaa !21
  br label %87

83:                                               ; preds = %78, %76, %69
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %250

87:                                               ; preds = %80, %75, %64, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %88

88:                                               ; preds = %87
  %89 = load i64, ptr %9, align 8, !tbaa !10
  %90 = add i64 %89, 1
  store i64 %90, ptr %9, align 8, !tbaa !10
  br label %42, !llvm.loop !23

91:                                               ; preds = %47
  br label %92

92:                                               ; preds = %91, %38, %34, %23
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  invoke void @_ZN11__sanitizer19MemoryMappingLayoutC1Eb(ptr noundef nonnull align 8 dereferenceable(32) %11, i1 noundef zeroext false)
          to label %93 unwind label %101

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 4096)
          to label %94 unwind label %105

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !10
  br label %95

95:                                               ; preds = %242, %94
  %96 = load i64, ptr %13, align 8, !tbaa !10
  %97 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 3
  %98 = load i64, ptr %97, align 8, !tbaa !12
  %99 = icmp ult i64 %96, %98
  br i1 %99, label %109, label %100

100:                                              ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %247

101:                                              ; preds = %92
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  br label %249

105:                                              ; preds = %93
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  br label %248

109:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %110 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 4
  %111 = load i64, ptr %13, align 8, !tbaa !10
  %112 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::Lib"], ptr %110, i64 0, i64 %111
  store ptr %112, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !25
  invoke void @_ZN11__sanitizer19MemoryMappingLayout5ResetEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %113 unwind label %126

113:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  br label %114

114:                                              ; preds = %222, %176, %125, %113
  %115 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %116 unwind label %130

116:                                              ; preds = %114
  %117 = invoke noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %118 unwind label %130

118:                                              ; preds = %116
  %119 = invoke noundef zeroext i1 @_ZN11__sanitizer19MemoryMappingLayout4NextEPmS1_S1_PcmS1_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %115, i64 noundef %117, ptr noundef %19)
          to label %120 unwind label %130

120:                                              ; preds = %118
  br i1 %119, label %121, label %223

121:                                              ; preds = %120
  %122 = load i64, ptr %19, align 8, !tbaa !10
  %123 = and i64 %122, 4
  %124 = icmp eq i64 %123, 0
  br i1 %124, label %125, label %134

125:                                              ; preds = %121
  br label %114, !llvm.loop !26

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

130:                                              ; preds = %239, %231, %196, %192, %188, %183, %178, %169, %168, %159, %152, %147, %139, %134, %118, %116, %114
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %7, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %8, align 4
  br label %245

134:                                              ; preds = %121
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %135, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8, !tbaa !22
  %138 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %139 unwind label %130

139:                                              ; preds = %134
  %140 = invoke noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef %137, ptr noundef %138)
          to label %141 unwind label %130

141:                                              ; preds = %139
  br i1 %140, label %156, label %142

142:                                              ; preds = %141
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %143, i32 0, i32 2
  %145 = load ptr, ptr %144, align 8, !tbaa !21
  %146 = icmp ne ptr %145, null
  br i1 %146, label %147, label %222

147:                                              ; preds = %142
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %148, i32 0, i32 2
  %150 = load ptr, ptr %149, align 8, !tbaa !21
  %151 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %152 unwind label %130

152:                                              ; preds = %147
  %153 = invoke noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef %150, ptr noundef %151)
          to label %154 unwind label %130

154:                                              ; preds = %152
  %155 = icmp eq i32 %153, 0
  br i1 %155, label %156, label %222

156:                                              ; preds = %154, %141
  %157 = load i8, ptr %15, align 1, !tbaa !25, !range !19, !noundef !20
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %171

159:                                              ; preds = %156
  %160 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %161 = load ptr, ptr %14, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !22
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %164, i32 0, i32 1
  %166 = load ptr, ptr %165, align 8, !tbaa !27
  %167 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %168 unwind label %130

168:                                              ; preds = %159
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.1, ptr noundef %160, ptr noundef %163, ptr noundef %166, ptr noundef %167)
          to label %169 unwind label %130

169:                                              ; preds = %168
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %170 unwind label %130

170:                                              ; preds = %169
  unreachable

171:                                              ; preds = %156
  store i8 1, ptr %15, align 1, !tbaa !25
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %172, i32 0, i32 3
  %174 = load i8, ptr %173, align 8, !tbaa !16, !range !19, !noundef !20
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %177

176:                                              ; preds = %171
  br label %114, !llvm.loop !26

177:                                              ; preds = %171
  br label %178

178:                                              ; preds = %177
  %179 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %180 unwind label %130

180:                                              ; preds = %178
  %181 = sext i32 %179 to i64
  %182 = icmp uge i64 %181, 1
  br i1 %182, label %183, label %190

183:                                              ; preds = %180
  %184 = load ptr, ptr %14, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %184, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !22
  %187 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %188 unwind label %130

188:                                              ; preds = %183
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.2, ptr noundef %186, ptr noundef %187)
          to label %189 unwind label %130

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189, %180
  br label %191

191:                                              ; preds = %190
  br label %192

192:                                              ; preds = %191
  %193 = load ptr, ptr %14, align 8, !tbaa !5
  %194 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %193, i32 0, i32 3
  store i8 1, ptr %194, align 8, !tbaa !16
  %195 = invoke noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %196 unwind label %130

196:                                              ; preds = %192
  %197 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %195)
          to label %198 unwind label %130

198:                                              ; preds = %196
  %199 = load ptr, ptr %14, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %199, i32 0, i32 1
  store ptr %197, ptr %200, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %201 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 0
  %202 = invoke noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef %201, i32 noundef 1)
          to label %203 unwind label %218

203:                                              ; preds = %198
  store i64 %202, ptr %20, align 8, !tbaa !10
  %204 = load i64, ptr %16, align 8, !tbaa !10
  %205 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 1
  %206 = load i64, ptr %20, align 8, !tbaa !10
  %207 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::LibCodeRange"], ptr %205, i64 0, i64 %206
  %208 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::LibCodeRange", ptr %207, i32 0, i32 0
  store i64 %204, ptr %208, align 8, !tbaa !28
  %209 = load i64, ptr %17, align 8, !tbaa !10
  %210 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 1
  %211 = load i64, ptr %20, align 8, !tbaa !10
  %212 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::LibCodeRange"], ptr %210, i64 0, i64 %211
  %213 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::LibCodeRange", ptr %212, i32 0, i32 1
  store i64 %209, ptr %213, align 8, !tbaa !30
  %214 = getelementptr inbounds %"class.__sanitizer::LibIgnore", ptr %21, i32 0, i32 0
  %215 = load i64, ptr %20, align 8, !tbaa !10
  %216 = add i64 %215, 1
  invoke void @_ZN11__sanitizer12atomic_storeINS_16atomic_uintptr_tEEEvPVT_NS2_4TypeENS_12memory_orderE(ptr noundef %214, i64 noundef %216, i32 noundef 8)
          to label %217 unwind label %218

217:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %222

218:                                              ; preds = %203, %198
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %7, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %245

222:                                              ; preds = %217, %154, %142
  br label %114, !llvm.loop !26

223:                                              ; preds = %120
  %224 = load ptr, ptr %14, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %224, i32 0, i32 3
  %226 = load i8, ptr %225, align 8, !tbaa !16, !range !19, !noundef !20
  %227 = trunc i8 %226 to i1
  br i1 %227, label %228, label %241

228:                                              ; preds = %223
  %229 = load i8, ptr %15, align 1, !tbaa !25, !range !19, !noundef !20
  %230 = trunc i8 %229 to i1
  br i1 %230, label %241, label %231

231:                                              ; preds = %228
  %232 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %233 = load ptr, ptr %14, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %233, i32 0, i32 1
  %235 = load ptr, ptr %234, align 8, !tbaa !27
  %236 = load ptr, ptr %14, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.__sanitizer::LibIgnore::Lib", ptr %236, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !22
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.3, ptr noundef %232, ptr noundef %235, ptr noundef %238)
          to label %239 unwind label %130

239:                                              ; preds = %231
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %240 unwind label %130

240:                                              ; preds = %239
  unreachable

241:                                              ; preds = %228, %223
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %242

242:                                              ; preds = %241
  %243 = load i64, ptr %13, align 8, !tbaa !10
  %244 = add i64 %243, 1
  store i64 %244, ptr %13, align 8, !tbaa !10
  br label %95, !llvm.loop !31

245:                                              ; preds = %218, %130
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %246

246:                                              ; preds = %245, %126
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %248

247:                                              ; preds = %100
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  ret void

248:                                              ; preds = %246, %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %249

249:                                              ; preds = %248, %101
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %250

250:                                              ; preds = %249, %83, %52
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %251

251:                                              ; preds = %250, %48
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #8
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  br label %252

252:                                              ; preds = %251
  %253 = load ptr, ptr %7, align 8
  %254 = load i32, ptr %8, align 4
  %255 = insertvalue { ptr, i32 } poison, ptr %253, 0
  %256 = insertvalue { ptr, i32 } %255, i32 %254, 1
  resume { ptr, i32 } %256
}

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

declare noundef i64 @_ZN11__sanitizer17internal_readlinkEPKcPcm(ptr noundef, ptr noundef, i64 noundef) #2

; 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

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

declare noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef, ptr noundef) #2

declare void @_ZN11__sanitizer19MemoryMappingLayoutC1Eb(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #2

declare void @_ZN11__sanitizer19MemoryMappingLayout5ResetEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef zeroext i1 @_ZN11__sanitizer19MemoryMappingLayout4NextEPmS1_S1_PcmS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2

declare noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef, i32 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer12atomic_storeINS_16atomic_uintptr_tEEEvPVT_NS2_4TypeENS_12memory_orderE(ptr noundef, i64 noundef, i32 noundef) #6

; 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: nounwind
declare void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7

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 = { "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 = { 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 #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 = { 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 #6 = { 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 #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !11, i64 2144}
!13 = !{!"_ZTSN11__sanitizer9LibIgnoreE", !14, i64 0, !7, i64 8, !15, i64 2056, !11, i64 2144, !7, i64 2152}
!14 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !11, i64 0}
!15 = !{!"_ZTSN11__sanitizer13BlockingMutexE", !7, i64 0, !11, i64 80}
!16 = !{!17, !18, i64 24}
!17 = !{!"_ZTSN11__sanitizer9LibIgnore3LibE", !6, i64 0, !6, i64 8, !6, i64 16, !18, i64 24}
!18 = !{!"bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!17, !6, i64 16}
!22 = !{!17, !6, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!18, !18, i64 0}
!26 = distinct !{!26, !24}
!27 = !{!17, !6, i64 8}
!28 = !{!29, !11, i64 0}
!29 = !{!"_ZTSN11__sanitizer9LibIgnore12LibCodeRangeE", !11, i64 0, !11, i64 8}
!30 = !{!29, !11, i64 8}
!31 = distinct !{!31, !24}


; 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::GenericScopedLock" = type { ptr }
%"class.__sanitizer::InternalScopedString" = type { %"class.__sanitizer::InternalScopedBuffer", i64 }
%"class.__sanitizer::InternalScopedBuffer" = type { ptr, i64 }
%"class.__sanitizer::MemoryMappingLayout" = type { %"struct.__sanitizer::ProcSelfMapsBuff", ptr }
%"struct.__sanitizer::ProcSelfMapsBuff" = type { ptr, i64, i64 }
%"struct.__sanitizer::LibIgnore::Lib" = type { ptr, ptr, ptr, i8 }
%"struct.__sanitizer::LibIgnore::LibCodeRange" = type { i64, i64 }

@_ZN11__sanitizer17SanitizerToolNameE = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [88 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__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

declare noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer9LibIgnore15OnLibraryLoadedEPKc(ptr noundef nonnull align 8 dereferenceable(6248) %0, ptr noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.__sanitizer::GenericScopedLock", align 8
  %4 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %5 = alloca %"class.__sanitizer::MemoryMappingLayout", align 8
  %6 = alloca %"class.__sanitizer::InternalScopedString", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %11 = getelementptr inbounds i8, ptr %0, i64 2056
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 4096)
          to label %12 unwind label %25

12:                                               ; preds = %2
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.loopexit58, label %13

13:                                               ; preds = %12
  %14 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %15 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %16 = add i64 %15, -1
  %17 = invoke noundef i64 @_ZN11__sanitizer17internal_readlinkEPKcPcm(ptr noundef nonnull %1, ptr noundef %14, i64 noundef %16)
          to label %18 unwind label %27

18:                                               ; preds = %13
  %.not43 = icmp eq i64 %17, 0
  br i1 %.not43, label %.loopexit58, label %19

19:                                               ; preds = %18
  %20 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN11__sanitizer20InternalScopedBufferIcEixEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %.not44 = icmp eq i8 %21, 0
  br i1 %.not44, label %.loopexit58, label %.preheader57

.preheader57:                                     ; preds = %19
  %22 = getelementptr inbounds i8, ptr %0, i64 2144
  %23 = load i64, ptr %22, align 8, !tbaa !8
  %.not69 = icmp eq i64 %23, 0
  br i1 %.not69, label %.loopexit58, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader57
  %24 = getelementptr inbounds i8, ptr %0, i64 2152
  br label %29

25:                                               ; preds = %2
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %147

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

29:                                               ; preds = %.lr.ph, %47
  %.04066 = phi i64 [ 0, %.lr.ph ], [ %48, %47 ]
  %30 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::Lib"], ptr %24, i64 0, i64 %.04066
  %31 = getelementptr inbounds i8, ptr %30, i64 24
  %32 = load i8, ptr %31, align 8, !tbaa !13, !range !17, !noundef !18
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %47, label %34

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %30, i64 16
  %36 = load ptr, ptr %35, align 8, !tbaa !19
  %.not50 = icmp eq ptr %36, null
  br i1 %.not50, label %37, label %47

37:                                               ; preds = %34
  %38 = load ptr, ptr %30, align 8, !tbaa !20
  %39 = invoke noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef %38, ptr noundef nonnull %1)
          to label %40 unwind label %45

40:                                               ; preds = %37
  br i1 %39, label %41, label %47

41:                                               ; preds = %40
  %42 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %43 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %42)
          to label %44 unwind label %45

44:                                               ; preds = %41
  store ptr %43, ptr %35, align 8, !tbaa !19
  br label %47

45:                                               ; preds = %41, %37
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %146

47:                                               ; preds = %44, %40, %34, %29
  %48 = add nuw i64 %.04066, 1
  %49 = load i64, ptr %22, align 8, !tbaa !8
  %50 = icmp ult i64 %48, %49
  br i1 %50, label %29, label %.loopexit58, !llvm.loop !21

.loopexit58:                                      ; preds = %47, %.preheader57, %19, %18, %12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  invoke void @_ZN11__sanitizer19MemoryMappingLayoutC1Eb(ptr noundef nonnull align 8 dereferenceable(32) %5, i1 noundef zeroext false)
          to label %51 unwind label %56

51:                                               ; preds = %.loopexit58
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  invoke void @_ZN11__sanitizer20InternalScopedStringC2Em(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 4096)
          to label %.preheader unwind label %58

.preheader:                                       ; preds = %51
  %52 = getelementptr inbounds i8, ptr %0, i64 2144
  %53 = load i64, ptr %52, align 8, !tbaa !8
  %.not70 = icmp eq i64 %53, 0
  br i1 %.not70, label %._crit_edge, label %.lr.ph68

.lr.ph68:                                         ; preds = %.preheader
  %54 = getelementptr inbounds i8, ptr %0, i64 2152
  %55 = getelementptr inbounds i8, ptr %0, i64 8
  br label %60

._crit_edge:                                      ; preds = %139, %.preheader
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  ret void

56:                                               ; preds = %.loopexit58
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %145

58:                                               ; preds = %51
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %144

60:                                               ; preds = %.lr.ph68, %139
  %.03967 = phi i64 [ 0, %.lr.ph68 ], [ %140, %139 ]
  %61 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::Lib"], ptr %54, i64 0, i64 %.03967
  invoke void @_ZN11__sanitizer19MemoryMappingLayout5ResetEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %.outer.outer unwind label %74

.outer.outer:                                     ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = getelementptr inbounds i8, ptr %61, i64 24
  %64 = getelementptr inbounds i8, ptr %61, i64 8
  br label %.outer

.outer:                                           ; preds = %.outer.backedge, %.outer.outer
  br label %65

65:                                               ; preds = %.outer, %70
  %66 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %67 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %68 = invoke noundef zeroext i1 @_ZN11__sanitizer19MemoryMappingLayout4NextEPmS1_S1_PcmS1_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %66, i64 noundef %67, ptr noundef nonnull %10)
          to label %69 unwind label %.loopexit.loopexit.loopexit

69:                                               ; preds = %65
  br i1 %68, label %70, label %.loopexit144

70:                                               ; preds = %69
  %71 = load i64, ptr %10, align 8, !tbaa !23
  %72 = and i64 %71, 4
  %73 = icmp eq i64 %72, 0
  br i1 %73, label %65, label %76, !llvm.loop !24

74:                                               ; preds = %60
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %143

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

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

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

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

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

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

.loopexit:                                        ; preds = %.loopexit.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.loopexit.split-lp.loopexit.loopexit.split-lp, %.loopexit.loopexit.split-lp.loopexit.loopexit, %.loopexit.loopexit.loopexit, %.loopexit.loopexit.loopexit.split-lp, %.loopexit.split-lp
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit141, %.loopexit.loopexit.loopexit ], [ %lpad.loopexit.split-lp142, %.loopexit.loopexit.loopexit.split-lp ], [ %lpad.loopexit, %.loopexit.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit147, %.loopexit.loopexit.split-lp.loopexit.loopexit ], [ %lpad.loopexit.split-lp148, %.loopexit.loopexit.split-lp.loopexit.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br label %143

76:                                               ; preds = %70
  %77 = load ptr, ptr %61, align 8, !tbaa !20
  %78 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %79 = invoke noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef %77, ptr noundef %78)
          to label %80 unwind label %.loopexit.loopexit.split-lp.loopexit.loopexit

80:                                               ; preds = %76
  br i1 %79, label %88, label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %62, align 8, !tbaa !19
  %.not45 = icmp eq ptr %82, null
  br i1 %.not45, label %.outer.backedge, label %83

.outer.backedge:                                  ; preds = %81, %86
  br label %.outer, !llvm.loop !24

83:                                               ; preds = %81
  %84 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %85 = invoke noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef nonnull %82, ptr noundef %84)
          to label %86 unwind label %.loopexit.loopexit.split-lp.loopexit.loopexit

86:                                               ; preds = %83
  %87 = icmp eq i32 %85, 0
  br i1 %87, label %88, label %.outer.backedge

.invoke:                                          ; preds = %135, %112
  invoke void @_ZN11__sanitizer3DieEv() #9
          to label %.cont unwind label %.loopexit.split-lp

.cont:                                            ; preds = %.invoke
  unreachable

88:                                               ; preds = %80, %86
  %89 = load i8, ptr %63, align 8, !tbaa !13, !range !17, !noundef !18
  %90 = trunc nuw i8 %89 to i1
  br i1 %90, label %.outer.outer.backedge, label %117

.outer.outer.backedge:                            ; preds = %88, %126
  br label %.outer.1

.outer.1:                                         ; preds = %.outer.backedge.1, %.outer.outer.backedge
  br label %91

91:                                               ; preds = %96, %.outer.1
  %92 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %93 = call noundef i64 @_ZN11__sanitizer20InternalScopedBufferIcE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %94 = invoke noundef zeroext i1 @_ZN11__sanitizer19MemoryMappingLayout4NextEPmS1_S1_PcmS1_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %92, i64 noundef %93, ptr noundef nonnull %10)
          to label %95 unwind label %.loopexit.loopexit.loopexit.split-lp

95:                                               ; preds = %91
  br i1 %94, label %96, label %.loopexit144

96:                                               ; preds = %95
  %97 = load i64, ptr %10, align 8, !tbaa !23
  %98 = and i64 %97, 4
  %99 = icmp eq i64 %98, 0
  br i1 %99, label %91, label %100, !llvm.loop !24

100:                                              ; preds = %96
  %101 = load ptr, ptr %61, align 8, !tbaa !20
  %102 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %103 = invoke noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef %101, ptr noundef %102)
          to label %104 unwind label %.loopexit.loopexit.split-lp.loopexit.loopexit.split-lp

104:                                              ; preds = %100
  br i1 %103, label %112, label %105

105:                                              ; preds = %104
  %106 = load ptr, ptr %62, align 8, !tbaa !19
  %.not45.1 = icmp eq ptr %106, null
  br i1 %.not45.1, label %.outer.backedge.1, label %107

107:                                              ; preds = %105
  %108 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %109 = invoke noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef nonnull %106, ptr noundef %108)
          to label %110 unwind label %.loopexit.loopexit.split-lp.loopexit.loopexit.split-lp

110:                                              ; preds = %107
  %111 = icmp eq i32 %109, 0
  br i1 %111, label %112, label %.outer.backedge.1

.outer.backedge.1:                                ; preds = %110, %105
  br label %.outer.1, !llvm.loop !24

112:                                              ; preds = %110, %104
  %113 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !25
  %114 = load ptr, ptr %61, align 8, !tbaa !20
  %115 = load ptr, ptr %64, align 8, !tbaa !26
  %116 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.1, ptr noundef %113, ptr noundef %114, ptr noundef %115, ptr noundef %116)
          to label %.invoke unwind label %.loopexit.split-lp

117:                                              ; preds = %88
  %118 = invoke noundef i32 @_ZN11__sanitizer9VerbosityEv()
          to label %119 unwind label %.loopexit.loopexit.split-lp.loopexit.split-lp.loopexit

119:                                              ; preds = %117
  %.not46 = icmp eq i32 %118, 0
  br i1 %.not46, label %123, label %120

120:                                              ; preds = %119
  %121 = load ptr, ptr %61, align 8, !tbaa !20
  %122 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.2, ptr noundef %121, ptr noundef %122)
          to label %123 unwind label %.loopexit.loopexit.split-lp.loopexit.split-lp.loopexit

123:                                              ; preds = %120, %119
  store i8 1, ptr %63, align 8, !tbaa !13
  %124 = call noundef ptr @_ZN11__sanitizer20InternalScopedBufferIcE4dataEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %125 = invoke noundef ptr @_ZN11__sanitizer15internal_strdupEPKc(ptr noundef %124)
          to label %126 unwind label %.loopexit.loopexit.split-lp.loopexit.split-lp.loopexit

126:                                              ; preds = %123
  store ptr %125, ptr %64, align 8, !tbaa !26
  %127 = call noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef nonnull %0, i32 noundef 1)
  %128 = load i64, ptr %7, align 8, !tbaa !23
  %129 = getelementptr inbounds [128 x %"struct.__sanitizer::LibIgnore::LibCodeRange"], ptr %55, i64 0, i64 %127
  store i64 %128, ptr %129, align 8, !tbaa !27
  %130 = load i64, ptr %8, align 8, !tbaa !23
  %131 = getelementptr inbounds i8, ptr %129, i64 8
  store i64 %130, ptr %131, align 8, !tbaa !29
  %132 = add i64 %127, 1
  call void @_ZN11__sanitizer12atomic_storeINS_16atomic_uintptr_tEEEvPVT_NS2_4TypeENS_12memory_orderE(ptr noundef nonnull %0, i64 noundef %132, i32 noundef 8)
  br label %.outer.outer.backedge

.loopexit144:                                     ; preds = %95, %69
  %133 = load i8, ptr %63, align 8, !tbaa !13, !range !17, !noundef !18
  %134 = trunc nuw i8 %133 to i1
  %.not171 = xor i1 %134, true
  %brmerge = or i1 %.not171, %68
  br i1 %brmerge, label %139, label %135

135:                                              ; preds = %.loopexit144
  %136 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !25
  %137 = load ptr, ptr %64, align 8, !tbaa !26
  %138 = load ptr, ptr %61, align 8, !tbaa !20
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.3, ptr noundef %136, ptr noundef %137, ptr noundef %138)
          to label %.invoke unwind label %.loopexit.split-lp

139:                                              ; preds = %.loopexit144
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %140 = add nuw i64 %.03967, 1
  %141 = load i64, ptr %52, align 8, !tbaa !8
  %142 = icmp ult i64 %140, %141
  br i1 %142, label %60, label %._crit_edge, !llvm.loop !30

143:                                              ; preds = %.loopexit, %74
  %.pn = phi { ptr, i32 } [ %lpad.phi, %.loopexit ], [ %75, %74 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %144

144:                                              ; preds = %143, %58
  %.pn.pn = phi { ptr, i32 } [ %.pn, %143 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %145

145:                                              ; preds = %144, %56
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %144 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %146

146:                                              ; preds = %145, %45, %27
  %.pn51 = phi { ptr, i32 } [ %46, %45 ], [ %.pn.pn.pn, %145 ], [ %28, %27 ]
  call void @_ZN11__sanitizer20InternalScopedBufferIcED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %147

147:                                              ; preds = %146, %25
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %146 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN11__sanitizer17GenericScopedLockINS_13BlockingMutexEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn51.pn
}

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

declare noundef i64 @_ZN11__sanitizer17internal_readlinkEPKcPcm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; 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

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

declare noundef zeroext i1 @_ZN11__sanitizer13TemplateMatchEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11__sanitizer19MemoryMappingLayoutC1Eb(ptr noundef nonnull align 8 dereferenceable(32), i1 noundef zeroext) unnamed_addr #2

declare void @_ZN11__sanitizer19MemoryMappingLayout5ResetEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11__sanitizer19MemoryMappingLayout4NextEPmS1_S1_PcmS1_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare noundef i32 @_ZN11__sanitizer15internal_strcmpEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11__sanitizer11atomic_loadINS_16atomic_uintptr_tEEENT_4TypeEPVKS2_NS_12memory_orderE(ptr noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11__sanitizer12atomic_storeINS_16atomic_uintptr_tEEEvPVT_NS2_4TypeENS_12memory_orderE(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #6

; 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: nounwind
declare void @_ZN11__sanitizer19MemoryMappingLayoutD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7

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 = { "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 = { 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 #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 = { 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 #6 = { 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 #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 2144}
!9 = !{!"_ZTSN11__sanitizer9LibIgnoreE", !10, i64 0, !6, i64 8, !12, i64 2056, !11, i64 2144, !6, i64 2152}
!10 = !{!"_ZTSN11__sanitizer16atomic_uintptr_tE", !11, i64 0}
!11 = !{!"long", !6, i64 0}
!12 = !{!"_ZTSN11__sanitizer13BlockingMutexE", !6, i64 0, !11, i64 80}
!13 = !{!14, !16, i64 24}
!14 = !{!"_ZTSN11__sanitizer9LibIgnore3LibE", !15, i64 0, !15, i64 8, !15, i64 16, !16, i64 24}
!15 = !{!"any pointer", !6, i64 0}
!16 = !{!"bool", !6, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!14, !15, i64 16}
!20 = !{!14, !15, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!11, !11, i64 0}
!24 = distinct !{!24, !22}
!25 = !{!15, !15, i64 0}
!26 = !{!14, !15, i64 8}
!27 = !{!28, !11, i64 0}
!28 = !{!"_ZTSN11__sanitizer9LibIgnore12LibCodeRangeE", !11, i64 0, !11, i64 8}
!29 = !{!28, !11, i64 8}
!30 = distinct !{!30, !22}


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