; LLVM IR from freakout42/macrocalc :: mc/nro (nro)

; 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.docctl = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i32, i32, i32, [26 x i32] }
%struct.page = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [2 x i32], [2 x i32], [200000 x i8], [200000 x i8], [200000 x i8], [200000 x i8] }
%struct.cout = type { i32, i32, i32, i32, [200000 x i8] }
%struct.macros = type { [400 x ptr], i32, ptr, [80000 x i8], ptr, [200000 x i8] }

@dc = external dso_local global %struct.docctl, align 4
@pg = external dso_local global %struct.page, align 4
@co = external dso_local global %struct.cout, align 4
@mac = external dso_local global %struct.macros, align 8

; Function Attrs: nounwind uwtable
define dso_local void @init() #0 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #2
  store i32 1, ptr @dc, align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 1), align 4, !tbaa !10
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 2), align 4, !tbaa !11
  store i32 79, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 3), align 4, !tbaa !12
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 4), align 4, !tbaa !13
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 5), align 4, !tbaa !14
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 6), align 4, !tbaa !15
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 7), align 4, !tbaa !16
  store i32 1, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 8), align 4, !tbaa !17
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 9), align 4, !tbaa !18
  store i32 1, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 10), align 4, !tbaa !19
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 11), align 4, !tbaa !20
  store i8 35, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 12), align 4, !tbaa !21
  store i8 46, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 13), align 1, !tbaa !22
  store i32 1, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 14), align 4, !tbaa !23
  store i32 0, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 15), align 4, !tbaa !24
  store i32 0, ptr %1, align 4, !tbaa !25
  br label %2

2:                                                ; preds = %9, %0
  %3 = load i32, ptr %1, align 4, !tbaa !25
  %4 = icmp slt i32 %3, 26
  br i1 %4, label %5, label %12

5:                                                ; preds = %2
  %6 = load i32, ptr %1, align 4, !tbaa !25
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds [26 x i32], ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 17), i64 0, i64 %7
  store i32 0, ptr %8, align 4, !tbaa !25
  br label %9

9:                                                ; preds = %5
  %10 = load i32, ptr %1, align 4, !tbaa !25
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %1, align 4, !tbaa !25
  br label %2, !llvm.loop !26

12:                                               ; preds = %2
  store i32 0, ptr @pg, align 4, !tbaa !28
  store i32 1, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 1), align 4, !tbaa !30
  store i32 0, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 2), align 4, !tbaa !31
  store i32 66, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 3), align 4, !tbaa !32
  store i32 2, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 4), align 4, !tbaa !33
  store i32 2, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 5), align 4, !tbaa !34
  store i32 2, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 6), align 4, !tbaa !35
  store i32 2, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 7), align 4, !tbaa !36
  %13 = load i32, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 3), align 4, !tbaa !32
  %14 = load i32, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 7), align 4, !tbaa !36
  %15 = sub nsw i32 %13, %14
  %16 = load i32, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 6), align 4, !tbaa !35
  %17 = sub nsw i32 %15, %16
  store i32 %17, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 8), align 4, !tbaa !37
  store i32 0, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 9), align 4, !tbaa !38
  store i32 0, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 10), align 4, !tbaa !39
  store i32 30000, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 11), align 4, !tbaa !40
  store i8 10, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 17), align 4, !tbaa !41
  store i8 10, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 16), align 4, !tbaa !41
  store i8 10, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 19), align 4, !tbaa !41
  store i8 10, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 18), align 4, !tbaa !41
  store i32 1, ptr %1, align 4, !tbaa !25
  br label %18

18:                                               ; preds = %34, %12
  %19 = load i32, ptr %1, align 4, !tbaa !25
  %20 = icmp slt i32 %19, 200000
  br i1 %20, label %21, label %37

21:                                               ; preds = %18
  %22 = load i32, ptr %1, align 4, !tbaa !25
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 17), i64 0, i64 %23
  store i8 0, ptr %24, align 1, !tbaa !41
  %25 = load i32, ptr %1, align 4, !tbaa !25
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 16), i64 0, i64 %26
  store i8 0, ptr %27, align 1, !tbaa !41
  %28 = load i32, ptr %1, align 4, !tbaa !25
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 19), i64 0, i64 %29
  store i8 0, ptr %30, align 1, !tbaa !41
  %31 = load i32, ptr %1, align 4, !tbaa !25
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 18), i64 0, i64 %32
  store i8 0, ptr %33, align 1, !tbaa !41
  br label %34

34:                                               ; preds = %21
  %35 = load i32, ptr %1, align 4, !tbaa !25
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %1, align 4, !tbaa !25
  br label %18, !llvm.loop !42

37:                                               ; preds = %18
  %38 = load i32, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 2), align 4, !tbaa !11
  store i32 %38, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 13), align 4, !tbaa !25
  store i32 %38, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 12), align 4, !tbaa !25
  %39 = load i32, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 2), align 4, !tbaa !11
  store i32 %39, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 15), align 4, !tbaa !25
  store i32 %39, ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 14), align 4, !tbaa !25
  %40 = load i32, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 3), align 4, !tbaa !12
  store i32 %40, ptr getelementptr inbounds ([2 x i32], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 13), i64 0, i64 1), align 4, !tbaa !25
  store i32 %40, ptr getelementptr inbounds ([2 x i32], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 12), i64 0, i64 1), align 4, !tbaa !25
  %41 = load i32, ptr getelementptr inbounds (%struct.docctl, ptr @dc, i32 0, i32 3), align 4, !tbaa !12
  store i32 %41, ptr getelementptr inbounds ([2 x i32], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 15), i64 0, i64 1), align 4, !tbaa !25
  store i32 %41, ptr getelementptr inbounds ([2 x i32], ptr getelementptr inbounds (%struct.page, ptr @pg, i32 0, i32 14), i64 0, i64 1), align 4, !tbaa !25
  store i32 0, ptr @co, align 4, !tbaa !43
  store i32 0, ptr getelementptr inbounds (%struct.cout, ptr @co, i32 0, i32 1), align 4, !tbaa !45
  store i32 0, ptr getelementptr inbounds (%struct.cout, ptr @co, i32 0, i32 2), align 4, !tbaa !46
  store i32 0, ptr getelementptr inbounds (%struct.cout, ptr @co, i32 0, i32 3), align 4, !tbaa !47
  store i32 0, ptr %1, align 4, !tbaa !25
  br label %42

42:                                               ; preds = %49, %37
  %43 = load i32, ptr %1, align 4, !tbaa !25
  %44 = icmp slt i32 %43, 200000
  br i1 %44, label %45, label %52

45:                                               ; preds = %42
  %46 = load i32, ptr %1, align 4, !tbaa !25
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (%struct.cout, ptr @co, i32 0, i32 4), i64 0, i64 %47
  store i8 0, ptr %48, align 1, !tbaa !41
  br label %49

49:                                               ; preds = %45
  %50 = load i32, ptr %1, align 4, !tbaa !25
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %1, align 4, !tbaa !25
  br label %42, !llvm.loop !48

52:                                               ; preds = %42
  store i32 0, ptr %1, align 4, !tbaa !25
  br label %53

53:                                               ; preds = %60, %52
  %54 = load i32, ptr %1, align 4, !tbaa !25
  %55 = icmp slt i32 %54, 400
  br i1 %55, label %56, label %63

56:                                               ; preds = %53
  %57 = load i32, ptr %1, align 4, !tbaa !25
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [400 x ptr], ptr @mac, i64 0, i64 %58
  store ptr null, ptr %59, align 8, !tbaa !49
  br label %60

60:                                               ; preds = %56
  %61 = load i32, ptr %1, align 4, !tbaa !25
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %1, align 4, !tbaa !25
  br label %53, !llvm.loop !51

63:                                               ; preds = %53
  store i32 0, ptr getelementptr inbounds (%struct.macros, ptr @mac, i32 0, i32 1), align 8, !tbaa !52
  store ptr getelementptr inbounds (%struct.macros, ptr @mac, i32 0, i32 3), ptr getelementptr inbounds (%struct.macros, ptr @mac, i32 0, i32 2), align 8, !tbaa !54
  store ptr null, ptr getelementptr inbounds (%struct.macros, ptr @mac, i32 0, i32 4), align 8, !tbaa !55
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #2
  ret void
}

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

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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, !7, i64 0}
!6 = !{!"docctl", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !8, i64 48, !8, i64 49, !7, i64 52, !7, i64 56, !7, i64 60, !8, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!6, !7, i64 12}
!13 = !{!6, !7, i64 16}
!14 = !{!6, !7, i64 20}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 28}
!17 = !{!6, !7, i64 32}
!18 = !{!6, !7, i64 36}
!19 = !{!6, !7, i64 40}
!20 = !{!6, !7, i64 44}
!21 = !{!6, !8, i64 48}
!22 = !{!6, !8, i64 49}
!23 = !{!6, !7, i64 52}
!24 = !{!6, !7, i64 56}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !7, i64 0}
!29 = !{!"page", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !8, i64 200080, !8, i64 400080, !8, i64 600080}
!30 = !{!29, !7, i64 4}
!31 = !{!29, !7, i64 8}
!32 = !{!29, !7, i64 12}
!33 = !{!29, !7, i64 16}
!34 = !{!29, !7, i64 20}
!35 = !{!29, !7, i64 24}
!36 = !{!29, !7, i64 28}
!37 = !{!29, !7, i64 32}
!38 = !{!29, !7, i64 36}
!39 = !{!29, !7, i64 40}
!40 = !{!29, !7, i64 44}
!41 = !{!8, !8, i64 0}
!42 = distinct !{!42, !27}
!43 = !{!44, !7, i64 0}
!44 = !{!"cout", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !8, i64 16}
!45 = !{!44, !7, i64 4}
!46 = !{!44, !7, i64 8}
!47 = !{!44, !7, i64 12}
!48 = distinct !{!48, !27}
!49 = !{!50, !50, i64 0}
!50 = !{!"any pointer", !8, i64 0}
!51 = distinct !{!51, !27}
!52 = !{!53, !7, i64 3200}
!53 = !{!"macros", !8, i64 0, !7, i64 3200, !50, i64 3208, !8, i64 3216, !50, i64 83216, !8, i64 83224}
!54 = !{!53, !50, i64 3208}
!55 = !{!53, !50, i64 83216}


; 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.docctl = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i32, i32, i32, [26 x i32] }
%struct.page = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [2 x i32], [2 x i32], [2 x i32], [2 x i32], [200000 x i8], [200000 x i8], [200000 x i8], [200000 x i8] }
%struct.cout = type { i32, i32, i32, i32, [200000 x i8] }
%struct.macros = type { [400 x ptr], i32, ptr, [80000 x i8], ptr, [200000 x i8] }

@dc = external dso_local local_unnamed_addr global %struct.docctl, align 4
@pg = external dso_local local_unnamed_addr global %struct.page, align 4
@co = external dso_local local_unnamed_addr global %struct.cout, align 4
@mac = external dso_local global %struct.macros, align 8

; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @init() local_unnamed_addr #0 {
iter.check:
  store <4 x i32> <i32 1, i32 1, i32 0, i32 79>, ptr @dc, align 4, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) getelementptr inbounds (i8, ptr @dc, i64 16), i8 0, i64 16, i1 false)
  store <4 x i32> <i32 1, i32 0, i32 1, i32 0>, ptr getelementptr inbounds (i8, ptr @dc, i64 32), align 4, !tbaa !5
  store i8 35, ptr getelementptr inbounds (i8, ptr @dc, i64 48), align 4, !tbaa !9
  store i8 46, ptr getelementptr inbounds (i8, ptr @dc, i64 49), align 1, !tbaa !11
  store i32 1, ptr getelementptr inbounds (i8, ptr @dc, i64 52), align 4, !tbaa !12
  store i32 0, ptr getelementptr inbounds (i8, ptr @dc, i64 56), align 4, !tbaa !13
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(104) getelementptr inbounds (i8, ptr @dc, i64 64), i8 0, i64 104, i1 false), !tbaa !5
  store <4 x i32> <i32 0, i32 1, i32 0, i32 66>, ptr @pg, align 4, !tbaa !5
  store <4 x i32> <i32 2, i32 2, i32 2, i32 2>, ptr getelementptr inbounds (i8, ptr @pg, i64 16), align 4, !tbaa !5
  store <4 x i32> <i32 62, i32 0, i32 0, i32 30000>, ptr getelementptr inbounds (i8, ptr @pg, i64 32), align 4, !tbaa !5
  store i8 10, ptr getelementptr inbounds (i8, ptr @pg, i64 200080), align 4, !tbaa !14
  store i8 10, ptr getelementptr inbounds (i8, ptr @pg, i64 80), align 4, !tbaa !14
  store i8 10, ptr getelementptr inbounds (i8, ptr @pg, i64 600080), align 4, !tbaa !14
  store i8 10, ptr getelementptr inbounds (i8, ptr @pg, i64 400080), align 4, !tbaa !14
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(199999) getelementptr inbounds (i8, ptr @pg, i64 81), i8 0, i64 199999, i1 false), !tbaa !14
  br label %vector.body

vector.body:                                      ; preds = %vector.body.1, %iter.check
  %index = phi i64 [ 0, %iter.check ], [ %index.next.1, %vector.body.1 ]
  %offset.idx = or disjoint i64 %index, 1
  %0 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 200080), i64 0, i64 %offset.idx
  %1 = getelementptr inbounds i8, ptr %0, i64 16
  store <16 x i8> zeroinitializer, ptr %0, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %1, align 1, !tbaa !14
  %2 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 600080), i64 0, i64 %offset.idx
  %3 = getelementptr inbounds i8, ptr %2, i64 16
  store <16 x i8> zeroinitializer, ptr %2, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %3, align 1, !tbaa !14
  %4 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 400080), i64 0, i64 %offset.idx
  %5 = getelementptr inbounds i8, ptr %4, i64 16
  store <16 x i8> zeroinitializer, ptr %4, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %5, align 1, !tbaa !14
  %6 = icmp eq i64 %index, 199936
  br i1 %6, label %vec.epilog.vector.body, label %vector.body.1, !llvm.loop !15

vector.body.1:                                    ; preds = %vector.body
  %offset.idx.1 = or disjoint i64 %index, 33
  %7 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 200080), i64 0, i64 %offset.idx.1
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  store <16 x i8> zeroinitializer, ptr %7, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %8, align 1, !tbaa !14
  %9 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 600080), i64 0, i64 %offset.idx.1
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  store <16 x i8> zeroinitializer, ptr %9, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %10, align 1, !tbaa !14
  %11 = getelementptr inbounds [200000 x i8], ptr getelementptr inbounds (i8, ptr @pg, i64 400080), i64 0, i64 %offset.idx.1
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  store <16 x i8> zeroinitializer, ptr %11, align 1, !tbaa !14
  store <16 x i8> zeroinitializer, ptr %12, align 1, !tbaa !14
  %index.next.1 = add nuw nsw i64 %index, 64
  br label %vector.body

vec.epilog.vector.body:                           ; preds = %vector.body
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 400049), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 800049), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 600049), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 400057), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 800057), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 600057), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 400065), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 800065), align 1, !tbaa !14
  store <8 x i8> zeroinitializer, ptr getelementptr inbounds (i8, ptr @pg, i64 600065), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400073), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800073), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600073), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400074), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800074), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600074), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400075), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800075), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600075), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400076), align 4, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800076), align 4, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600076), align 4, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400077), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800077), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600077), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400078), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800078), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600078), align 2, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 400079), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 800079), align 1, !tbaa !14
  store i8 0, ptr getelementptr inbounds (i8, ptr @pg, i64 600079), align 1, !tbaa !14
  store <4 x i32> <i32 0, i32 79, i32 0, i32 79>, ptr getelementptr inbounds (i8, ptr @pg, i64 48), align 4, !tbaa !5
  store <4 x i32> <i32 0, i32 79, i32 0, i32 79>, ptr getelementptr inbounds (i8, ptr @pg, i64 64), align 4, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(200016) @co, i8 0, i64 200016, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(3204) @mac, i8 0, i64 3204, i1 false)
  store ptr getelementptr inbounds (i8, ptr @mac, i64 3216), ptr getelementptr inbounds (i8, ptr @mac, i64 3208), align 8, !tbaa !19
  store ptr null, ptr getelementptr inbounds (i8, ptr @mac, i64 83216), align 8, !tbaa !22
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

attributes #0 = { nofree norecurse nosync nounwind memory(write, argmem: none, inaccessiblemem: none) 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }

!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, !7, i64 48}
!10 = !{!"docctl", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !7, i64 48, !7, i64 49, !6, i64 52, !6, i64 56, !6, i64 60, !7, i64 64}
!11 = !{!10, !7, i64 49}
!12 = !{!10, !6, i64 52}
!13 = !{!10, !6, i64 56}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = !{!20, !21, i64 3208}
!20 = !{!"macros", !7, i64 0, !6, i64 3200, !21, i64 3208, !7, i64 3216, !21, i64 83216, !7, i64 83224}
!21 = !{!"any pointer", !7, i64 0}
!22 = !{!20, !21, i64 83216}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass