; LLVM IR from freakout42/macrocalc :: mc/mex (display)

; 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.TERM = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__va_list_tag = type { i32, i32, ptr, ptr }

@mpresf = external dso_local global i32, align 4
@ttcol = external dso_local global i32, align 4
@term = external global %struct.TERM, align 8
@playback = external global i32, align 4
@.str.5 = external hidden unnamed_addr constant [26 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

; 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 void @movecursor(i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @mlwrite(ptr noundef %0, ...) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca [1 x %struct.__va_list_tag], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %6 = load i32, ptr @playback, align 4, !tbaa !9
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %14

8:                                                ; preds = %1
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.5) #5
  %11 = icmp ne i32 %10, 0
  br i1 %11, label %12, label %13

12:                                               ; preds = %8
  store i32 1, ptr %5, align 4
  br label %120

13:                                               ; preds = %8
  br label %14

14:                                               ; preds = %13, %1
  %15 = load i32, ptr @term, align 8, !tbaa !11
  call void @movecursor(i32 noundef %15, i32 noundef 0)
  %16 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  call void @llvm.va_start.p0(ptr %16)
  br label %17

17:                                               ; preds = %113, %14
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i32 1
  store ptr %19, ptr %2, align 8, !tbaa !5
  %20 = load i8, ptr %18, align 1, !tbaa !13
  %21 = sext i8 %20 to i32
  store i32 %21, ptr %4, align 4, !tbaa !9
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %114

23:                                               ; preds = %17
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = icmp ne i32 %24, 37
  br i1 %25, label %26, label %32

26:                                               ; preds = %23
  %27 = load ptr, ptr getelementptr inbounds (%struct.TERM, ptr @term, i32 0, i32 5), align 8, !tbaa !14
  %28 = load i32, ptr %4, align 4, !tbaa !9
  %29 = call i32 (i32, ...) %27(i32 noundef %28)
  %30 = load i32, ptr @ttcol, align 4, !tbaa !9
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr @ttcol, align 4, !tbaa !9
  br label %113

32:                                               ; preds = %23
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i32 1
  store ptr %34, ptr %2, align 8, !tbaa !5
  %35 = load i8, ptr %33, align 1, !tbaa !13
  %36 = sext i8 %35 to i32
  store i32 %36, ptr %4, align 4, !tbaa !9
  %37 = load i32, ptr %4, align 4, !tbaa !9
  switch i32 %37, label %106 [
    i32 100, label %38
    i32 120, label %55
    i32 68, label %72
    i32 115, label %89
  ]

38:                                               ; preds = %32
  %39 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  %40 = getelementptr inbounds %struct.__va_list_tag, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 16
  %42 = icmp ule i32 %41, 40
  br i1 %42, label %43, label %48

43:                                               ; preds = %38
  %44 = getelementptr inbounds %struct.__va_list_tag, ptr %39, i32 0, i32 3
  %45 = load ptr, ptr %44, align 16
  %46 = getelementptr i8, ptr %45, i32 %41
  %47 = add i32 %41, 8
  store i32 %47, ptr %40, align 16
  br label %52

48:                                               ; preds = %38
  %49 = getelementptr inbounds %struct.__va_list_tag, ptr %39, i32 0, i32 2
  %50 = load ptr, ptr %49, align 8
  %51 = getelementptr i8, ptr %50, i32 8
  store ptr %51, ptr %49, align 8
  br label %52

52:                                               ; preds = %48, %43
  %53 = phi ptr [ %46, %43 ], [ %50, %48 ]
  %54 = load i32, ptr %53, align 4, !tbaa !9
  call void @mlputi(i32 noundef %54, i32 noundef 10)
  br label %112

55:                                               ; preds = %32
  %56 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  %57 = getelementptr inbounds %struct.__va_list_tag, ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 16
  %59 = icmp ule i32 %58, 40
  br i1 %59, label %60, label %65

60:                                               ; preds = %55
  %61 = getelementptr inbounds %struct.__va_list_tag, ptr %56, i32 0, i32 3
  %62 = load ptr, ptr %61, align 16
  %63 = getelementptr i8, ptr %62, i32 %58
  %64 = add i32 %58, 8
  store i32 %64, ptr %57, align 16
  br label %69

65:                                               ; preds = %55
  %66 = getelementptr inbounds %struct.__va_list_tag, ptr %56, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr i8, ptr %67, i32 8
  store ptr %68, ptr %66, align 8
  br label %69

69:                                               ; preds = %65, %60
  %70 = phi ptr [ %63, %60 ], [ %67, %65 ]
  %71 = load i32, ptr %70, align 4, !tbaa !9
  call void @mlputi(i32 noundef %71, i32 noundef 16)
  br label %112

72:                                               ; preds = %32
  %73 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  %74 = getelementptr inbounds %struct.__va_list_tag, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 16
  %76 = icmp ule i32 %75, 40
  br i1 %76, label %77, label %82

77:                                               ; preds = %72
  %78 = getelementptr inbounds %struct.__va_list_tag, ptr %73, i32 0, i32 3
  %79 = load ptr, ptr %78, align 16
  %80 = getelementptr i8, ptr %79, i32 %75
  %81 = add i32 %75, 8
  store i32 %81, ptr %74, align 16
  br label %86

82:                                               ; preds = %72
  %83 = getelementptr inbounds %struct.__va_list_tag, ptr %73, i32 0, i32 2
  %84 = load ptr, ptr %83, align 8
  %85 = getelementptr i8, ptr %84, i32 8
  store ptr %85, ptr %83, align 8
  br label %86

86:                                               ; preds = %82, %77
  %87 = phi ptr [ %80, %77 ], [ %84, %82 ]
  %88 = load i64, ptr %87, align 8, !tbaa !15
  call void @mlputli(i64 noundef %88, i32 noundef 10)
  br label %112

89:                                               ; preds = %32
  %90 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  %91 = getelementptr inbounds %struct.__va_list_tag, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 16
  %93 = icmp ule i32 %92, 40
  br i1 %93, label %94, label %99

94:                                               ; preds = %89
  %95 = getelementptr inbounds %struct.__va_list_tag, ptr %90, i32 0, i32 3
  %96 = load ptr, ptr %95, align 16
  %97 = getelementptr i8, ptr %96, i32 %92
  %98 = add i32 %92, 8
  store i32 %98, ptr %91, align 16
  br label %103

99:                                               ; preds = %89
  %100 = getelementptr inbounds %struct.__va_list_tag, ptr %90, i32 0, i32 2
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr i8, ptr %101, i32 8
  store ptr %102, ptr %100, align 8
  br label %103

103:                                              ; preds = %99, %94
  %104 = phi ptr [ %97, %94 ], [ %101, %99 ]
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  call void @mlputs(ptr noundef %105)
  br label %112

106:                                              ; preds = %32
  %107 = load ptr, ptr getelementptr inbounds (%struct.TERM, ptr @term, i32 0, i32 5), align 8, !tbaa !14
  %108 = load i32, ptr %4, align 4, !tbaa !9
  %109 = call i32 (i32, ...) %107(i32 noundef %108)
  %110 = load i32, ptr @ttcol, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr @ttcol, align 4, !tbaa !9
  br label %112

112:                                              ; preds = %106, %103, %86, %69, %52
  br label %113

113:                                              ; preds = %112, %26
  br label %17, !llvm.loop !17

114:                                              ; preds = %17
  %115 = getelementptr inbounds [1 x %struct.__va_list_tag], ptr %3, i64 0, i64 0
  call void @llvm.va_end.p0(ptr %115)
  %116 = load ptr, ptr getelementptr inbounds (%struct.TERM, ptr @term, i32 0, i32 8), align 8, !tbaa !19
  %117 = call i32 (...) %116()
  %118 = load ptr, ptr getelementptr inbounds (%struct.TERM, ptr @term, i32 0, i32 6), align 8, !tbaa !20
  %119 = call i32 (...) %118()
  store i32 1, ptr @mpresf, align 4, !tbaa !9
  store i32 0, ptr %5, align 4
  br label %120

120:                                              ; preds = %114, %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  %121 = load i32, ptr %5, align 4
  switch i32 %121, label %123 [
    i32 0, label %122
    i32 1, label %122
  ]

122:                                              ; preds = %120, %120
  ret void

123:                                              ; preds = %120
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local void @mlputs(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mlputi(i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @mlputli(i64 noundef, i32 noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.va_start.p0(ptr) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.va_end.p0(ptr) #3

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 = { nounwind willreturn memory(read) "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 }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

!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, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!13 = !{!7, !7, i64 0}
!14 = !{!12, !6, i64 32}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !6, i64 56}
!20 = !{!12, !6, i64 40}


; 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.TERM = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.__va_list_tag = type { i32, i32, ptr, ptr }

@mpresf = external dso_local local_unnamed_addr global i32, align 4
@ttcol = external dso_local local_unnamed_addr global i32, align 4
@term = external local_unnamed_addr global %struct.TERM, align 8
@playback = external local_unnamed_addr global i32, align 4
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1

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

; Function Attrs: mustprogress 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 void @movecursor(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @mlwrite(ptr nocapture noundef readonly %0, ...) local_unnamed_addr #1 {
  %2 = alloca [1 x %struct.__va_list_tag], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #4
  %3 = load i32, ptr @playback, align 4, !tbaa !5
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %5, label %7

5:                                                ; preds = %1
  %6 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.5) #5
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %7, label %90

7:                                                ; preds = %5, %1
  %8 = load i32, ptr @term, align 8, !tbaa !9
  tail call void @movecursor(i32 noundef %8, i32 noundef 0)
  call void @llvm.va_start.p0(ptr nonnull %2)
  %9 = getelementptr inbounds i8, ptr %2, i64 8
  %10 = getelementptr inbounds i8, ptr %2, i64 16
  br label %11

11:                                               ; preds = %.backedge, %7
  %.0 = phi ptr [ %0, %7 ], [ %.0.be, %.backedge ]
  %12 = getelementptr inbounds i8, ptr %.0, i64 1
  %13 = load i8, ptr %.0, align 1, !tbaa !12
  switch i8 %13, label %14 [
    i8 0, label %85
    i8 37, label %20
  ]

14:                                               ; preds = %11
  %15 = sext i8 %13 to i32
  %16 = load ptr, ptr getelementptr inbounds (i8, ptr @term, i64 32), align 8, !tbaa !13
  %17 = call i32 (i32, ...) %16(i32 noundef %15) #4
  %18 = load i32, ptr @ttcol, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr @ttcol, align 4, !tbaa !5
  br label %.backedge

20:                                               ; preds = %11
  %21 = getelementptr inbounds i8, ptr %.0, i64 2
  %22 = load i8, ptr %12, align 1, !tbaa !12
  switch i8 %22, label %79 [
    i8 100, label %23
    i8 120, label %37
    i8 68, label %51
    i8 115, label %65
  ]

23:                                               ; preds = %20
  %24 = load i32, ptr %2, align 16
  %25 = icmp ult i32 %24, 41
  br i1 %25, label %26, label %31

26:                                               ; preds = %23
  %27 = load ptr, ptr %10, align 16
  %28 = zext nneg i32 %24 to i64
  %29 = getelementptr i8, ptr %27, i64 %28
  %30 = add nuw nsw i32 %24, 8
  store i32 %30, ptr %2, align 16
  br label %34

31:                                               ; preds = %23
  %32 = load ptr, ptr %9, align 8
  %33 = getelementptr i8, ptr %32, i64 8
  store ptr %33, ptr %9, align 8
  br label %34

34:                                               ; preds = %31, %26
  %35 = phi ptr [ %29, %26 ], [ %32, %31 ]
  %36 = load i32, ptr %35, align 4, !tbaa !5
  call void @mlputi(i32 noundef %36, i32 noundef 10)
  br label %.backedge

.backedge:                                        ; preds = %34, %48, %62, %76, %79, %14
  %.0.be = phi ptr [ %12, %14 ], [ %21, %79 ], [ %21, %76 ], [ %21, %62 ], [ %21, %48 ], [ %21, %34 ]
  br label %11, !llvm.loop !14

37:                                               ; preds = %20
  %38 = load i32, ptr %2, align 16
  %39 = icmp ult i32 %38, 41
  br i1 %39, label %40, label %45

40:                                               ; preds = %37
  %41 = load ptr, ptr %10, align 16
  %42 = zext nneg i32 %38 to i64
  %43 = getelementptr i8, ptr %41, i64 %42
  %44 = add nuw nsw i32 %38, 8
  store i32 %44, ptr %2, align 16
  br label %48

45:                                               ; preds = %37
  %46 = load ptr, ptr %9, align 8
  %47 = getelementptr i8, ptr %46, i64 8
  store ptr %47, ptr %9, align 8
  br label %48

48:                                               ; preds = %45, %40
  %49 = phi ptr [ %43, %40 ], [ %46, %45 ]
  %50 = load i32, ptr %49, align 4, !tbaa !5
  call void @mlputi(i32 noundef %50, i32 noundef 16)
  br label %.backedge

51:                                               ; preds = %20
  %52 = load i32, ptr %2, align 16
  %53 = icmp ult i32 %52, 41
  br i1 %53, label %54, label %59

54:                                               ; preds = %51
  %55 = load ptr, ptr %10, align 16
  %56 = zext nneg i32 %52 to i64
  %57 = getelementptr i8, ptr %55, i64 %56
  %58 = add nuw nsw i32 %52, 8
  store i32 %58, ptr %2, align 16
  br label %62

59:                                               ; preds = %51
  %60 = load ptr, ptr %9, align 8
  %61 = getelementptr i8, ptr %60, i64 8
  store ptr %61, ptr %9, align 8
  br label %62

62:                                               ; preds = %59, %54
  %63 = phi ptr [ %57, %54 ], [ %60, %59 ]
  %64 = load i64, ptr %63, align 8, !tbaa !16
  call void @mlputli(i64 noundef %64, i32 noundef 10)
  br label %.backedge

65:                                               ; preds = %20
  %66 = load i32, ptr %2, align 16
  %67 = icmp ult i32 %66, 41
  br i1 %67, label %68, label %73

68:                                               ; preds = %65
  %69 = load ptr, ptr %10, align 16
  %70 = zext nneg i32 %66 to i64
  %71 = getelementptr i8, ptr %69, i64 %70
  %72 = add nuw nsw i32 %66, 8
  store i32 %72, ptr %2, align 16
  br label %76

73:                                               ; preds = %65
  %74 = load ptr, ptr %9, align 8
  %75 = getelementptr i8, ptr %74, i64 8
  store ptr %75, ptr %9, align 8
  br label %76

76:                                               ; preds = %73, %68
  %77 = phi ptr [ %71, %68 ], [ %74, %73 ]
  %78 = load ptr, ptr %77, align 8, !tbaa !18
  call void @mlputs(ptr noundef %78)
  br label %.backedge

79:                                               ; preds = %20
  %80 = sext i8 %22 to i32
  %81 = load ptr, ptr getelementptr inbounds (i8, ptr @term, i64 32), align 8, !tbaa !13
  %82 = call i32 (i32, ...) %81(i32 noundef %80) #4
  %83 = load i32, ptr @ttcol, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr @ttcol, align 4, !tbaa !5
  br label %.backedge

85:                                               ; preds = %11
  call void @llvm.va_end.p0(ptr nonnull %2)
  %86 = load ptr, ptr getelementptr inbounds (i8, ptr @term, i64 56), align 8, !tbaa !19
  %87 = call i32 (...) %86() #4
  %88 = load ptr, ptr getelementptr inbounds (i8, ptr @term, i64 40), align 8, !tbaa !20
  %89 = call i32 (...) %88() #4
  store i32 1, ptr @mpresf, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %5, %85
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #4
  ret void
}

; Function Attrs: nounwind uwtable
declare dso_local void @mlputs(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @mlputi(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @mlputli(i64 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.va_start.p0(ptr) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.va_end.p0(ptr) #3

attributes #0 = { mustprogress 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 }
attributes #4 = { nounwind }
attributes #5 = { nounwind willreturn memory(read) }

!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, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!10, !11, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !11, i64 56}
!20 = !{!10, !11, i64 40}


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