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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.__sanitizer::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::StackDepotStats" = type { i64, i64 }

@_ZN11__sanitizerL28SoftRssLimitExceededCallbackE = external hidden global ptr, align 8
@_ZN11__sanitizerL14ReleseCallbackE = external hidden global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZN11__sanitizer17SanitizerToolNameE = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11__sanitizer16BackgroundThreadEPv(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %13 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %14 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %13, i32 0, i32 31
  %15 = load i64, ptr %14, align 8, !tbaa !9
  store i64 %15, ptr %3, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %16 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %17 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %16, i32 0, i32 32
  %18 = load i64, ptr %17, align 8, !tbaa !15
  store i64 %18, ptr %4, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %19 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %20 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %19, i32 0, i32 33
  %21 = load i8, ptr %20, align 8, !tbaa !16, !range !17, !noundef !18
  %22 = trunc i8 %21 to i1
  %23 = zext i1 %22 to i8
  store i8 %23, ptr %5, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %24 = call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %25 = getelementptr inbounds %"struct.__sanitizer::CommonFlags", ptr %24, i32 0, i32 34
  %26 = load i8, ptr %25, align 1, !tbaa !20, !range !17, !noundef !18
  %27 = trunc i8 %26 to i1
  %28 = zext i1 %27 to i8
  store i8 %28, ptr %6, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store i64 0, ptr %7, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  store i8 0, ptr %9, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !14
  br label %29

29:                                               ; preds = %133, %1
  br label %30

30:                                               ; preds = %29
  call void @_ZN11__sanitizer14SleepForMillisEi(i32 noundef 100)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %31 = call noundef i64 @_ZN11__sanitizer6GetRSSEv()
  %32 = lshr i64 %31, 20
  store i64 %32, ptr %11, align 8, !tbaa !14
  %33 = call noundef i32 @_ZN11__sanitizer9VerbosityEv()
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %67

35:                                               ; preds = %30
  %36 = load i64, ptr %7, align 8, !tbaa !14
  %37 = mul i64 %36, 11
  %38 = udiv i64 %37, 10
  %39 = load i64, ptr %11, align 8, !tbaa !14
  %40 = icmp ult i64 %38, %39
  br i1 %40, label %41, label %45

41:                                               ; preds = %35
  %42 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %43 = load i64, ptr %11, align 8, !tbaa !14
  call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef @.str.5, ptr noundef %42, i64 noundef %43)
  %44 = load i64, ptr %11, align 8, !tbaa !14
  store i64 %44, ptr %7, align 8, !tbaa !14
  br label %45

45:                                               ; preds = %41, %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %46 = call noundef ptr @_ZN11__sanitizer18StackDepotGetStatsEv()
  store ptr %46, ptr %12, align 8, !tbaa !5
  %47 = load i64, ptr %8, align 8, !tbaa !14
  %48 = mul i64 %47, 11
  %49 = udiv i64 %48, 10
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.__sanitizer::StackDepotStats", ptr %50, i32 0, i32 1
  %52 = load i64, ptr %51, align 8, !tbaa !21
  %53 = icmp ult i64 %49, %52
  br i1 %53, label %54, label %66

54:                                               ; preds = %45
  %55 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.__sanitizer::StackDepotStats", ptr %56, i32 0, i32 0
  %58 = load i64, ptr %57, align 8, !tbaa !23
  %59 = load ptr, ptr %12, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.__sanitizer::StackDepotStats", ptr %59, i32 0, i32 1
  %61 = load i64, ptr %60, align 8, !tbaa !21
  %62 = lshr i64 %61, 20
  call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef @.str.6, ptr noundef %55, i64 noundef %58, i64 noundef %62)
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.__sanitizer::StackDepotStats", ptr %63, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !21
  store i64 %65, ptr %8, align 8, !tbaa !14
  br label %66

66:                                               ; preds = %54, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %67

67:                                               ; preds = %66, %30
  %68 = load i64, ptr %3, align 8, !tbaa !14
  %69 = icmp ne i64 %68, 0
  br i1 %69, label %70, label %78

70:                                               ; preds = %67
  %71 = load i64, ptr %3, align 8, !tbaa !14
  %72 = load i64, ptr %11, align 8, !tbaa !14
  %73 = icmp ult i64 %71, %72
  br i1 %73, label %74, label %78

74:                                               ; preds = %70
  %75 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %76 = load i64, ptr %3, align 8, !tbaa !14
  %77 = load i64, ptr %11, align 8, !tbaa !14
  call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.7, ptr noundef %75, i64 noundef %76, i64 noundef %77)
  call void @_ZN11__sanitizer14DumpProcessMapEv()
  call void @_ZN11__sanitizer3DieEv() #7
  unreachable

78:                                               ; preds = %70, %67
  %79 = load i64, ptr %4, align 8, !tbaa !14
  %80 = icmp ne i64 %79, 0
  br i1 %80, label %81, label %112

81:                                               ; preds = %78
  %82 = load i64, ptr %4, align 8, !tbaa !14
  %83 = load i64, ptr %11, align 8, !tbaa !14
  %84 = icmp ult i64 %82, %83
  br i1 %84, label %85, label %97

85:                                               ; preds = %81
  %86 = load i8, ptr %9, align 1, !tbaa !19, !range !17, !noundef !18
  %87 = trunc i8 %86 to i1
  br i1 %87, label %97, label %88

88:                                               ; preds = %85
  store i8 1, ptr %9, align 1, !tbaa !19
  %89 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !5
  %90 = load i64, ptr %4, align 8, !tbaa !14
  %91 = load i64, ptr %11, align 8, !tbaa !14
  call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.8, ptr noundef %89, i64 noundef %90, i64 noundef %91)
  %92 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !5
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %96

94:                                               ; preds = %88
  %95 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !5
  call void %95(i1 noundef zeroext true)
  br label %96

96:                                               ; preds = %94, %88
  br label %111

97:                                               ; preds = %85, %81
  %98 = load i64, ptr %4, align 8, !tbaa !14
  %99 = load i64, ptr %11, align 8, !tbaa !14
  %100 = icmp uge i64 %98, %99
  br i1 %100, label %101, label %110

101:                                              ; preds = %97
  %102 = load i8, ptr %9, align 1, !tbaa !19, !range !17, !noundef !18
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %110

104:                                              ; preds = %101
  store i8 0, ptr %9, align 1, !tbaa !19
  %105 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  br i1 %106, label %107, label %109

107:                                              ; preds = %104
  %108 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !5
  call void %108(i1 noundef zeroext false)
  br label %109

109:                                              ; preds = %107, %104
  br label %110

110:                                              ; preds = %109, %101, %97
  br label %111

111:                                              ; preds = %110, %96
  br label %112

112:                                              ; preds = %111, %78
  %113 = load i8, ptr %6, align 1, !tbaa !19, !range !17, !noundef !18
  %114 = trunc i8 %113 to i1
  br i1 %114, label %115, label %120

115:                                              ; preds = %112
  %116 = load ptr, ptr @_ZN11__sanitizerL14ReleseCallbackE, align 8, !tbaa !5
  %117 = icmp ne ptr %116, null
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = load ptr, ptr @_ZN11__sanitizerL14ReleseCallbackE, align 8, !tbaa !5
  call void %119()
  br label %120

120:                                              ; preds = %118, %115, %112
  %121 = load i8, ptr %5, align 1, !tbaa !19, !range !17, !noundef !18
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %133

123:                                              ; preds = %120
  %124 = load i64, ptr %11, align 8, !tbaa !14
  %125 = uitofp i64 %124 to double
  %126 = load i64, ptr %10, align 8, !tbaa !14
  %127 = uitofp i64 %126 to double
  %128 = fmul double %127, 1.100000e+00
  %129 = fcmp ogt double %125, %128
  br i1 %129, label %130, label %133

130:                                              ; preds = %123
  %131 = load i64, ptr %11, align 8, !tbaa !14
  call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef @.str.9, i64 noundef %131)
  call void @__sanitizer_print_memory_profile(i32 noundef 90)
  %132 = load i64, ptr %11, align 8, !tbaa !14
  store i64 %132, ptr %10, align 8, !tbaa !14
  br label %133

133:                                              ; preds = %130, %123, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %29, !llvm.loop !24
}

declare void @_ZN11__sanitizer14SleepForMillisEi(i32 noundef) #3

declare noundef i64 @_ZN11__sanitizer6GetRSSEv() #3

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

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

declare noundef ptr @_ZN11__sanitizer18StackDepotGetStatsEv() #3

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

declare void @_ZN11__sanitizer14DumpProcessMapEv() #3

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

declare extern_weak void @__sanitizer_print_memory_profile(i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 104}
!10 = !{!"_ZTSN11__sanitizer11CommonFlagsE", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !11, i64 33, !11, i64 34, !11, i64 35, !12, i64 36, !6, i64 40, !11, i64 48, !11, i64 49, !12, i64 52, !11, i64 56, !11, i64 57, !11, i64 58, !11, i64 59, !11, i64 60, !11, i64 61, !11, i64 62, !11, i64 63, !11, i64 64, !11, i64 65, !11, i64 66, !11, i64 67, !13, i64 72, !6, i64 80, !11, i64 88, !11, i64 89, !11, i64 90, !13, i64 96, !13, i64 104, !13, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !6, i64 136, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !12, i64 152, !6, i64 160, !11, i64 168, !11, i64 169, !11, i64 170, !11, i64 171, !11, i64 172, !11, i64 173, !11, i64 174, !11, i64 175, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !12, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !11, i64 191, !6, i64 192}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!10, !13, i64 112}
!16 = !{!10, !11, i64 120}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !11, i64 121}
!21 = !{!22, !13, i64 8}
!22 = !{!"_ZTSN11__sanitizer15StackDepotStatsE", !13, i64 0, !13, i64 8}
!23 = !{!22, !13, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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

@_ZN11__sanitizerL28SoftRssLimitExceededCallbackE = external hidden local_unnamed_addr global ptr, align 8
@_ZN11__sanitizerL14ReleseCallbackE = external hidden local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZN11__sanitizer17SanitizerToolNameE = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1

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

; Function Attrs: mustprogress noreturn uwtable
define dso_local void @_ZN11__sanitizer16BackgroundThreadEPv(ptr nocapture noundef readnone %0) local_unnamed_addr #1 {
  %2 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %3 = getelementptr inbounds i8, ptr %2, i64 104
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %6 = getelementptr inbounds i8, ptr %5, i64 112
  %7 = load i64, ptr %6, align 8, !tbaa !13
  %8 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %9 = getelementptr inbounds i8, ptr %8, i64 120
  %10 = load i8, ptr %9, align 8, !tbaa !14, !range !15, !noundef !16
  %11 = trunc nuw i8 %10 to i1
  %12 = tail call noundef ptr @_ZN11__sanitizer12common_flagsEv()
  %13 = getelementptr inbounds i8, ptr %12, i64 121
  %14 = load i8, ptr %13, align 1, !tbaa !17, !range !15, !noundef !16
  %15 = trunc nuw i8 %14 to i1
  %.not45 = icmp ne i64 %4, 0
  %.not46 = icmp eq i64 %7, 0
  br label %.outer

.outer:                                           ; preds = %62, %1
  %.034.ph = phi i8 [ %.135, %62 ], [ 0, %1 ]
  %.032.ph = phi i64 [ %19, %62 ], [ 0, %1 ]
  %.029.ph = phi i64 [ %.231, %62 ], [ 0, %1 ]
  %.0.ph = phi i64 [ %.2, %62 ], [ 0, %1 ]
  %16 = uitofp nneg i64 %.032.ph to double
  %17 = fmul double %16, 1.100000e+00
  br label %.backedge

.backedge:                                        ; preds = %59, %.outer
  %.034 = phi i8 [ %.034.ph, %.outer ], [ %.135, %59 ]
  %.029 = phi i64 [ %.029.ph, %.outer ], [ %.231, %59 ]
  %.0 = phi i64 [ %.0.ph, %.outer ], [ %.2, %59 ]
  tail call void @_ZN11__sanitizer14SleepForMillisEi(i32 noundef 100)
  %18 = tail call noundef i64 @_ZN11__sanitizer6GetRSSEv()
  %19 = lshr i64 %18, 20
  %20 = tail call noundef i32 @_ZN11__sanitizer9VerbosityEv()
  %.not = icmp eq i32 %20, 0
  br i1 %.not, label %39, label %21

21:                                               ; preds = %.backedge
  %22 = mul nuw nsw i64 %.0, 11
  %23 = udiv i64 %22, 10
  %24 = icmp ult i64 %23, %19
  br i1 %24, label %25, label %27

25:                                               ; preds = %21
  %26 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !18
  tail call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef nonnull @.str.5, ptr noundef %26, i64 noundef %19)
  br label %27

27:                                               ; preds = %25, %21
  %.1 = phi i64 [ %19, %25 ], [ %.0, %21 ]
  %28 = tail call noundef ptr @_ZN11__sanitizer18StackDepotGetStatsEv()
  %29 = mul i64 %.029, 11
  %30 = udiv i64 %29, 10
  %31 = getelementptr inbounds i8, ptr %28, i64 8
  %32 = load i64, ptr %31, align 8, !tbaa !19
  %33 = icmp ult i64 %30, %32
  br i1 %33, label %34, label %39

34:                                               ; preds = %27
  %35 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !18
  %36 = load i64, ptr %28, align 8, !tbaa !21
  %37 = lshr i64 %32, 20
  tail call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef nonnull @.str.6, ptr noundef %35, i64 noundef %36, i64 noundef %37)
  %38 = load i64, ptr %31, align 8, !tbaa !19
  br label %39

39:                                               ; preds = %27, %34, %.backedge
  %.231 = phi i64 [ %.029, %.backedge ], [ %38, %34 ], [ %.029, %27 ]
  %.2 = phi i64 [ %.0, %.backedge ], [ %.1, %34 ], [ %.1, %27 ]
  %40 = icmp ult i64 %4, %19
  %or.cond50 = and i1 %.not45, %40
  br i1 %or.cond50, label %41, label %43

41:                                               ; preds = %39
  %42 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !18
  tail call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.7, ptr noundef %42, i64 noundef %4, i64 noundef %19)
  tail call void @_ZN11__sanitizer14DumpProcessMapEv()
  tail call void @_ZN11__sanitizer3DieEv() #5
  unreachable

43:                                               ; preds = %39
  br i1 %.not46, label %.thread, label %44

44:                                               ; preds = %43
  %45 = icmp ult i64 %7, %19
  %46 = trunc nuw i8 %.034 to i1
  br i1 %45, label %47, label %52

47:                                               ; preds = %44
  br i1 %46, label %.thread, label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr @_ZN11__sanitizer17SanitizerToolNameE, align 8, !tbaa !18
  tail call void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.8, ptr noundef %49, i64 noundef %7, i64 noundef %19)
  %50 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !18
  %.not47 = icmp eq ptr %50, null
  br i1 %.not47, label %.thread, label %51

51:                                               ; preds = %48
  tail call void %50(i1 noundef zeroext true)
  br label %.thread

52:                                               ; preds = %44
  br i1 %46, label %53, label %.thread

53:                                               ; preds = %52
  %54 = load ptr, ptr @_ZN11__sanitizerL28SoftRssLimitExceededCallbackE, align 8, !tbaa !18
  %.not49 = icmp eq ptr %54, null
  br i1 %.not49, label %.thread, label %55

55:                                               ; preds = %53
  tail call void %54(i1 noundef zeroext false)
  br label %.thread

.thread:                                          ; preds = %47, %51, %48, %53, %55, %52, %43
  %.135 = phi i8 [ 0, %55 ], [ 0, %53 ], [ %.034, %52 ], [ 1, %51 ], [ 1, %48 ], [ %.034, %43 ], [ %.034, %47 ]
  %56 = load ptr, ptr @_ZN11__sanitizerL14ReleseCallbackE, align 8
  %57 = icmp ne ptr %56, null
  %or.cond = select i1 %15, i1 %57, i1 false
  br i1 %or.cond, label %58, label %59

58:                                               ; preds = %.thread
  tail call void %56()
  br label %59

59:                                               ; preds = %58, %.thread
  %60 = uitofp nneg i64 %19 to double
  %61 = fcmp olt double %17, %60
  %or.cond58 = select i1 %11, i1 %61, i1 false
  br i1 %or.cond58, label %62, label %.backedge, !llvm.loop !22

62:                                               ; preds = %59
  tail call void (ptr, ...) @_ZN11__sanitizer6PrintfEPKcz(ptr noundef nonnull @.str.9, i64 noundef %19)
  tail call void @__sanitizer_print_memory_profile(i32 noundef 90)
  br label %.outer, !llvm.loop !22
}

declare void @_ZN11__sanitizer14SleepForMillisEi(i32 noundef) local_unnamed_addr #2

declare noundef i64 @_ZN11__sanitizer6GetRSSEv() local_unnamed_addr #2

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

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

declare noundef ptr @_ZN11__sanitizer18StackDepotGetStatsEv() local_unnamed_addr #2

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

declare void @_ZN11__sanitizer14DumpProcessMapEv() local_unnamed_addr #2

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

declare extern_weak void @__sanitizer_print_memory_profile(i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #1 = { mustprogress noreturn 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 = { 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 #4 = { 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 #5 = { 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, !12, i64 104}
!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 = !{!6, !12, i64 112}
!14 = !{!6, !7, i64 120}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!6, !7, i64 121}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !12, i64 8}
!20 = !{!"_ZTSN11__sanitizer15StackDepotStatsE", !12, i64 0, !12, i64 8}
!21 = !{!20, !12, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass