; LLVM IR from cjmcv/hpc :: coroutine/libco/libco/src (co_hook_sys_call)

; 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.stCoSysEnvArr_t = type { ptr, i64 }
%struct.stCoSysEnv_t = type { ptr, ptr }
%struct.stCoRoutine_t = type { ptr, ptr, ptr, %struct.coctx_t, i8, i8, i8, i8, i8, ptr, ptr, ptr, i32, ptr, [1024 x %struct.stCoSpec_t] }
%struct.coctx_t = type { [14 x ptr], i64, ptr }
%struct.stCoSpec_t = type { ptr }

@_ZL17g_sys_setenv_func = external hidden global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL11g_co_sysenv = external hidden global %struct.stCoSysEnvArr_t, align 8

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) #0

declare noundef zeroext i1 @_Z21co_is_enable_sys_hookv() #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #2

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

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL14co_sysenv_compPKvS0_(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
define dso_local i32 @setenv(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %struct.stCoSysEnv_t, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %13 = load ptr, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %17, label %15

15:                                               ; preds = %3
  %16 = call ptr @dlsym(ptr noundef inttoptr (i64 -1 to ptr), ptr noundef @.str.24) #6
  store ptr %16, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %15, %3
  %18 = invoke noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
          to label %19 unwind label %101

19:                                               ; preds = %17
  br i1 %18, label %20, label %92

20:                                               ; preds = %19
  %21 = load ptr, ptr @_ZL11g_co_sysenv, align 8, !tbaa !11
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %92

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %24 = invoke noundef ptr @_Z7co_selfv()
          to label %25 unwind label %101

25:                                               ; preds = %23
  store ptr %24, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %88

28:                                               ; preds = %25
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.stCoRoutine_t, ptr %29, i32 0, i32 9
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = icmp ne ptr %31, null
  br i1 %32, label %38, label %33

33:                                               ; preds = %28
  %34 = invoke noundef ptr @_ZL17dup_co_sysenv_arrP15stCoSysEnvArr_t(ptr noundef @_ZL11g_co_sysenv)
          to label %35 unwind label %101

35:                                               ; preds = %33
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.stCoRoutine_t, ptr %36, i32 0, i32 9
  store ptr %34, ptr %37, align 8, !tbaa !14
  br label %38

38:                                               ; preds = %35, %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.stCoRoutine_t, ptr %39, i32 0, i32 9
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  store ptr %41, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %42 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %10, i32 0, i32 0
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %43, ptr %42, align 8, !tbaa !17
  %44 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %10, i32 0, i32 1
  store ptr null, ptr %44, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.stCoSysEnvArr_t, ptr %45, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8, !tbaa !11
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.stCoSysEnvArr_t, ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8, !tbaa !20
  %51 = invoke ptr @bsearch(ptr noundef %10, ptr noundef %47, i64 noundef %50, i64 noundef 16, ptr noundef @_ZL14co_sysenv_compPKvS0_)
          to label %52 unwind label %101

52:                                               ; preds = %38
  store ptr %51, ptr %11, align 8, !tbaa !5
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %84

55:                                               ; preds = %52
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %63, label %58

58:                                               ; preds = %55
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %59, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !19
  %62 = icmp ne ptr %61, null
  br i1 %62, label %83, label %63

63:                                               ; preds = %58, %55
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %64, i32 0, i32 1
  %66 = load ptr, ptr %65, align 8, !tbaa !19
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %72

68:                                               ; preds = %63
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  call void @free(ptr noundef %71) #6
  br label %72

72:                                               ; preds = %68, %63
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = icmp ne ptr %73, null
  br i1 %74, label %75, label %78

75:                                               ; preds = %72
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = call noalias ptr @strdup(ptr noundef %76) #6
  br label %79

78:                                               ; preds = %72
  br label %79

79:                                               ; preds = %78, %75
  %80 = phi ptr [ %77, %75 ], [ null, %78 ]
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.stCoSysEnv_t, ptr %81, i32 0, i32 1
  store ptr %80, ptr %82, align 8, !tbaa !19
  br label %83

83:                                               ; preds = %79, %58
  store i32 0, ptr %4, align 4
  store i32 1, ptr %12, align 4
  br label %85

84:                                               ; preds = %52
  store i32 0, ptr %12, align 4
  br label %85

85:                                               ; preds = %84, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %86 = load i32, ptr %12, align 4
  switch i32 %86, label %89 [
    i32 0, label %87
  ]

87:                                               ; preds = %85
  br label %88

88:                                               ; preds = %87, %25
  store i32 0, ptr %12, align 4
  br label %89

89:                                               ; preds = %88, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %90 = load i32, ptr %12, align 4
  switch i32 %90, label %104 [
    i32 0, label %91
    i32 1, label %99
  ]

91:                                               ; preds = %89
  br label %92

92:                                               ; preds = %91, %20, %19
  %93 = load ptr, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = invoke noundef i32 %93(ptr noundef %94, ptr noundef %95, i32 noundef %96)
          to label %98 unwind label %101

98:                                               ; preds = %92
  store i32 %97, ptr %4, align 4
  br label %99

99:                                               ; preds = %98, %89
  %100 = load i32, ptr %4, align 4
  ret i32 %100

101:                                              ; preds = %92, %38, %33, %23, %17
  %102 = landingpad { ptr, i32 }
          catch ptr null
  %103 = extractvalue { ptr, i32 } %102, 0
  call void @__clang_call_terminate(ptr %103) #7
  unreachable

104:                                              ; preds = %89
  unreachable
}

declare noundef ptr @_Z7co_selfv() #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL17dup_co_sysenv_arrP15stCoSysEnvArr_t(ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare ptr @bsearch(ptr noundef nonnull, ptr noundef nonnull, i64 noundef, i64 noundef, ptr noundef nonnull) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS15stCoSysEnvArr_t", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !6, i64 160}
!15 = !{!"_ZTS13stCoRoutine_t", !6, i64 0, !6, i64 8, !6, i64 16, !16, i64 24, !7, i64 152, !7, i64 153, !7, i64 154, !7, i64 155, !7, i64 156, !6, i64 160, !6, i64 168, !6, i64 176, !10, i64 184, !6, i64 192, !7, i64 200}
!16 = !{!"_ZTS7coctx_t", !7, i64 0, !13, i64 112, !6, i64 120}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS12stCoSysEnv_t", !6, i64 0, !6, i64 8}
!19 = !{!18, !6, i64 8}
!20 = !{!12, !13, i64 8}


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

%struct.stCoSysEnvArr_t = type { ptr, i64 }
%struct.stCoSysEnv_t = type { ptr, ptr }

@_ZL17g_sys_setenv_func = external hidden local_unnamed_addr global ptr, align 8
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL11g_co_sysenv = external hidden global %struct.stCoSysEnvArr_t, align 8

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef zeroext i1 @_Z21co_is_enable_sys_hookv() local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL14co_sysenv_compPKvS0_(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @setenv(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.stCoSysEnv_t, align 8
  %5 = load ptr, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %6, label %8

6:                                                ; preds = %3
  %7 = tail call ptr @dlsym(ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef nonnull @.str.24) #8
  store ptr %7, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  br label %8

8:                                                ; preds = %6, %3
  %9 = invoke noundef zeroext i1 @_Z21co_is_enable_sys_hookv()
          to label %10 unwind label %41

10:                                               ; preds = %8
  %11 = load ptr, ptr @_ZL11g_co_sysenv, align 8
  %12 = icmp ne ptr %11, null
  %or.cond = select i1 %9, i1 %12, i1 false
  br i1 %or.cond, label %13, label %.thread

13:                                               ; preds = %10
  %14 = invoke noundef ptr @_Z7co_selfv()
          to label %15 unwind label %41

15:                                               ; preds = %13
  %.not26 = icmp eq ptr %14, null
  br i1 %.not26, label %.thread, label %16

16:                                               ; preds = %15
  %17 = getelementptr inbounds i8, ptr %14, i64 160
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %.not27 = icmp eq ptr %18, null
  br i1 %.not27, label %19, label %21

19:                                               ; preds = %16
  %20 = tail call noundef ptr @_ZL17dup_co_sysenv_arrP15stCoSysEnvArr_t(ptr noundef nonnull @_ZL11g_co_sysenv)
  store ptr %20, ptr %17, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %19, %16
  %22 = phi ptr [ %20, %19 ], [ %18, %16 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  store ptr %0, ptr %4, align 8, !tbaa !14
  %23 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr null, ptr %23, align 8, !tbaa !16
  %24 = load ptr, ptr %22, align 8, !tbaa !17
  %25 = getelementptr inbounds i8, ptr %22, i64 8
  %26 = load i64, ptr %25, align 8, !tbaa !19
  %27 = invoke ptr @bsearch(ptr noundef %4, ptr noundef %24, i64 noundef %26, i64 noundef 16, ptr noundef @_ZL14co_sysenv_compPKvS0_)
          to label %28 unwind label %41

28:                                               ; preds = %21
  %.not28 = icmp eq ptr %27, null
  br i1 %.not28, label %.critedge, label %29

29:                                               ; preds = %28
  %.not29 = icmp eq i32 %2, 0
  %30 = getelementptr inbounds i8, ptr %27, i64 8
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %.not30 = icmp eq ptr %31, null
  br i1 %.not29, label %32, label %33

32:                                               ; preds = %29
  br i1 %.not30, label %.thread34, label %37

33:                                               ; preds = %29
  br i1 %.not30, label %.thread34, label %34

34:                                               ; preds = %33
  call void @free(ptr noundef nonnull %31) #8
  br label %.thread34

.thread34:                                        ; preds = %32, %33, %34
  %35 = getelementptr inbounds i8, ptr %27, i64 8
  %36 = call noalias ptr @strdup(ptr noundef nonnull %1) #8
  store ptr %36, ptr %35, align 8, !tbaa !16
  br label %37

.critedge:                                        ; preds = %28
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %.thread

37:                                               ; preds = %.thread34, %32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %40

.thread:                                          ; preds = %15, %.critedge, %10
  %38 = load ptr, ptr @_ZL17g_sys_setenv_func, align 8, !tbaa !5
  %39 = invoke noundef i32 %38(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %2)
          to label %40 unwind label %41

40:                                               ; preds = %37, %.thread
  %.3 = phi i32 [ 0, %37 ], [ %39, %.thread ]
  ret i32 %.3

41:                                               ; preds = %.thread, %21, %13, %8
  %42 = landingpad { ptr, i32 }
          catch ptr null
  %43 = extractvalue { ptr, i32 } %42, 0
  call void @__clang_call_terminate(ptr %43) #9
  unreachable
}

declare noundef ptr @_Z7co_selfv() local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL17dup_co_sysenv_arrP15stCoSysEnvArr_t(ptr noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare ptr @bsearch(ptr noundef nonnull, ptr noundef nonnull, i64 noundef, i64 noundef, ptr noundef nonnull) local_unnamed_addr #7

attributes #0 = { 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 #1 = { "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 = { noinline noreturn nounwind uwtable "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 160}
!10 = !{!"_ZTS13stCoRoutine_t", !6, i64 0, !6, i64 8, !6, i64 16, !11, i64 24, !7, i64 152, !7, i64 153, !7, i64 154, !7, i64 155, !7, i64 156, !6, i64 160, !6, i64 168, !6, i64 176, !13, i64 184, !6, i64 192, !7, i64 200}
!11 = !{!"_ZTS7coctx_t", !7, i64 0, !12, i64 112, !6, i64 120}
!12 = !{!"long", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTS12stCoSysEnv_t", !6, i64 0, !6, i64 8}
!16 = !{!15, !6, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS15stCoSysEnvArr_t", !6, i64 0, !12, i64 8}
!19 = !{!18, !12, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass