; LLVM IR from humz2k/sugaryc :: ext/bdwgc (os_dep)

; 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._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }
%struct.GC_hblk_s = type { [4096 x i8] }

@GC_on_abort = external global ptr, align 8
@GC_page_size = external dso_local global i64, align 8
@GC_manual_vdb = external dso_local global i32, align 4
@GC_arrays = external global %struct._GC_arrays, align 8
@clear_refs_fd = external hidden global i32, align 4
@GC_incremental = external global i32, align 4
@GC_pages_executable = external hidden global i32, align 4
@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [23 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

declare void @GC_log_printf(ptr noundef, ...) #1

; Function Attrs: noreturn nounwind
declare void @abort() #2

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #3

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

; Function Attrs: nounwind uwtable
define dso_local void @GC_remove_protection(ptr noundef %0, i64 noundef %1, i32 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %12 = load i32, ptr @GC_incremental, align 4, !tbaa !11
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %14, label %20

14:                                               ; preds = %3
  %15 = load i32, ptr @GC_manual_vdb, align 4, !tbaa !11
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %20, label %17

17:                                               ; preds = %14
  %18 = load i32, ptr @clear_refs_fd, align 4, !tbaa !11
  %19 = icmp ne i32 %18, -1
  br i1 %19, label %20, label %21

20:                                               ; preds = %17, %14, %3
  store i32 1, ptr %10, align 4
  br label %131

21:                                               ; preds = %17
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = ptrtoint ptr %22 to i64
  %24 = load i64, ptr @GC_page_size, align 8, !tbaa !9
  %25 = sub i64 %24, 1
  %26 = xor i64 %25, -1
  %27 = and i64 %23, %26
  %28 = inttoptr i64 %27 to ptr
  store ptr %28, ptr %7, align 8, !tbaa !5
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = load i64, ptr %5, align 8, !tbaa !9
  %31 = getelementptr inbounds %struct.GC_hblk_s, ptr %29, i64 %30
  %32 = ptrtoint ptr %31 to i64
  %33 = load i64, ptr @GC_page_size, align 8, !tbaa !9
  %34 = sub i64 %33, 1
  %35 = add i64 %32, %34
  %36 = load i64, ptr @GC_page_size, align 8, !tbaa !9
  %37 = sub i64 %36, 1
  %38 = xor i64 %37, -1
  %39 = and i64 %35, %38
  %40 = inttoptr i64 %39 to ptr
  store ptr %40, ptr %8, align 8, !tbaa !5
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %41, ptr %9, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %82, %21
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = ptrtoint ptr %43 to i64
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = ptrtoint ptr %45 to i64
  %47 = icmp ult i64 %44, %46
  br i1 %47, label %48, label %85

48:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = ptrtoint ptr %49 to i64
  %51 = lshr i64 %50, 12
  %52 = and i64 %51, 262143
  store i64 %52, ptr %11, align 8, !tbaa !9
  %53 = load i32, ptr %6, align 4, !tbaa !11
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %69

55:                                               ; preds = %48
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = ptrtoint ptr %56 to i64
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = ptrtoint ptr %58 to i64
  %60 = icmp ult i64 %57, %59
  br i1 %60, label %69, label %61

61:                                               ; preds = %55
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = ptrtoint ptr %62 to i64
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load i64, ptr %5, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.GC_hblk_s, ptr %64, i64 %65
  %67 = ptrtoint ptr %66 to i64
  %68 = icmp uge i64 %63, %67
  br i1 %68, label %69, label %81

69:                                               ; preds = %61, %55, %48
  %70 = load i64, ptr %11, align 8, !tbaa !9
  %71 = lshr i64 %70, 6
  %72 = getelementptr inbounds [4096 x i64], ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 57), i64 0, i64 %71
  %73 = load volatile i64, ptr %72, align 8, !tbaa !9
  %74 = load i64, ptr %11, align 8, !tbaa !9
  %75 = and i64 %74, 63
  %76 = shl i64 1, %75
  %77 = or i64 %73, %76
  %78 = load i64, ptr %11, align 8, !tbaa !9
  %79 = lshr i64 %78, 6
  %80 = getelementptr inbounds [4096 x i64], ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 57), i64 0, i64 %79
  store volatile i64 %77, ptr %80, align 8, !tbaa !9
  br label %81

81:                                               ; preds = %69, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %82

82:                                               ; preds = %81
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.GC_hblk_s, ptr %83, i32 1
  store ptr %84, ptr %9, align 8, !tbaa !5
  br label %42, !llvm.loop !13

85:                                               ; preds = %42
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = ptrtoint ptr %87 to i64
  %90 = ptrtoint ptr %88 to i64
  %91 = sub i64 %89, %90
  %92 = load i32, ptr @GC_pages_executable, align 4, !tbaa !11
  %93 = icmp ne i32 %92, 0
  %94 = zext i1 %93 to i64
  %95 = select i1 %93, i32 4, i32 0
  %96 = or i32 3, %95
  %97 = call i32 @mprotect(ptr noundef %86, i64 noundef %91, i32 noundef %96) #6
  %98 = icmp sge i32 %97, 0
  br i1 %98, label %99, label %100

99:                                               ; preds = %85
  br label %130

100:                                              ; preds = %85
  %101 = load i32, ptr @GC_pages_executable, align 4, !tbaa !11
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %116

103:                                              ; preds = %100
  br label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = ptrtoint ptr %106 to i64
  %109 = ptrtoint ptr %107 to i64
  %110 = sub i64 %108, %109
  %111 = call ptr @__errno_location() #7
  %112 = load i32, ptr %111, align 4, !tbaa !11
  call void (ptr, ...) @GC_log_printf(ptr noundef @.str.18, ptr noundef %105, i64 noundef %110, i32 noundef %112)
  %113 = load ptr, ptr @GC_on_abort, align 8, !tbaa !5
  call void %113(ptr noundef @.str.19)
  call void @abort() #8
  unreachable

114:                                              ; No predecessors!
  br label %115

115:                                              ; preds = %114
  br label %129

116:                                              ; preds = %100
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = ptrtoint ptr %119 to i64
  %122 = ptrtoint ptr %120 to i64
  %123 = sub i64 %121, %122
  %124 = call ptr @__errno_location() #7
  %125 = load i32, ptr %124, align 4, !tbaa !11
  call void (ptr, ...) @GC_log_printf(ptr noundef @.str.20, ptr noundef %118, i64 noundef %123, i32 noundef %125)
  %126 = load ptr, ptr @GC_on_abort, align 8, !tbaa !5
  call void %126(ptr noundef @.str.21)
  call void @abort() #8
  unreachable

127:                                              ; No predecessors!
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128, %115
  br label %130

130:                                              ; preds = %129, %99
  store i32 0, ptr %10, align 4
  br label %131

131:                                              ; preds = %130, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %132 = load i32, ptr %10, align 4
  switch i32 %132, label %134 [
    i32 0, label %133
    i32 1, label %133
  ]

133:                                              ; preds = %131, %131
  ret void

134:                                              ; preds = %131
  unreachable
}

; Function Attrs: nounwind
declare i32 @mprotect(ptr noundef, i64 noundef, i32 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn 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 #3 = { nounwind willreturn memory(none) "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 = { 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 = { 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }
attributes #8 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

%struct._GC_arrays = type { i64, i64, i64, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i64, i64, i64, ptr, ptr, i64, i32, i64, i64, i64, %struct.dl_hashtbl_s, %struct.dl_hashtbl_s, %struct.fnlz_roots_s, i32, ptr, i64, i64, i32, i64, i64, i64, ptr, [64 x ptr], [8 x i8], [64 x ptr], [129 x ptr], [129 x ptr], [129 x ptr], [2049 x i64], [129 x ptr], [4096 x i8], [4096 x i64], [4096 x i64], ptr, [2048 x %struct.roots], [512 x %struct.exclusion], [2048 x ptr] }
%struct.dl_hashtbl_s = type { ptr, i64, i32 }
%struct.fnlz_roots_s = type { ptr, ptr }
%struct.roots = type { ptr, ptr, ptr, i32 }
%struct.exclusion = type { ptr, ptr }
%struct.GC_hblk_s = type { [4096 x i8] }

@GC_on_abort = external local_unnamed_addr global ptr, align 8
@GC_page_size = external dso_local local_unnamed_addr global i64, align 8
@GC_manual_vdb = external dso_local local_unnamed_addr global i32, align 4
@GC_arrays = external global %struct._GC_arrays, align 8
@clear_refs_fd = external hidden local_unnamed_addr global i32, align 4
@GC_incremental = external local_unnamed_addr global i32, align 4
@GC_pages_executable = external hidden local_unnamed_addr global i32, align 4
@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [23 x i8], align 1

declare void @GC_log_printf(ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #1

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @GC_remove_protection(ptr noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #3 {
  %4 = load i32, ptr @GC_incremental, align 4, !tbaa !5
  %5 = icmp eq i32 %4, 0
  %6 = load i32, ptr @GC_manual_vdb, align 4
  %7 = icmp ne i32 %6, 0
  %or.cond = select i1 %5, i1 true, i1 %7
  %8 = load i32, ptr @clear_refs_fd, align 4
  %9 = icmp ne i32 %8, -1
  %or.cond3 = select i1 %or.cond, i1 true, i1 %9
  br i1 %or.cond3, label %62, label %10

10:                                               ; preds = %3
  %11 = ptrtoint ptr %0 to i64
  %12 = load i64, ptr @GC_page_size, align 8, !tbaa !9
  %13 = sub i64 0, %12
  %14 = and i64 %13, %11
  %15 = inttoptr i64 %14 to ptr
  %16 = getelementptr inbounds %struct.GC_hblk_s, ptr %0, i64 %1
  %17 = ptrtoint ptr %16 to i64
  %18 = add i64 %17, -1
  %19 = add i64 %18, %12
  %20 = and i64 %19, %13
  %21 = icmp ugt i64 %20, %14
  br i1 %21, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %10
  %.not31.not = icmp eq i32 %2, 0
  br i1 %.not31.not, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %22 = phi i64 [ %32, %.lr.ph.split.us ], [ %14, %.lr.ph ]
  %.037.us = phi ptr [ %31, %.lr.ph.split.us ], [ %15, %.lr.ph ]
  %23 = lshr i64 %22, 12
  %24 = lshr i64 %22, 18
  %25 = and i64 %24, 4095
  %26 = getelementptr inbounds [4096 x i64], ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 58824), i64 0, i64 %25
  %27 = load volatile i64, ptr %26, align 8, !tbaa !9
  %28 = and i64 %23, 63
  %29 = shl nuw i64 1, %28
  %30 = or i64 %27, %29
  store volatile i64 %30, ptr %26, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %.037.us, i64 4096
  %32 = ptrtoint ptr %31 to i64
  %33 = icmp ugt i64 %20, %32
  br i1 %33, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !11

.lr.ph.split:                                     ; preds = %.lr.ph, %45
  %34 = phi i64 [ %47, %45 ], [ %14, %.lr.ph ]
  %.037 = phi ptr [ %46, %45 ], [ %15, %.lr.ph ]
  %35 = icmp uge ptr %.037, %0
  %.not32 = icmp ult ptr %.037, %16
  %or.cond34 = and i1 %.not32, %35
  br i1 %or.cond34, label %45, label %36

36:                                               ; preds = %.lr.ph.split
  %37 = lshr i64 %34, 12
  %38 = lshr i64 %34, 18
  %39 = and i64 %38, 4095
  %40 = getelementptr inbounds [4096 x i64], ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 58824), i64 0, i64 %39
  %41 = load volatile i64, ptr %40, align 8, !tbaa !9
  %42 = and i64 %37, 63
  %43 = shl nuw i64 1, %42
  %44 = or i64 %41, %43
  store volatile i64 %44, ptr %40, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %.lr.ph.split, %36
  %46 = getelementptr inbounds i8, ptr %.037, i64 4096
  %47 = ptrtoint ptr %46 to i64
  %48 = icmp ugt i64 %20, %47
  br i1 %48, label %.lr.ph.split, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %45, %.lr.ph.split.us, %10
  %49 = sub i64 %20, %14
  %50 = load i32, ptr @GC_pages_executable, align 4, !tbaa !5
  %.not = icmp eq i32 %50, 0
  %51 = select i1 %.not, i32 3, i32 7
  %52 = tail call i32 @mprotect(ptr noundef %15, i64 noundef %49, i32 noundef %51) #5
  %53 = icmp sgt i32 %52, -1
  br i1 %53, label %62, label %54

54:                                               ; preds = %._crit_edge
  %55 = load i32, ptr @GC_pages_executable, align 4, !tbaa !5
  %.not30 = icmp eq i32 %55, 0
  %56 = tail call ptr @__errno_location() #6
  %57 = load i32, ptr %56, align 4, !tbaa !5
  br i1 %.not30, label %60, label %58

58:                                               ; preds = %54
  tail call void (ptr, ...) @GC_log_printf(ptr noundef nonnull @.str.18, ptr noundef %15, i64 noundef %49, i32 noundef %57) #5
  %59 = load ptr, ptr @GC_on_abort, align 8, !tbaa !13
  tail call void %59(ptr noundef nonnull @.str.19) #5
  tail call void @abort() #7
  unreachable

60:                                               ; preds = %54
  tail call void (ptr, ...) @GC_log_printf(ptr noundef nonnull @.str.20, ptr noundef %15, i64 noundef %49, i32 noundef %57) #5
  %61 = load ptr, ptr @GC_on_abort, align 8, !tbaa !13
  tail call void %61(ptr noundef nonnull @.str.21) #5
  tail call void @abort() #7
  unreachable

62:                                               ; preds = %._crit_edge, %3
  ret void
}

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

attributes #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 = { noreturn 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 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { 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 #4 = { 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 = { nounwind }
attributes #6 = { nounwind willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}


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