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

; 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.oh = type { ptr, i64, i64, i64 }
%struct.hblkhdr = type { ptr, ptr, ptr, i8, i8, i16, i64, i64, ptr, i64, [5 x i64] }

@GC_on_abort = external global ptr, align 8
@GC_find_leak = external global i32, align 4
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@GC_have_errors = external global i32, align 4
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [41 x i8], align 1
@GC_findleak_delay_free = external global i32, align 4
@GC_arrays = external global %struct._GC_arrays, align 8

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

declare i64 @GC_size(ptr noundef) #1

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

declare ptr @GC_base(ptr noundef) #1

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

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

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

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

13:                                               ; preds = %1
  store i32 1, ptr %4, align 4
  br label %110

14:                                               ; preds = %1
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = call ptr @GC_base(ptr noundef %15)
  store ptr %16, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = icmp eq ptr null, %17
  br i1 %18, label %19, label %25

19:                                               ; preds = %14
  br label %20

20:                                               ; preds = %19
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  call void (ptr, ...) @GC_log_printf(ptr noundef @.str.8, ptr noundef %21)
  %22 = load ptr, ptr @GC_on_abort, align 8, !tbaa !5
  call void %22(ptr noundef @.str.9)
  call void @abort() #5
  unreachable

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23
  br label %25

25:                                               ; preds = %24, %14
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = ptrtoint ptr %26 to i64
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = ptrtoint ptr %28 to i64
  %30 = sub i64 %27, %29
  %31 = icmp ne i64 %30, 32
  br i1 %31, label %32, label %34

32:                                               ; preds = %25
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  call void (ptr, ...) @GC_err_printf(ptr noundef @.str.10, ptr noundef %33)
  br label %61

34:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = call ptr @GC_check_annotated_obj(ptr noundef %35)
  store ptr %36, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = call i64 @GC_size(ptr noundef %37)
  store i64 %38, ptr %6, align 8, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %41, label %54

41:                                               ; preds = %34
  store i32 1, ptr @GC_have_errors, align 4, !tbaa !11
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.oh, ptr %42, i32 0, i32 2
  %44 = load i64, ptr %43, align 8, !tbaa !13
  %45 = load i64, ptr %6, align 8, !tbaa !9
  %46 = icmp eq i64 %44, %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %41
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  call void @GC_print_smashed_obj(ptr noundef @.str.11, ptr noundef %48, ptr noundef %49)
  store i32 1, ptr %4, align 4
  br label %58

50:                                               ; preds = %41
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  call void @GC_print_smashed_obj(ptr noundef @.str.12, ptr noundef %51, ptr noundef %52)
  br label %53

53:                                               ; preds = %50
  br label %54

54:                                               ; preds = %53, %34
  %55 = load i64, ptr %6, align 8, !tbaa !9
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.oh, ptr %56, i32 0, i32 2
  store i64 %55, ptr %57, align 8, !tbaa !13
  store i32 0, ptr %4, align 4
  br label %58

58:                                               ; preds = %54, %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %59 = load i32, ptr %4, align 4
  switch i32 %59, label %110 [
    i32 0, label %60
  ]

60:                                               ; preds = %58
  br label %61

61:                                               ; preds = %60, %32
  %62 = load i32, ptr @GC_find_leak, align 4, !tbaa !11
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %76

64:                                               ; preds = %61
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = ptrtoint ptr %65 to i64
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = ptrtoint ptr %67 to i64
  %69 = sub i64 %66, %68
  %70 = icmp ne i64 %69, 32
  br i1 %70, label %74, label %71

71:                                               ; preds = %64
  %72 = load i32, ptr @GC_findleak_delay_free, align 4, !tbaa !11
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %76, label %74

74:                                               ; preds = %71, %64
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  call void @GC_free(ptr noundef %75)
  br label %109

76:                                               ; preds = %71, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = call ptr @GC_find_header(ptr noundef %77)
  store ptr %78, ptr %7, align 8, !tbaa !5
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.hblkhdr, ptr %79, i32 0, i32 3
  %81 = load i8, ptr %80, align 8, !tbaa !15
  %82 = zext i8 %81 to i32
  %83 = icmp eq i32 %82, 2
  br i1 %83, label %84, label %86

84:                                               ; preds = %76
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  call void @GC_free(ptr noundef %85)
  br label %108

86:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.hblkhdr, ptr %87, i32 0, i32 6
  %89 = load i64, ptr %88, align 8, !tbaa !18
  store i64 %89, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %90 = load i64, ptr %9, align 8, !tbaa !9
  %91 = sub i64 %90, 32
  %92 = lshr i64 %91, 3
  store i64 %92, ptr %10, align 8, !tbaa !9
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %93

93:                                               ; preds = %101, %86
  %94 = load i64, ptr %8, align 8, !tbaa !9
  %95 = load i64, ptr %10, align 8, !tbaa !9
  %96 = icmp ult i64 %94, %95
  br i1 %96, label %97, label %104

97:                                               ; preds = %93
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = load i64, ptr %8, align 8, !tbaa !9
  %100 = getelementptr inbounds i64, ptr %98, i64 %99
  store i64 -1171307680339476753, ptr %100, align 8, !tbaa !9
  br label %101

101:                                              ; preds = %97
  %102 = load i64, ptr %8, align 8, !tbaa !9
  %103 = add i64 %102, 1
  store i64 %103, ptr %8, align 8, !tbaa !9
  br label %93, !llvm.loop !19

104:                                              ; preds = %93
  %105 = load i64, ptr %9, align 8, !tbaa !9
  %106 = load i64, ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 12), align 8, !tbaa !21
  %107 = add i64 %106, %105
  store i64 %107, ptr getelementptr inbounds (%struct._GC_arrays, ptr @GC_arrays, i32 0, i32 12), align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %108

108:                                              ; preds = %104, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %109

109:                                              ; preds = %108, %74
  store i32 0, ptr %4, align 4
  br label %110

110:                                              ; preds = %109, %58, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %111 = load i32, ptr %4, align 4
  switch i32 %111, label %113 [
    i32 0, label %112
    i32 1, label %112
  ]

112:                                              ; preds = %110, %110
  ret void

113:                                              ; preds = %110
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden ptr @GC_check_annotated_obj(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @GC_print_smashed_obj(ptr noundef, ptr noundef, ptr noundef) #3

declare void @GC_free(ptr noundef) #1

declare ptr @GC_find_header(ptr noundef) #1

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 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 }
attributes #5 = { 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 = !{!14, !10, i64 16}
!14 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!15 = !{!16, !7, i64 24}
!16 = !{!"hblkhdr", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !17, i64 26, !10, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !7, i64 64}
!17 = !{!"short", !7, i64 0}
!18 = !{!16, !10, i64 32}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !10, i64 96}
!22 = !{!"_GC_arrays", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !6, i64 216, !6, i64 224, !10, i64 232, !12, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !23, i64 272, !23, i64 296, !24, i64 320, !12, i64 336, !6, i64 344, !10, i64 352, !10, i64 360, !12, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !6, i64 400, !7, i64 408, !7, i64 920, !7, i64 928, !7, i64 1440, !7, i64 2472, !7, i64 3504, !7, i64 4536, !7, i64 20928, !7, i64 21960, !7, i64 26056, !7, i64 58824, !6, i64 91592, !7, i64 91600, !7, i64 157136, !7, i64 165328}
!23 = !{!"dl_hashtbl_s", !6, i64 0, !10, i64 8, !12, i64 16}
!24 = !{!"fnlz_roots_s", !6, i64 0, !6, 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._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 }

@GC_on_abort = external local_unnamed_addr global ptr, align 8
@GC_find_leak = external local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@GC_have_errors = external local_unnamed_addr global i32, align 4
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [41 x i8], align 1
@GC_findleak_delay_free = external local_unnamed_addr global i32, align 4
@GC_arrays = external local_unnamed_addr global %struct._GC_arrays, align 8

declare i64 @GC_size(ptr noundef) local_unnamed_addr #0

declare ptr @GC_base(ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @GC_debug_free(ptr noundef %0) local_unnamed_addr #2 {
  %2 = icmp eq ptr %0, null
  br i1 %2, label %47, label %3

3:                                                ; preds = %1
  %4 = tail call ptr @GC_base(ptr noundef nonnull %0) #3
  %5 = icmp eq ptr %4, null
  br i1 %5, label %6, label %8

6:                                                ; preds = %3
  tail call void (ptr, ...) @GC_log_printf(ptr noundef nonnull @.str.8, ptr noundef nonnull %0) #3
  %7 = load ptr, ptr @GC_on_abort, align 8, !tbaa !5
  tail call void %7(ptr noundef nonnull @.str.9) #3
  tail call void @abort() #4
  unreachable

8:                                                ; preds = %3
  %9 = ptrtoint ptr %0 to i64
  %10 = ptrtoint ptr %4 to i64
  %11 = sub i64 %9, %10
  %.not = icmp eq i64 %11, 32
  br i1 %.not, label %13, label %12

12:                                               ; preds = %8
  tail call void (ptr, ...) @GC_err_printf(ptr noundef nonnull @.str.10, ptr noundef nonnull %0) #3
  br label %23

13:                                               ; preds = %8
  %14 = tail call ptr @GC_check_annotated_obj(ptr noundef nonnull %4)
  %15 = tail call i64 @GC_size(ptr noundef nonnull %4) #3
  %.not37 = icmp eq ptr %14, null
  br i1 %.not37, label %21, label %16

16:                                               ; preds = %13
  store i32 1, ptr @GC_have_errors, align 4, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %4, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !11
  %19 = icmp eq i64 %18, %15
  br i1 %19, label %.critedge, label %20

.critedge:                                        ; preds = %16
  tail call void @GC_print_smashed_obj(ptr noundef nonnull @.str.11, ptr noundef nonnull %0, ptr noundef nonnull %14)
  br label %47

20:                                               ; preds = %16
  tail call void @GC_print_smashed_obj(ptr noundef nonnull @.str.12, ptr noundef nonnull %0, ptr noundef nonnull %14)
  br label %21

21:                                               ; preds = %20, %13
  %22 = getelementptr inbounds i8, ptr %4, i64 16
  store i64 %15, ptr %22, align 8, !tbaa !11
  br label %23

23:                                               ; preds = %21, %12
  %24 = load i32, ptr @GC_find_leak, align 4, !tbaa !9
  %.not38 = icmp eq i32 %24, 0
  br i1 %.not38, label %29, label %25

25:                                               ; preds = %23
  %26 = load i32, ptr @GC_findleak_delay_free, align 4
  %27 = icmp ne i32 %26, 0
  %or.cond = select i1 %.not, i1 %27, i1 false
  br i1 %or.cond, label %29, label %28

28:                                               ; preds = %25
  tail call void @GC_free(ptr noundef nonnull %4) #3
  br label %47

29:                                               ; preds = %25, %23
  %30 = tail call ptr @GC_find_header(ptr noundef nonnull %0) #3
  %31 = getelementptr inbounds i8, ptr %30, i64 24
  %32 = load i8, ptr %31, align 8, !tbaa !14
  %33 = icmp eq i8 %32, 2
  br i1 %33, label %34, label %35

34:                                               ; preds = %29
  tail call void @GC_free(ptr noundef nonnull %4) #3
  br label %47

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %30, i64 32
  %37 = load i64, ptr %36, align 8, !tbaa !17
  %38 = add i64 %37, -32
  %.not40 = icmp ult i64 %38, 8
  br i1 %.not40, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %35
  %39 = lshr i64 %38, 3
  %min.iters.check = icmp ult i64 %38, 32
  br i1 %min.iters.check, label %.lr.ph.preheader41, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %39, 2305843009213693948
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %40 = getelementptr inbounds i64, ptr %0, i64 %index
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  store <2 x i64> <i64 -1171307680339476753, i64 -1171307680339476753>, ptr %40, align 8, !tbaa !18
  store <2 x i64> <i64 -1171307680339476753, i64 -1171307680339476753>, ptr %41, align 8, !tbaa !18
  %index.next = add nuw i64 %index, 4
  %42 = icmp eq i64 %index.next, %n.vec
  br i1 %42, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %39, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader41

.lr.ph.preheader41:                               ; preds = %middle.block, %.lr.ph.preheader
  %.03339.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader41, %.lr.ph
  %.03339 = phi i64 [ %44, %.lr.ph ], [ %.03339.ph, %.lr.ph.preheader41 ]
  %43 = getelementptr inbounds i64, ptr %0, i64 %.03339
  store i64 -1171307680339476753, ptr %43, align 8, !tbaa !18
  %44 = add nuw nsw i64 %.03339, 1
  %exitcond.not = icmp eq i64 %44, %39
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %35
  %45 = load i64, ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 96), align 8, !tbaa !24
  %46 = add i64 %45, %37
  store i64 %46, ptr getelementptr inbounds (i8, ptr @GC_arrays, i64 96), align 8, !tbaa !24
  br label %47

47:                                               ; preds = %28, %._crit_edge, %34, %.critedge, %1
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden ptr @GC_check_annotated_obj(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @GC_print_smashed_obj(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @GC_free(ptr noundef) local_unnamed_addr #0

declare ptr @GC_find_header(ptr noundef) local_unnamed_addr #0

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 = { 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 #3 = { nounwind }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !7, i64 24}
!15 = !{!"hblkhdr", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !16, i64 26, !13, i64 32, !13, i64 40, !6, i64 48, !13, i64 56, !7, i64 64}
!16 = !{!"short", !7, i64 0}
!17 = !{!15, !13, i64 32}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20, !22, !21}
!24 = !{!25, !13, i64 96}
!25 = !{!"_GC_arrays", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !6, i64 216, !6, i64 224, !13, i64 232, !10, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !26, i64 272, !26, i64 296, !27, i64 320, !10, i64 336, !6, i64 344, !13, i64 352, !13, i64 360, !10, i64 368, !13, i64 376, !13, i64 384, !13, i64 392, !6, i64 400, !7, i64 408, !7, i64 920, !7, i64 928, !7, i64 1440, !7, i64 2472, !7, i64 3504, !7, i64 4536, !7, i64 20928, !7, i64 21960, !7, i64 26056, !7, i64 58824, !6, i64 91592, !7, i64 91600, !7, i64 157136, !7, i64 165328}
!26 = !{!"dl_hashtbl_s", !6, i64 0, !13, i64 8, !10, i64 16}
!27 = !{!"fnlz_roots_s", !6, i64 0, !6, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass