; LLVM IR from AngoraFuzzer/Angora :: llvm_mode/dfsan_rt/sanitizer_common (sanitizer_posix_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::RunOnDestruction" = type { %class.anon }
%class.anon = type { ptr, ptr, ptr }

@.str.16 = external hidden unnamed_addr constant [36 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: nounwind
declare i64 @sysconf(i32 noundef) #1

declare noundef zeroext i1 @_ZN11__sanitizer16internal_iserrorEmPi(i64 noundef, ptr noundef) #2

declare noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11__sanitizer15StartSubprocessEPKcPKS1_iii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.__sanitizer::RunOnDestruction", align 8
  %13 = alloca %class.anon, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  %20 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 0
  store ptr %9, ptr %20, align 8, !tbaa !5
  %21 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 1
  store ptr %10, ptr %21, align 8, !tbaa !5
  %22 = getelementptr inbounds %class.anon, ptr %13, i32 0, i32 2
  store ptr %11, ptr %22, align 8, !tbaa !5
  call void @"_ZN11__sanitizer13at_scope_exitIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0EENS_16RunOnDestructionIT_EES7_"(ptr dead_on_unwind writable sret(%"class.__sanitizer::RunOnDestruction") align 8 %12, ptr noundef byval(%class.anon) align 8 %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %23 = invoke noundef i32 @_ZN11__sanitizer13internal_forkEv()
          to label %24 unwind label %35

24:                                               ; preds = %5
  store i32 %23, ptr %14, align 4, !tbaa !9
  %25 = load i32, ptr %14, align 4, !tbaa !9
  %26 = icmp slt i32 %25, 0
  br i1 %26, label %27, label %45

27:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %28 = load i32, ptr %14, align 4, !tbaa !9
  %29 = sext i32 %28 to i64
  %30 = invoke noundef zeroext i1 @_ZN11__sanitizer16internal_iserrorEmPi(i64 noundef %29, ptr noundef %17)
          to label %31 unwind label %39

31:                                               ; preds = %27
  br i1 %30, label %32, label %43

32:                                               ; preds = %31
  %33 = load i32, ptr %17, align 4, !tbaa !9
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef @.str.16, i32 noundef %33)
          to label %34 unwind label %39

34:                                               ; preds = %32
  br label %43

35:                                               ; preds = %102, %80, %77, %75, %68, %65, %63, %56, %53, %51, %5
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %15, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %16, align 4
  br label %112

39:                                               ; preds = %32, %27
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %15, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %112

43:                                               ; preds = %34, %31
  %44 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %44, ptr %6, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %110

45:                                               ; preds = %24
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %108

48:                                               ; preds = %45
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = icmp ne i32 %49, -1
  br i1 %50, label %51, label %60

51:                                               ; preds = %48
  %52 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 0)
          to label %53 unwind label %35

53:                                               ; preds = %51
  %54 = load i32, ptr %9, align 4, !tbaa !9
  %55 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %54, i32 noundef 0)
          to label %56 unwind label %35

56:                                               ; preds = %53
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %57)
          to label %59 unwind label %35

59:                                               ; preds = %56
  br label %60

60:                                               ; preds = %59, %48
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = icmp ne i32 %61, -1
  br i1 %62, label %63, label %72

63:                                               ; preds = %60
  %64 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 1)
          to label %65 unwind label %35

65:                                               ; preds = %63
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %66, i32 noundef 1)
          to label %68 unwind label %35

68:                                               ; preds = %65
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %69)
          to label %71 unwind label %35

71:                                               ; preds = %68
  br label %72

72:                                               ; preds = %71, %60
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = icmp ne i32 %73, -1
  br i1 %74, label %75, label %84

75:                                               ; preds = %72
  %76 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 2)
          to label %77 unwind label %35

77:                                               ; preds = %75
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %78, i32 noundef 2)
          to label %80 unwind label %35

80:                                               ; preds = %77
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %81)
          to label %83 unwind label %35

83:                                               ; preds = %80
  br label %84

84:                                               ; preds = %83, %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %85 = call i64 @sysconf(i32 noundef 4) #6
  %86 = trunc i64 %85 to i32
  store i32 %86, ptr %19, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %95, %84
  %88 = load i32, ptr %19, align 4, !tbaa !9
  %89 = icmp sgt i32 %88, 2
  br i1 %89, label %91, label %90

90:                                               ; preds = %87
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %102

91:                                               ; preds = %87
  %92 = load i32, ptr %19, align 4, !tbaa !9
  %93 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %92)
          to label %94 unwind label %98

94:                                               ; preds = %91
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = add nsw i32 %96, -1
  store i32 %97, ptr %19, align 4, !tbaa !9
  br label %87, !llvm.loop !11

98:                                               ; preds = %91
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %15, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %112

102:                                              ; preds = %90
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds ptr, ptr %104, i64 0
  %106 = call i32 @execv(ptr noundef %103, ptr noundef %105) #6
  invoke void @_ZN11__sanitizer14internal__exitEi(i32 noundef 1) #7
          to label %107 unwind label %35

107:                                              ; preds = %102
  unreachable

108:                                              ; preds = %45
  %109 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %109, ptr %6, align 4
  store i32 1, ptr %18, align 4
  br label %110

110:                                              ; preds = %108, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  %111 = load i32, ptr %6, align 4
  ret i32 %111

112:                                              ; preds = %98, %39, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  br label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %15, align 8
  %115 = load i32, ptr %16, align 4
  %116 = insertvalue { ptr, i32 } poison, ptr %114, 0
  %117 = insertvalue { ptr, i32 } %116, i32 %115, 1
  resume { ptr, i32 } %117
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN11__sanitizer13at_scope_exitIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0EENS_16RunOnDestructionIT_EES7_"(ptr dead_on_unwind noalias writable sret(%"class.__sanitizer::RunOnDestruction") align 8, ptr noundef byval(%class.anon) align 8) #3

declare noundef i32 @_ZN11__sanitizer13internal_forkEv() #2

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef, i32 noundef) #2

; Function Attrs: nounwind
declare i32 @execv(ptr noundef, ptr noundef) #1

; Function Attrs: noreturn
declare void @_ZN11__sanitizer14internal__exitEi(i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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"

%"class.__sanitizer::RunOnDestruction" = type { %class.anon }
%class.anon = type { ptr, ptr, ptr }

@.str.16 = external hidden unnamed_addr constant [36 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) local_unnamed_addr #1

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

declare noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN11__sanitizer15StartSubprocessEPKcPKS1_iii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.__sanitizer::RunOnDestruction", align 8
  %10 = alloca %class.anon, align 8
  %11 = alloca i32, align 4
  store i32 %2, ptr %6, align 4, !tbaa !5
  store i32 %3, ptr %7, align 4, !tbaa !5
  store i32 %4, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  store ptr %6, ptr %10, align 8, !tbaa !9
  %12 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %7, ptr %12, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %10, i64 16
  store ptr %8, ptr %13, align 8, !tbaa !9
  call void @"_ZN11__sanitizer13at_scope_exitIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0EENS_16RunOnDestructionIT_EES7_"(ptr dead_on_unwind nonnull writable sret(%"class.__sanitizer::RunOnDestruction") align 8 %9, ptr noundef nonnull byval(%class.anon) align 8 %10)
  %14 = invoke noundef i32 @_ZN11__sanitizer13internal_forkEv()
          to label %15 unwind label %23

15:                                               ; preds = %5
  %16 = icmp slt i32 %14, 0
  br i1 %16, label %17, label %28

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %18 = sext i32 %14 to i64
  %19 = invoke noundef zeroext i1 @_ZN11__sanitizer16internal_iserrorEmPi(i64 noundef %18, ptr noundef nonnull %11)
          to label %20 unwind label %25

20:                                               ; preds = %17
  br i1 %19, label %21, label %27

21:                                               ; preds = %20
  %22 = load i32, ptr %11, align 4, !tbaa !5
  invoke void (ptr, ...) @_ZN11__sanitizer6ReportEPKcz(ptr noundef nonnull @.str.16, i32 noundef %22)
          to label %27 unwind label %25

23:                                               ; preds = %._crit_edge, %57, %54, %52, %47, %44, %42, %37, %34, %32, %5
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %73

25:                                               ; preds = %21, %17
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %73

27:                                               ; preds = %21, %20
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %72

28:                                               ; preds = %15
  %29 = icmp eq i32 %14, 0
  br i1 %29, label %30, label %72

30:                                               ; preds = %28
  %31 = load i32, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i32 %31, -1
  br i1 %.not, label %40, label %32

32:                                               ; preds = %30
  %33 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 0)
          to label %34 unwind label %23

34:                                               ; preds = %32
  %35 = load i32, ptr %6, align 4, !tbaa !5
  %36 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %35, i32 noundef 0)
          to label %37 unwind label %23

37:                                               ; preds = %34
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %38)
          to label %40 unwind label %23

40:                                               ; preds = %37, %30
  %41 = load i32, ptr %7, align 4, !tbaa !5
  %.not16 = icmp eq i32 %41, -1
  br i1 %.not16, label %50, label %42

42:                                               ; preds = %40
  %43 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 1)
          to label %44 unwind label %23

44:                                               ; preds = %42
  %45 = load i32, ptr %7, align 4, !tbaa !5
  %46 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %45, i32 noundef 1)
          to label %47 unwind label %23

47:                                               ; preds = %44
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %48)
          to label %50 unwind label %23

50:                                               ; preds = %47, %40
  %51 = load i32, ptr %8, align 4, !tbaa !5
  %.not17 = icmp eq i32 %51, -1
  br i1 %.not17, label %60, label %52

52:                                               ; preds = %50
  %53 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef 2)
          to label %54 unwind label %23

54:                                               ; preds = %52
  %55 = load i32, ptr %8, align 4, !tbaa !5
  %56 = invoke noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef %55, i32 noundef 2)
          to label %57 unwind label %23

57:                                               ; preds = %54
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %58)
          to label %60 unwind label %23

60:                                               ; preds = %57, %50
  %61 = call i64 @sysconf(i32 noundef 4) #7
  %62 = trunc i64 %61 to i32
  %63 = icmp sgt i32 %62, 2
  br i1 %63, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %66, %60
  %64 = call i32 @execv(ptr noundef %0, ptr noundef %1) #7
  invoke void @_ZN11__sanitizer14internal__exitEi(i32 noundef 1) #8
          to label %71 unwind label %23

.lr.ph:                                           ; preds = %60, %66
  %.019 = phi i32 [ %67, %66 ], [ %62, %60 ]
  %65 = invoke noundef i64 @_ZN11__sanitizer14internal_closeEi(i32 noundef %.019)
          to label %66 unwind label %69

66:                                               ; preds = %.lr.ph
  %67 = add nsw i32 %.019, -1
  %68 = icmp sgt i32 %.019, 3
  br i1 %68, label %.lr.ph, label %._crit_edge, !llvm.loop !11

69:                                               ; preds = %.lr.ph
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %._crit_edge
  unreachable

72:                                               ; preds = %28, %27
  call void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  ret i32 %14

73:                                               ; preds = %69, %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %70, %69 ], [ %24, %23 ]
  call void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN11__sanitizer13at_scope_exitIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0EENS_16RunOnDestructionIT_EES7_"(ptr dead_on_unwind noalias writable sret(%"class.__sanitizer::RunOnDestruction") align 8, ptr noundef byval(%class.anon) align 8) local_unnamed_addr #3

declare noundef i32 @_ZN11__sanitizer13internal_forkEv() local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZN11__sanitizer13internal_dup2Eii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare i32 @execv(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: noreturn
declare void @_ZN11__sanitizer14internal__exitEi(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZN11__sanitizer16RunOnDestructionIZNS_15StartSubprocessEPKcPKS2_iiiE3$_0ED2Ev"(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { nofree 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 #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 = { 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 }
attributes #8 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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