; LLVM IR from EarlGray/language-incubator :: fp/secd (secd)

; 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.cell = type { i64, %union.anon, i64 }
%union.anon = type { %struct.atom }
%struct.atom = type { i32, %union.anon.0 }
%union.anon.0 = type { %struct.anon }
%struct.anon = type { i64, ptr }
%struct.anon.1 = type { ptr, ptr }
%struct.anon.2 = type { ptr, ptr }
%struct.secd = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.cons = type { ptr, ptr }

@nil_sym = external dso_local constant %struct.cell, align 8
@global_binding = external dso_local constant [24 x %struct.anon.1], align 16
@native_functions = external dso_local constant [8 x %struct.anon.2], align 16

; 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 uwtable
declare dso_local ptr @new_cons(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @share_cell(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @new_clone(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @fill_global_env(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.secd, ptr %15, i32 0, i32 6
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  store ptr %17, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.secd, ptr %18, i32 0, i32 6
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  store ptr %20, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.secd, ptr %22, i32 0, i32 6
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.secd, ptr %25, i32 0, i32 6
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = call ptr @new_cons(ptr noundef %21, ptr noundef %24, ptr noundef %27)
  store ptr %28, ptr %6, align 8, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %63, %1
  %30 = load i32, ptr %3, align 4, !tbaa !11
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [24 x %struct.anon.1], ptr @global_binding, i64 0, i64 %31
  %33 = getelementptr inbounds %struct.anon.1, ptr %32, i32 0, i32 0
  %34 = load ptr, ptr %33, align 16, !tbaa !13
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %66

36:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = load i32, ptr %3, align 4, !tbaa !11
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [24 x %struct.anon.1], ptr @global_binding, i64 0, i64 %39
  %41 = getelementptr inbounds %struct.anon.1, ptr %40, i32 0, i32 0
  %42 = load ptr, ptr %41, align 16, !tbaa !13
  %43 = call ptr @new_clone(ptr noundef %37, ptr noundef %42)
  store ptr %43, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = load i32, ptr %3, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [24 x %struct.anon.1], ptr @global_binding, i64 0, i64 %46
  %48 = getelementptr inbounds %struct.anon.1, ptr %47, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !15
  %50 = call ptr @new_clone(ptr noundef %44, ptr noundef %49)
  store ptr %50, ptr %8, align 8, !tbaa !5
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.cell, ptr %51, i32 0, i32 2
  store i64 4611686018427387903, ptr %52, align 8, !tbaa !16
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.cell, ptr %53, i32 0, i32 2
  store i64 4611686018427387903, ptr %54, align 8, !tbaa !16
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = call ptr @new_cons(ptr noundef %55, ptr noundef %56, ptr noundef %57)
  store ptr %58, ptr %4, align 8, !tbaa !5
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = call ptr @new_cons(ptr noundef %59, ptr noundef %60, ptr noundef %61)
  store ptr %62, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %63

63:                                               ; preds = %36
  %64 = load i32, ptr %3, align 4, !tbaa !11
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %3, align 4, !tbaa !11
  br label %29, !llvm.loop !19

66:                                               ; preds = %29
  store i32 0, ptr %3, align 4, !tbaa !11
  br label %67

67:                                               ; preds = %105, %66
  %68 = load i32, ptr %3, align 4, !tbaa !11
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [8 x %struct.anon.2], ptr @native_functions, i64 0, i64 %69
  %71 = getelementptr inbounds %struct.anon.2, ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 16, !tbaa !13
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %108

74:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = load i32, ptr %3, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [8 x %struct.anon.2], ptr @native_functions, i64 0, i64 %77
  %79 = getelementptr inbounds %struct.anon.2, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 16, !tbaa !13
  %81 = call ptr @new_clone(ptr noundef %75, ptr noundef %80)
  store ptr %81, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = load i32, ptr %3, align 4, !tbaa !11
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [8 x %struct.anon.2], ptr @native_functions, i64 0, i64 %84
  %86 = getelementptr inbounds %struct.anon.2, ptr %85, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !15
  %88 = call ptr @new_clone(ptr noundef %82, ptr noundef %87)
  store ptr %88, ptr %10, align 8, !tbaa !5
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.cell, ptr %89, i32 0, i32 2
  store i64 4611686018427387903, ptr %90, align 8, !tbaa !16
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.cell, ptr %91, i32 0, i32 2
  store i64 4611686018427387903, ptr %92, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = call ptr @new_cons(ptr noundef %93, ptr noundef %94, ptr noundef %95)
  store ptr %96, ptr %11, align 8, !tbaa !5
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = call ptr @new_cons(ptr noundef %97, ptr noundef %98, ptr noundef %99)
  store ptr %100, ptr %4, align 8, !tbaa !5
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call ptr @new_cons(ptr noundef %101, ptr noundef %102, ptr noundef %103)
  store ptr %104, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %105

105:                                              ; preds = %74
  %106 = load i32, ptr %3, align 4, !tbaa !11
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %3, align 4, !tbaa !11
  br label %67, !llvm.loop !21

108:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %109 = load ptr, ptr %2, align 8, !tbaa !5
  %110 = call ptr @new_clone(ptr noundef %109, ptr noundef @nil_sym)
  store ptr %110, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.secd, ptr %111, i32 0, i32 6
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  store ptr %113, ptr %13, align 8, !tbaa !5
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = load ptr, ptr %12, align 8, !tbaa !5
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = call ptr @new_cons(ptr noundef %114, ptr noundef %115, ptr noundef %116)
  store ptr %117, ptr %4, align 8, !tbaa !5
  %118 = load ptr, ptr %2, align 8, !tbaa !5
  %119 = load ptr, ptr %13, align 8, !tbaa !5
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = call ptr @new_cons(ptr noundef %118, ptr noundef %119, ptr noundef %120)
  store ptr %121, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = call ptr @new_cons(ptr noundef %122, ptr noundef %123, ptr noundef %124)
  store ptr %125, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = call ptr @share_cell(ptr noundef %126)
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.cell, ptr %128, i32 0, i32 1
  %130 = getelementptr inbounds %struct.cons, ptr %129, i32 0, i32 0
  store ptr %127, ptr %130, align 8, !tbaa !22
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = call ptr @share_cell(ptr noundef %131)
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.secd, ptr %133, i32 0, i32 1
  store ptr %132, ptr %134, align 8, !tbaa !23
  %135 = load ptr, ptr %2, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.secd, ptr %135, i32 0, i32 1
  %137 = load ptr, ptr %136, align 8, !tbaa !23
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.secd, ptr %138, i32 0, i32 7
  store ptr %137, ptr %139, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret void
}

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

!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, !6, i64 48}
!10 = !{!"secd", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !6, i64 8}
!15 = !{!14, !6, i64 8}
!16 = !{!17, !18, i64 32}
!17 = !{!"cell", !18, i64 0, !7, i64 8, !18, i64 32}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!7, !7, i64 0}
!23 = !{!10, !6, i64 8}
!24 = !{!10, !6, i64 56}


; 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.cell = type { i64, %union.anon, i64 }
%union.anon = type { %struct.atom }
%struct.atom = type { i32, %union.anon.0 }
%union.anon.0 = type { %struct.anon }
%struct.anon = type { i64, ptr }
%struct.anon.1 = type { ptr, ptr }
%struct.anon.2 = type { ptr, ptr }

@nil_sym = external dso_local constant %struct.cell, align 8
@global_binding = external dso_local local_unnamed_addr constant [24 x %struct.anon.1], align 16
@native_functions = external dso_local local_unnamed_addr constant [8 x %struct.anon.2], align 16

; Function Attrs: nounwind uwtable
declare dso_local ptr @new_cons(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @share_cell(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @new_clone(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @fill_global_env(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 48
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %3, ptr noundef %3)
  %5 = load ptr, ptr @global_binding, align 16, !tbaa !10
  %.not59 = icmp eq ptr %5, null
  br i1 %.not59, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %1
  %.054.lcssa = phi ptr [ %3, %1 ], [ %16, %.lr.ph ]
  %.052.lcssa = phi ptr [ %3, %1 ], [ %15, %.lr.ph ]
  %6 = load ptr, ptr @native_functions, align 16, !tbaa !10
  %.not5864 = icmp eq ptr %6, null
  br i1 %.not5864, label %._crit_edge, label %.lr.ph68

.lr.ph:                                           ; preds = %1, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %1 ]
  %7 = phi ptr [ %18, %.lr.ph ], [ %5, %1 ]
  %8 = phi ptr [ %17, %.lr.ph ], [ @global_binding, %1 ]
  %.05261 = phi ptr [ %15, %.lr.ph ], [ %3, %1 ]
  %.05460 = phi ptr [ %16, %.lr.ph ], [ %3, %1 ]
  %9 = tail call ptr @new_clone(ptr noundef %0, ptr noundef nonnull %7)
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %12 = tail call ptr @new_clone(ptr noundef %0, ptr noundef %11)
  %13 = getelementptr inbounds i8, ptr %12, i64 32
  store i64 4611686018427387903, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds i8, ptr %9, i64 32
  store i64 4611686018427387903, ptr %14, align 8, !tbaa !13
  %15 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %9, ptr noundef %.05261)
  %16 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %12, ptr noundef %.05460)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = getelementptr inbounds [24 x %struct.anon.1], ptr @global_binding, i64 0, i64 %indvars.iv.next
  %18 = load ptr, ptr %17, align 16, !tbaa !10
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !16

.lr.ph68:                                         ; preds = %.preheader, %.lr.ph68
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %.lr.ph68 ], [ 0, %.preheader ]
  %19 = phi ptr [ %31, %.lr.ph68 ], [ %6, %.preheader ]
  %20 = phi ptr [ %30, %.lr.ph68 ], [ @native_functions, %.preheader ]
  %.15366 = phi ptr [ %28, %.lr.ph68 ], [ %.052.lcssa, %.preheader ]
  %.15565 = phi ptr [ %29, %.lr.ph68 ], [ %.054.lcssa, %.preheader ]
  %21 = tail call ptr @new_clone(ptr noundef %0, ptr noundef nonnull %19)
  %22 = getelementptr inbounds i8, ptr %20, i64 8
  %23 = load ptr, ptr %22, align 8, !tbaa !12
  %24 = tail call ptr @new_clone(ptr noundef %0, ptr noundef %23)
  %25 = getelementptr inbounds i8, ptr %24, i64 32
  store i64 4611686018427387903, ptr %25, align 8, !tbaa !13
  %26 = getelementptr inbounds i8, ptr %21, i64 32
  store i64 4611686018427387903, ptr %26, align 8, !tbaa !13
  %27 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %24, ptr noundef %4)
  %28 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %21, ptr noundef %.15366)
  %29 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %27, ptr noundef %.15565)
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %30 = getelementptr inbounds [8 x %struct.anon.2], ptr @native_functions, i64 0, i64 %indvars.iv.next76
  %31 = load ptr, ptr %30, align 16, !tbaa !10
  %.not58 = icmp eq ptr %31, null
  br i1 %.not58, label %._crit_edge, label %.lr.ph68, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph68, %.preheader
  %.155.lcssa = phi ptr [ %.054.lcssa, %.preheader ], [ %29, %.lr.ph68 ]
  %.153.lcssa = phi ptr [ %.052.lcssa, %.preheader ], [ %28, %.lr.ph68 ]
  %32 = tail call ptr @new_clone(ptr noundef %0, ptr noundef nonnull @nil_sym)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %32, ptr noundef %.153.lcssa)
  %35 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %33, ptr noundef %.155.lcssa)
  %36 = tail call ptr @new_cons(ptr noundef %0, ptr noundef %34, ptr noundef %35)
  %37 = tail call ptr @share_cell(ptr noundef %36)
  %38 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %37, ptr %38, align 8, !tbaa !19
  %39 = tail call ptr @share_cell(ptr noundef %4)
  %40 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %39, ptr %40, align 8, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %39, ptr %41, align 8, !tbaa !21
  ret void
}

attributes #0 = { 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 = { inlinehint 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" }

!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, !7, i64 48}
!6 = !{!"secd", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 0}
!11 = !{!"", !7, i64 0, !7, i64 8}
!12 = !{!11, !7, i64 8}
!13 = !{!14, !15, i64 32}
!14 = !{!"cell", !15, i64 0, !8, i64 8, !15, i64 32}
!15 = !{!"long", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !7, i64 8}
!21 = !{!6, !7, i64 56}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass